seemps.analysis.cross.cross_interpolation#
- seemps.analysis.cross.cross_interpolation(black_box: BlackBox, cross_strategy: CrossStrategy, initial_points: ndarray[tuple[Any, ...], dtype[_ScalarT]] | None = None) CrossResults[source]#
Computes the MPS representation of a black box function using some TCI variant. The TCI variant is dynamically dispatched based on the type of the given CrossStrategy.
- Parameters:
- black_box
BlackBox Black box to approximate as a MPS.
- cross_strategy
CrossStrategy Dataclass containing the parameters of the algorithm.
- initial_points
Optional[Matrix], default=None Coordinates of initial discretization points used to initialize the algorithm. Defaults to the origin.
- black_box
- Returns:
CrossResultsDataclass containing the MPS representation of the black-box function, among other useful information.