darsia.ApproximationSpace#
- class ApproximationSpace[source]#
Bases:
ABCAbstract class for approximation spaces.
Methods
basis(x, i)Evaluation of the basis functions.
Attributes
Dimension of the approximation space.
- basis(x, i)[source]#
Evaluation of the basis functions.
- Parameters:
- x
np.ndarray Coordinates.
- i
int Index of the basis function.
- x
- Returns:
np.ndarrayValue of the basis function.
- property size#
Dimension of the approximation space.