Skip to contents

An R6::R6Class object implementing the SPDMetricBuresWasserstein class. This is the class for the Bures-Wasserstein metric on the SPD manifold (Bhatia et al. 2019; Malagò et al. 2018) .

References

Bhatia R, Jain T, Lim Y (2019). “On the Bures--Wasserstein distance between positive definite matrices.” Expositiones Mathematicae, 37(2), 165--191.

Malagò L, Montrucchio L, Pistone G (2018). “Wasserstein Riemannian geometry of Gaussian densities.” Information Geometry, 1(2), 137--179.

Author

Yann Thanwerdas

Super classes

rgeomstats::PythonClass -> rgeomstats::Connection -> rgeomstats::RiemannianMetric -> SPDMetricBuresWasserstein

Public fields

n

An integer value specifying the shape of the matrices: \(n \times n\).

Methods

Inherited methods


Method new()

The SPDMetricBuresWasserstein class constructor.

Usage

SPDMetricBuresWasserstein$new(n, py_cls = NULL)

Arguments

n

An integer value specifying the shape of the matrices: \(n \times n\).

py_cls

A Python object of class SPDMetricBuresWasserstein. Defaults to NULL in which case it is instantiated on the fly using the other input arguments.

Returns

An object of class SPDMetricBuresWasserstein.


Method clone()

The objects of this class are cloneable with this method.

Usage

SPDMetricBuresWasserstein$clone(deep = FALSE)

Arguments

deep

Whether to make a deep clone.