seemps.analysis.lagrange.mps_lagrange_chebyshev_rr#

seemps.analysis.lagrange.mps_lagrange_chebyshev_rr(func: Callable, domain: TypeAliasForwardRef('~seemps.analysis.mesh.Interval') | TypeAliasForwardRef('~seemps.analysis.mesh.Mesh'), order: int, use_logs: bool = True, mps_order: Literal['A', 'B'] = 'A', strategy: Strategy = DEFAULT_STRATEGY) MPS[source]#

Performs a Lagrange rank-revealing MPS Chebyshev interpolation of a function.

Parameters:
funcCallable

The function to interpolate.

domainInterval | Mesh

The domain where the function is defined.

orderint

The order of the Chebyshev interpolation.

use_logsbool, default=True

Whether to compute the Chebyshev cardinal function using logarithms to avoid overflow.

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 rank-revealing Chebyshev interpolation.