| SpecialOrthogonalMatrices | R Documentation |
Class for special orthogonal groups in matrix representation.
rgeomstats::PythonClass -> rgeomstats::Manifold -> rgeomstats::MatrixLieGroup -> SpecialOrthogonalMatrices
bi_invariant_metricAn object of class BiInvariantMetric
specifying the metric to equip the manifold with.
rgeomstats::PythonClass$get_python_class()rgeomstats::PythonClass$set_python_class()rgeomstats::Manifold$is_tangent()rgeomstats::Manifold$random_point()rgeomstats::Manifold$random_tangent_vec()rgeomstats::Manifold$regularize()rgeomstats::Manifold$set_metric()rgeomstats::Manifold$to_tangent()rgeomstats::MatrixLieGroup$compose()rgeomstats::MatrixLieGroup$exp()rgeomstats::MatrixLieGroup$get_identity()rgeomstats::MatrixLieGroup$inverse()rgeomstats::MatrixLieGroup$lie_bracket()rgeomstats::MatrixLieGroup$log()rgeomstats::MatrixLieGroup$tangent_translation_map()new()The SpecialOrthogonalMatrices class constructor.
SpecialOrthogonalMatrices$new(n, ..., py_cls = NULL)
nAn integer value specifying the number of rows and columns of the matrices.
...Extra arguments to be passed to parent class constructors. See
MatrixLieAlgebra, LevelSet and Manifold classes.
py_clsA Python object of class SpecialOrthogonalMatrices.
Defaults to NULL in which case it is instantiated on the fly using
the other input arguments.
An object of class SpecialOrthogonalMatrices.
belongs()Evaluates if a point belongs to the manifold.
SpecialOrthogonalMatrices$belongs(point, atol = gs$backend$atol)
pointA numeric array of shape [… \times \{\mathrm{dim}\}] specifying one or more points to be checked.
atolA numeric value specifying the absolute tolerance for
checking. Defaults to gs$backend$atol.
A boolean value or vector storing whether the input points belong to the manifold.
if (reticulate::py_module_available("geomstats")) {
so3 <- SpecialOrthogonal(n = 3)
so3$belongs(diag(1, 3))
}
intrinsic_to_extrinsic_coords()Converts from intrinsic to extrinsic coordinates.
SpecialOrthogonalMatrices$intrinsic_to_extrinsic_coords(point_intrinsic)
point_intrinsicA numeric array of shape [… \times \{ \mathrm{dim} \}] specifying one or more points on the embedded manifold in intrinsic coordinates.
A numeric array of shape [… \times \{ \mathrm{dim_embedding} \}] storing the same points on the embedded manifold in extrinsic coordinates.
extrinsic_to_intrinsic_coords()Converts from extrinsic to intrinsic coordinates.
SpecialOrthogonalMatrices$extrinsic_to_intrinsic_coords(point_extrinsic)
point_extrinsicA numeric array of shape [… \times \{ \mathrm{dim_embedding} \}] specifying one or more points on the embedded manifold in extrinsic coordinates.
A numeric array of shape [… \times \{ \mathrm{dim} \}] storing the same points on the embedded manifold in intrinsic coordinates.
projection()Project a matrix on \mathrm{SO}(n) by minimizing the Frobenius norm.
SpecialOrthogonalMatrices$projection(point)
pointA numeric array of shape [… \times n \times n] specifying one or more matrices.
A numeric array of the same shape storing the projected matrices.
if (reticulate::py_module_available("geomstats")) {
so3 <- SpecialOrthogonal(3)
so3$projection(diag(1, 3))
}
clone()The objects of this class are cloneable with this method.
SpecialOrthogonalMatrices$clone(deep = FALSE)
deepWhether to make a deep clone.
Nicolas Guigui and Nina Miolane
Other special orthogonal classes:
SpecialOrthogonal2Vectors,
SpecialOrthogonal3Vectors,
SpecialOrthogonal()
## ------------------------------------------------
## Method `SpecialOrthogonalMatrices$belongs`
## ------------------------------------------------
if (reticulate::py_module_available("geomstats")) {
so3 <- SpecialOrthogonal(n = 3)
so3$belongs(diag(1, 3))
}
## ------------------------------------------------
## Method `SpecialOrthogonalMatrices$projection`
## ------------------------------------------------
if (reticulate::py_module_available("geomstats")) {
so3 <- SpecialOrthogonal(3)
so3$projection(diag(1, 3))
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.