darsia.ApproximationSpace#

class ApproximationSpace[source]#

Bases: ABC

Abstract class for approximation spaces.

Methods

basis(x, i)

Evaluation of the basis functions.

Attributes

size

Dimension of the approximation space.

basis(x, i)[source]#

Evaluation of the basis functions.

Parameters:
xnp.ndarray

Coordinates.

iint

Index of the basis function.

Returns:
np.ndarray

Value of the basis function.

property size#

Dimension of the approximation space.