Distributions
The following functions and types provide support for manifold-valued and tangent space-valued distributions:
Manifolds.FVectorDistribution
โ TypeFVectorDistribution{TSpace<:VectorBundleFibers, T}
An abstract distribution for vector bundle fiber-valued distributions (values from a fiber of a vector bundle at point x
from the given manifold). For example used for tangent vector-valued distributions.
Manifolds.FVectorSupport
โ TypeFVectorSupport(space::AbstractManifold, VectorBundleFibers)
Value support for vector bundle fiber-valued distributions (values from a fiber of a vector bundle at a point
from the given manifold). For example used for tangent vector-valued distributions.
Manifolds.FVectorvariate
โ TypeFVectorvariate
Structure that subtypes VariateForm
, indicating that a single sample is a vector from a fiber of a vector bundle.
Manifolds.MPointDistribution
โ TypeMPointDistribution{TM<:AbstractManifold}
An abstract distribution for points on manifold of type TM
.
Manifolds.MPointSupport
โ TypeMPointSupport(M::AbstractManifold)
Value support for manifold-valued distributions (values from given AbstractManifold
M
).
Manifolds.MPointvariate
โ TypeMPointvariate
Structure that subtypes VariateForm
, indicating that a single sample is a point on a manifold.
Distributions.support
โ Methodsupport(d::FVectorDistribution)
Get the object of type FVectorSupport
for the distribution d
.
Manifolds.ProjectedFVectorDistribution
โ TypeProjectedFVectorDistribution(type::VectorBundleFibers, p, d, project!)
Generates a random vector from ambient space of manifold type.manifold
at point p
and projects it to vector space of type type
using function project!
, see project
for documentation. Generated arrays are of type TResult
.
Manifolds.ProjectedPointDistribution
โ TypeProjectedPointDistribution(M::AbstractManifold, d, proj!, p)
Generates a random point in ambient space of M
and projects it to M
using function proj!
. Generated arrays are of type TResult
, which can be specified by providing the p
argument.
Manifolds.normal_tvector_distribution
โ Methodnormal_tvector_distribution(M::Euclidean, p, ฯ)
Normal distribution in ambient space with standard deviation ฯ
projected to tangent space at p
.
Manifolds.projected_distribution
โ Functionprojected_distribution(M::AbstractManifold, d, [p=rand(d)])
Wrap the standard distribution d
into a manifold-valued distribution. Generated points will be of similar type to p
. By default, the type is not changed.