seemps.analysis.lagrange.mps_lagrange_chebyshev_basic#
- seemps.analysis.lagrange.mps_lagrange_chebyshev_basic(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 “basic” Lagrange MPS Chebyshev interpolation of a function.
- 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.
- use_logsbool, default=True
Whether to compute the Chebyshev cardinal function using logarithms to avoid overflow.
- 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 naive Chebyshev interpolation.
- mps