HMLP: High-performance Machine Learning Primitives
pvfmm::ChebBasis< ValueType > Class Template Reference
Inheritance diagram for pvfmm::ChebBasis< ValueType >:
pvfmm::BasisInterface< ValueType, ChebBasis< ValueType > >

Static Public Member Functions

static void Nodes1D (Integer order, Vector< ValueType > &nodes)
 
static void EvalBasis1D (Integer order, const Vector< ValueType > &x, Vector< ValueType > &y)
 Returns the values of all Chebyshev polynomials up to degree d, evaluated at points in the input vector. Output format: { T0[x[0]], ..., T0[x[n-1]], T1[x[0]], ..., Td[x[n-1]] }.
 
- Static Public Member Functions inherited from pvfmm::BasisInterface< ValueType, ChebBasis< ValueType > >
static void Nodes (Integer order, Vector< ValueType > &nodes)
 
static void Approx (Integer order, const Vector< ValueType > &fn_v, Vector< ValueType > &coeff)
 Computes approximation from function values at node points. More...
 
static void Approx_ (Integer order, const Vector< ValueType > &fn_v, Vector< ValueType > &coeff, ValueType scale)
 
static void Eval (Integer order, const Vector< ValueType > &coeff, ConstIterator< Vector< ValueType >> in_x, Vector< ValueType > &out)
 Evaluates values from input coefficients at points on a regular grid defined by in_x, in_y, in_z the values in the input vector. More...
 
static ValueType TruncErr (Integer order, const Vector< ValueType > &coeff)
 Returns the sum of the absolute value of coefficients of the highest order terms as an estimate of truncation error. More...
 
static void Grad (Integer order, const Vector< ValueType > &coeff_in, Vector< ValueType > *coeff_out)
 Compute gradient. More...
 
static void Integ (Matrix< ValueType > &Mcoeff, Integer order, ConstIterator< ValueType > trg_, ValueType side, Integer src_face, const KernelFunction< ValueType, DIM > &ker, ValueType tol=-1, Integer Nq=0)
 
static void tensor2coeff (Integer order, const Vector< ValueType > &tensor, Vector< ValueType > &coeff)
 
static void coeff2tensor (Integer order, const Vector< ValueType > &coeff, Vector< ValueType > &tensor)
 
static void Truncate (Vector< ValueType > &coeff0, Integer order0, Integer order1)
 
static void Reflect (Vector< ValueType > &coeff, Integer order, Integer dir)
 
static void MakeContinuous (Vector< ValueType > &coeff0, Vector< ValueType > &coeff1, Integer order, Integer dir0, Integer dir1)
 
static void MakeContinuousEdge (Vector< ValueType > &coeff0, Vector< ValueType > &coeff1, Integer order, Integer dir0, Integer dir1, Integer norm0, Integer norm1)
 
static void cheb_nodes_1d (Integer order, Vector< ValueType > &nodes)
 
static void cheb_basis_1d (Integer order, const Vector< ValueType > &x, Vector< ValueType > &y)
 
static void quad_rule (Integer order, Vector< ValueType > &x, Vector< ValueType > &w)
 
static ValueType machine_eps ()
 
static void Integ_ (Matrix< ValueType > &Mcoeff, Integer order, ConstIterator< ValueType > trg_, ValueType side, Integer src_face, const KernelFunction< ValueType, DIM > &ker, Integer Nq=0)
 
static void diff_1d (Integer order, Matrix< ValueType > *M)
 

Public Attributes

friend BasisInterface< ValueType, ChebBasis< ValueType > >
 
- Public Attributes inherited from pvfmm::BasisInterface< ValueType, ChebBasis< ValueType > >
friend Derived
 

The documentation for this class was generated from the following file: