Skip to content

LieGroups.jl provides Lie group objects and their operations.

License

Notifications You must be signed in to change notification settings

yuehhua/LieGroups.jl

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

24 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

LieGroups

Stable Dev Build Status Coverage

LieGroups provides Lie group objects and their operations.

Usage

julia> using LieGroups

julia> θ = 45/180*π
0.7853981633974483

julia> alg = so{2}([θ])
so{2, Vector{Float64}}([0.7853981633974483])

julia> g = exp((alg))
SO{2}(A=[0.7071067811865476 -0.7071067811865475; 0.7071067811865475 0.7071067811865477])

julia> g  [1, 0]
2-element Vector{Float64}:
 0.7071067811865476
 0.7071067811865475

julia> (g * g)  [1, 0]
2-element Vector{Float64}:
 2.220446049250313e-16
 1.0

julia> alg2 = log(g * g)
so{2, Vector{Float64}}([1.5707963267948966])

julia> alg2 == alg + alg
true

About

LieGroups.jl provides Lie group objects and their operations.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages