Skip to content

Latest commit

 

History

History
36 lines (26 loc) · 994 Bytes

torus.md

File metadata and controls

36 lines (26 loc) · 994 Bytes

Torus

The torus 𝕋^d ≅ [-π,π)^d is modeled as an [AbstractPowerManifold](@extref ManifoldsBase.AbstractPowerManifold) of the (real-valued) Circle and uses ArrayPowerRepresentation. Points on the torus are hence row vectors, x ∈ ℝ^{d}.

Example

The following code can be used to make a three-dimensional torus 𝕋^3 and compute a tangent vector:

using Manifolds
M = Torus(3)
p = [0.5, 0.0, 0.0]
q = [0.0, 0.5, 1.0]
X = log(M, p, q)

Types and functions

Most functions are directly implemented for an [AbstractPowerManifold](@extref ManifoldsBase.AbstractPowerManifold) with ArrayPowerRepresentation except the following special cases:

Modules = [Manifolds]
Pages = ["manifolds/Torus.jl"]
Order = [:type, :function]

Embedded Torus

Two-dimensional torus embedded in ℝ^3.

Modules = [Manifolds]
Pages = ["manifolds/EmbeddedTorus.jl"]
Order = [:type, :function]