Permutation matrix.
More...
#include <PermutationMatrix.h>
List of all members.
Detailed Description
template<int SizeAtCompileTime, int MaxSizeAtCompileTime, typename IndexType>
class PermutationMatrix< SizeAtCompileTime, MaxSizeAtCompileTime, IndexType >
Permutation matrix.
- Parameters:
-
| SizeAtCompileTime | the number of rows/cols, or Dynamic |
| MaxSizeAtCompileTime | the maximum number of rows/cols, or Dynamic. This optional parameter defaults to SizeAtCompileTime. Most of the time, you should not have to specify it. |
| IndexType | the interger type of the indices |
This class represents a permutation matrix, internally stored as a vector of integers.
- See also:
- class PermutationBase, class PermutationWrapper, class DiagonalMatrix
Member Typedef Documentation
template<int SizeAtCompileTime, int MaxSizeAtCompileTime, typename IndexType>
Constructor & Destructor Documentation
template<int SizeAtCompileTime, int MaxSizeAtCompileTime, typename IndexType>
template<int SizeAtCompileTime, int MaxSizeAtCompileTime, typename IndexType>
Constructs an uninitialized permutation matrix of given size.
template<int SizeAtCompileTime, int MaxSizeAtCompileTime, typename IndexType>
template<typename OtherDerived >
template<int SizeAtCompileTime, int MaxSizeAtCompileTime, typename IndexType>
Standard copy constructor. Defined only to prevent a default copy constructor from hiding the other templated constructor
template<int SizeAtCompileTime, int MaxSizeAtCompileTime, typename IndexType>
template<typename Other >
Generic constructor from expression of the indices. The indices array has the meaning that the permutations sends each integer i to indices[i].
- Warning:
- It is your responsibility to check that the indices array that you passes actually describes a permutation, i.e., each value between 0 and n-1 occurs exactly once, where n is the array's size.
template<int SizeAtCompileTime, int MaxSizeAtCompileTime, typename IndexType>
template<typename Other >
template<int SizeAtCompileTime, int MaxSizeAtCompileTime, typename IndexType>
template<typename Other >
template<int SizeAtCompileTime, int MaxSizeAtCompileTime, typename IndexType>
template<typename Lhs , typename Rhs >
Member Function Documentation
template<int SizeAtCompileTime, int MaxSizeAtCompileTime, typename IndexType>
template<int SizeAtCompileTime, int MaxSizeAtCompileTime, typename IndexType>
template<int SizeAtCompileTime, int MaxSizeAtCompileTime, typename IndexType>
template<typename Other >
template<int SizeAtCompileTime, int MaxSizeAtCompileTime, typename IndexType>
This is a special case of the templated operator=. Its purpose is to prevent a default operator= from hiding the templated operator=.
template<int SizeAtCompileTime, int MaxSizeAtCompileTime, typename IndexType>
template<typename Other >
Copies the other permutation into *this
Member Data Documentation
template<int SizeAtCompileTime, int MaxSizeAtCompileTime, typename IndexType>
The documentation for this class was generated from the following file:
- /home/hauberg/Dokumenter/Capture/humim-tracker-0.1/src/ntk/geometry/Eigen/src/Core/PermutationMatrix.h