You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
FisherRaoMetric requires the numerical integration of a function. For now, scipy.integrate.quad_vec is used.
Following some design choices made in #1552 (meanwhile this have been developed and a new PR will be opened soon - check it out if already available), we would like to create numerical integrator objects. An initial API is something like this:
tweaking numerical parameters more easily (e.g. currently we only allow control of support)
easily add new numerical integrators (including non scipy based)
handle vectorization (making it transparent for the end users of these objects)
handle array data types conversions: when going to scipy, we can pass any array support by our backends, but we receive back np.array. The end user expects a gs.array (i.e. an array object of the backend being used)
It is important to pass numerical parameters at instantiation level, so later the use of the integrator within the class simplifies to self.numerical_integrator.solver(func_to_integrate).
The text was updated successfully, but these errors were encountered:
FisherRaoMetric
requires the numerical integration of a function. For now,scipy.integrate.quad_vec
is used.Following some design choices made in #1552 (meanwhile this have been developed and a new PR will be opened soon - check it out if already available), we would like to create numerical integrator objects. An initial API is something like this:
This design allows:
support
)np.array
. The end user expects ags.array
(i.e. an array object of the backend being used)It is important to pass numerical parameters at instantiation level, so later the use of the integrator within the class simplifies to
self.numerical_integrator.solver(func_to_integrate)
.The text was updated successfully, but these errors were encountered: