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:
funcCallable

The function to interpolate.

domainInterval | Mesh

The domain where the function is defined.

orderint

The order of the Chebyshev interpolation.

local_orderint

The local order of the Chebyshev interpolation.

mps_orderMPSOrder, default=’A’

The order of the MPS cores, either “A” (serial) or “B” (interleaved).

strategyStrategy, default=DEFAULT_STRATEGY

The MPS simplification strategy.

Returns:
mpsMPS

The MPS corresponding to the local rank-revealing Chebyshev interpolation.