conatus.expert.FourierOps

class conatus.expert.FourierOps(solver)[source]

Bases: object

Translation, generator and reflection on the state of a 1D RealFourier IVP.

translate(X, ell)[source]

τ_ℓ X, i.e. f(x) → f(x + ℓ).

Parameters:
  • X (ndarray)

  • ell (float)

Return type:

ndarray

ddx(X)[source]

∂x X (generator of translations).

Parameters:

X (ndarray)

Return type:

ndarray

reflect(X)[source]

R X, i.e. f(x) → −f(−x) about the left end of the interval.

Parameters:

X (ndarray)

Return type:

ndarray

odd_mask(X_like)[source]

Boolean mask of the dofs of the antisymmetric subspace R X = X (sin components).

Parameters:

X_like (ndarray)

Return type:

ndarray

explain()[source]
Return type:

str