Skip to contents

An R6::R6Class object implementing the SPDMetricAffine class. This is the class for the affine-invariant metric on the SPD manifold thanwerdas2019affinergeomstats.

References

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.