Math

KitBase.mat_splitFunction
mat_split(m)

Split matrix into row vectors

This function can be used for building physics-informed neural networks.

source
KitBase.lgwtFunction
lgwt(N, a, b)

Gauss Legendre integral for fast spectral method

Arguments

  • N: number of quadrature points,
  • a, b: integral range
source