SPDMetricLogEuclidean: Class for the log-Euclidean Metric on the Manifold of...

SPDMetricLogEuclideanR Documentation

Class for the log-Euclidean Metric on the Manifold of Symmetric Positive Definite Matrices

Description

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

Super classes

rgeomstats::PythonClass -> rgeomstats::Connection -> rgeomstats::RiemannianMetric -> SPDMetricLogEuclidean

Public fields

n

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

Methods

Public methods

Inherited methods

Method new()

The SPDMetricLogEuclidean class constructor.

Usage
SPDMetricLogEuclidean$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 SPDMetricLogEuclidean. Defaults to NULL in which case it is instantiated on the fly using the other input arguments.

Returns

An object of class SPDMetricLogEuclidean.

Examples
if (reticulate::py_module_available("geomstats")) {
  mt <- SPDMetricLogEuclidean$new(n = 3)
  mt
}

Method clone()

The objects of this class are cloneable with this method.

Usage
SPDMetricLogEuclidean$clone(deep = FALSE)
Arguments
deep

Whether to make a deep clone.

Author(s)

Yann Thanwerdas

Examples


## ------------------------------------------------
## Method `SPDMetricLogEuclidean$new`
## ------------------------------------------------

if (reticulate::py_module_available("geomstats")) {
  mt <- SPDMetricLogEuclidean$new(n = 3)
  mt
}

rgeomstats documentation built on Nov. 4, 2022, 5:09 p.m.