Skip to contents

An R6::R6Class object implementing the SPDMetricAffine class. This is the class for the affine-invariant metric on the SPD manifold (Thanwerdas and Pennec 2019) .

References

Thanwerdas Y, Pennec X (2019). “Is affine-invariance well defined on SPD matrices? A principled continuum of metrics.” In International Conference on Geometric Science of Information, 502--510. Springer.

Author

Yann Thanwerdas

Super classes

rgeomstats::PythonClass -> rgeomstats::Connection -> rgeomstats::RiemannianMetric -> SPDMetricAffine

Public fields

n

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

power_affine

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

Methods

Inherited methods


Method new()

The SPDMetricAffine class constructor.

Usage

SPDMetricAffine$new(n, power_affine = 1, py_cls = NULL)

Arguments

n

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

power_affine

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

py_cls

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

Returns

An object of class SPDMetricAffine.


Method clone()

The objects of this class are cloneable with this method.

Usage

SPDMetricAffine$clone(deep = FALSE)

Arguments

deep

Whether to make a deep clone.