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_boxBlackBox

Black box to approximate as a MPS.

cross_strategyCrossStrategy

Dataclass containing the parameters of the algorithm.

initial_pointsOptional[Matrix], default=None

Coordinates of initial discretization points used to initialize the algorithm. Defaults to the origin.

Returns:
CrossResults

Dataclass containing the MPS representation of the black-box function, among other useful information.