VectorSpace | R Documentation |
Abstract class for vector spaces.
rgeomstats::PythonClass
-> rgeomstats::Manifold
-> VectorSpace
basis
Basis of the vector space.
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()
new()
The VectorSpace
class constructor.
VectorSpace$new(shape, ..., py_cls = NULL)
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 to NULL
in which case it is instantiated on the fly using the other input
arguments.
An object of class VectorSpace
.
projection()
Project a point onto the vector space.
VectorSpace$projection(point)
point
A numeric array of shape dim
specifying a vector in the
ambient space onto the manifold.
This method is for compatibility and returns point
. point
should have the right shape.
A numeric array of shape dim
storing the input vector
projected onto the manifold.
clone()
The objects of this class are cloneable with this method.
VectorSpace$clone(deep = FALSE)
deep
Whether to make a deep clone.
Nicolas Guigui and Nina Miolane
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.