Math

KitBase.mat_split — Function
mat_split(m)

Split matrix into row vectors

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

source
KitBase.lgwt — Function
lgwt(N, a, b)

Gauss Legendre integral for fast spectral method

Arguments

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