LinearExpansionSurface

A surface with an evaluator built off of an expansion in some user specified basis

 

__init__(self, coefficients, basis=None, dimension=None): 
  • coefficients: np.ndarray

    the expansion coefficients in the basis

  • basis: Iterable[function] | None

    a basis of functions to use (defaults to power series)

 

evaluate(self, points, **kwargs): 

First we just apply the basis to the gridpoints, then we dot this into the coeffs

  • points: Any
  • kwargs: Any
  • :returns: _

Feedback

Examples

Templates

Documentation