seemps.analysis.lagrange.mps_lagrange_chebyshev_lrr#
- seemps.analysis.lagrange.mps_lagrange_chebyshev_lrr(func: Callable, domain: TypeAliasForwardRef('~seemps.analysis.mesh.Interval') | TypeAliasForwardRef('~seemps.analysis.mesh.Mesh'), order: int, local_order: int, mps_order: Literal['A', 'B'] = 'A', strategy: Strategy = DEFAULT_STRATEGY) MPS[source]#
Performs a local rank-revealing Lagrange MPS Chebyshev interpolation of a function. The intermediate tensors are now sparse, with a number of non-zero elements that is proportional to local_order, increasing the efficiency of the interpolation.
- Parameters:
- func
Callable The function to interpolate.
- domain
Interval|Mesh The domain where the function is defined.
- order
int The order of the Chebyshev interpolation.
- local_order
int The local order of the Chebyshev interpolation.
- mps_order
MPSOrder, default=’A’ The order of the MPS cores, either “A” (serial) or “B” (interleaved).
- strategy
Strategy, default=DEFAULT_STRATEGY The MPS simplification strategy.
- func
- Returns:
- mps
MPS The MPS corresponding to the local rank-revealing Chebyshev interpolation.
- mps