Skip to contents

An R6::R6Class object implementing the SPDMetricBuresWasserstein class. This is the class for the Bures-Wasserstein metric on the SPD manifold bhatia2019bures,malago2018wassersteinrgeomstats.

References

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.