|
| SL () |
| default constructor, creates identity element More...
|
|
template<int S, typename P , typename B > |
| SL (const Vector< S, P, B > &v) |
| exp constructor, creates element through exponentiation of Lie algebra vector. see SL::exp. More...
|
|
template<int R, int C, typename P , typename A > |
| SL (const Matrix< R, C, P, A > &M) |
| copy constructor from a matrix, coerces matrix to be of determinant = 1 More...
|
|
const Matrix< N, N, Precision > & | get_matrix () const |
| returns the represented matrix More...
|
|
SL | inverse () const |
| returns the inverse using LU More...
|
|
SL | operator* (const SL &rhs) const |
| multiplies to SLs together by multiplying the underlying matrices More...
|
|
SL | operator*= (const SL &rhs) |
| right multiplies this SL with another one More...
|
|
template<int S, typename P , typename B > |
SL< N, Precision > | exp (const Vector< S, P, B > &v) |
|
template<int N, typename Precision = double>
class TooN::SL< N, Precision >
represents an element from the group SL(n), the NxN matrices M with det(M) = 1. This can be used to conveniently estimate homographies on n-1 dimentional spaces. The implementation uses the matrix exponential function exp for exponentiation from an element in the Lie algebra and LU to compute an inverse.
The Lie algebra are the NxN matrices M with trace(M) = 0. The N*N-1 generators used to represent this vector space are the following:
- diag(...,1,-1,...), n-1 along the diagonal
- symmetric generators for every pair of off-diagonal elements
- anti-symmetric generators for every pair of off-diagonal elements This choice represents the fact that SL(n) can be interpreted as the product of all symmetric matrices with det() = 1 times SO(n).
Definition at line 42 of file sl.h.
template<int N, typename Precision = double>
template<int S, typename P , typename B >
exp constructor, creates element through exponentiation of Lie algebra vector. see SL::exp.
Definition at line 70 of file sl.h.
template<int N, typename Precision = double>
template<int R, int C, typename P , typename A >
copy constructor from a matrix, coerces matrix to be of determinant = 1
Definition at line 74 of file sl.h.