Skip to contents

An R6::R6Class object implementing the SPDMetricEuclidean class. This is the class for the Euclidean metric on the SPD manifold.

Author

Yann Thanwerdas

Super classes

rgeomstats::PythonClass -> rgeomstats::Connection -> rgeomstats::RiemannianMetric -> SPDMetricEuclidean

Public fields

n

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

power_euclidean

An integer value specifying the power transformation of the classical SPD metric.

Methods

Inherited methods


Method new()

The SPDMetricEuclidean class constructor.

Usage

SPDMetricEuclidean$new(n, power_euclidean = 1, py_cls = NULL)

Arguments

n

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

power_euclidean

An integer value specifying the power transformation of the classical SPD metric. Defaults to 1L.

py_cls

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

Returns

An object of class SPDMetricEuclidean.


Method clone()

The objects of this class are cloneable with this method.

Usage

SPDMetricEuclidean$clone(deep = FALSE)

Arguments

deep

Whether to make a deep clone.