The special linear group
LieGroups.SpecialLinearGroup โ TypeSpecialLinear{๐ฝ,T}The special linear group $\mathrm{SL}(n,๐ฝ)$ is the group of all invertible matrices with unit determinant in $๐ฝ^{nรn}$ and the MatrixMultiplicationGroupOperation as group operation.
The Lie algebra $\mathfrak sl(n, ๐ฝ) = T_e \mathrm{SL}(n,๐ฝ)$ is the set of all matrices in $๐ฝ^{nรn}$ with trace of zero. By default, tangent vectors $X_p โ T_p \mathrm{SL}(n,๐ฝ)$ for $p โ \mathrm{SL}(n,๐ฝ)$ are represented with their corresponding Lie algebra vector $X_e = p^{-1}X_p โ ๐ฐ๐ฉ(n, ๐ฝ)$.
Constructor
GeneralLinearGroup(n::Int, field=โ; kwargs...)Generate the general linear group group on $๐ฝ^{nรn}$. All keyword arguments in kwargs... are passed on to DeterminantOneMatrices.
ManifoldsBase.hat! โ MethodX = hat(๐ค::LieAlgebra{โ,MatrixMultiplicationGroupOperation,<:SpecialLinearGroup}, c)
hat!(๐ค::LieAlgebra{โ,MatrixMultiplicationGroupOperation,<:SpecialLinearGroup}, X, c)Compute the hat map $(โ
)^{\wedge} : โ^{n^2-1} โ ๐ค$ that turns a vector of coordinates c into a tangent vector in the Lie algebra.
The formula on the Lie algebra $๐ค$ of the SpecialLinearGroup(n) is given by reshaping $c โ โ^{n^2-1}$ into an $n$-by$n$ matrix $X$ with the final entry X[n,n] initialised to zero and then set to the trace of this initial matrix.
This can be computed in-place of X.
ManifoldsBase.hat โ MethodX = hat(๐ค::LieAlgebra{โ,MatrixMultiplicationGroupOperation,<:SpecialLinearGroup}, c)
hat!(๐ค::LieAlgebra{โ,MatrixMultiplicationGroupOperation,<:SpecialLinearGroup}, X, c)Compute the hat map $(โ
)^{\wedge} : โ^{n^2-1} โ ๐ค$ that turns a vector of coordinates c into a tangent vector in the Lie algebra.
The formula on the Lie algebra $๐ค$ of the SpecialLinearGroup(n) is given by reshaping $c โ โ^{n^2-1}$ into an $n$-by$n$ matrix $X$ with the final entry X[n,n] initialised to zero and then set to the trace of this initial matrix.
This can be computed in-place of X.
ManifoldsBase.vee! โ Methodc = vee(๐ค::LieAlgebra{โ,MatrixMultiplicationGroupOperation,<:SpecialLinearGroup}, X)
vee!(๐ค::LieAlgebra{โ,MatrixMultiplicationGroupOperation,<:SpecialLinearGroup}, c, X)Compute the vee map $(โ
)^{\vee}: \mathfrak g โ โ^{n^2-1}$ that maps a tangent vector from the Lie algebra to a vector of coordinates c.
The formula on the Lie algebra $๐ค$ of the SpecialLinearGroup(n) is given by reshaping $X โ โ^{nรn}$ into a vector and omitting the last entry, since that can be reconstructed by considering that $X$ has to be of trace zero.
This can be computed in-place of c.
ManifoldsBase.vee โ Methodc = vee(๐ค::LieAlgebra{โ,MatrixMultiplicationGroupOperation,<:SpecialLinearGroup}, X)
vee!(๐ค::LieAlgebra{โ,MatrixMultiplicationGroupOperation,<:SpecialLinearGroup}, c, X)Compute the vee map $(โ
)^{\vee}: \mathfrak g โ โ^{n^2-1}$ that maps a tangent vector from the Lie algebra to a vector of coordinates c.
The formula on the Lie algebra $๐ค$ of the SpecialLinearGroup(n) is given by reshaping $X โ โ^{nรn}$ into a vector and omitting the last entry, since that can be reconstructed by considering that $X$ has to be of trace zero.
This can be computed in-place of c.