Skip to content

JuliaNLSolvers/ManifoldProjections.jl

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Note: this package is not under active development. Check out https://github.com/JuliaManifolds/Manifolds.jl instead.

A Julia library to handle projections on manifolds. This is useful for minimizing functions or solving differential equations defined on manifolds.

Currently, the sphere {x ∈ K^n, ||x|| = r} and the Stiefel manifold {X ∈ K^{n × m}, X'*X = I} as well as independent copies of these manifolds are supported.

Example usage:

using ManifoldProjections

x = randn(4)
M = Sphere() # create sphere with r = 1
retract!(M,x)
@assert norm(x)  1
v = randn(4)
project_tangent!(M,v,x)
@assert abs(v'*x) < 1e-8

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages