Abstract class for vector spaces.
Super classes
rgeomstats::PythonClass
-> rgeomstats::Manifold
-> VectorSpace
Methods
Inherited methods
rgeomstats::PythonClass$get_python_class()
rgeomstats::PythonClass$set_python_class()
rgeomstats::Manifold$belongs()
rgeomstats::Manifold$is_tangent()
rgeomstats::Manifold$random_point()
rgeomstats::Manifold$random_tangent_vec()
rgeomstats::Manifold$regularize()
rgeomstats::Manifold$set_metric()
rgeomstats::Manifold$to_tangent()
Method new()
The VectorSpace
class constructor.
Usage
VectorSpace$new(shape, ..., py_cls = NULL)
Arguments
shape
An integer vector specifying the shape of one element of the manifold. Defaults to
NULL
....
Extra arguments to be passed to parent class constructors. See
Manifold
class.py_cls
A Python object of class
VectorSpace
. Defaults toNULL
in which case it is instantiated on the fly using the other input arguments.
Method projection()
Project a point onto the vector space.