Function funspace::cheb_dirichlet [−][src]
Expand description
Function space with Dirichlet boundary conditions
$$ \phi_k = T_k - T_{k+2} $$
Example
Transform array to function space.
use funspace::cheb_dirichlet;
use funspace::Transform;
use ndarray::Array1;
let mut cd = cheb_dirichlet::<f64>(10);
let mut y = ndarray::Array::linspace(0., 9., 10);
let yhat: Array1<f64> = cd.forward(&mut y, 0);