seemps.analysis.cross.cross_interpolation#
- seemps.analysis.cross.cross_interpolation(cross_strategy: CrossStrategy, black_box: BlackBox, initial_points: ndarray[tuple[Any, ...], dtype[_ScalarT]] | None = None) CrossResults[source]#
Computes the MPS representation of a black-box function using different the tensor cross-approximation (TCI) algorithm The black-box function can represent several different data structures. See black_box for usage examples.
- Parameters:
- cross_strategy
CrossStrategy A dataclass containing the parameters of the algorithm. See
CrossStrategy.- black_box
BlackBox The black box to approximate as a MPS.
- initial_points
Matrix|None, default=None A collection of initial points used to initialize the algorithm. If None, an initial point at the origin is used.
- cross_strategy
- Returns:
CrossResultsA dataclass containing the MPS representation of the black-box function, among other useful information.