humoto
|
This namespace contains various functions operating on Eigen matrices and vectors.
Classes | |
class | BlockKroneckerProductBase |
Represents block kronecker product "Identity(size) [X] Matrix". More... | |
class | BlockKroneckerProductBase< t_MatrixType, 1, 1, MatrixSparsityType::LEFT_LOWER_TRIANGULAR > |
Represents block kronecker product "Identity(size) [X] Matrix", without computing it explicitly. More... | |
class | BlockKroneckerProductBase< t_MatrixType, 1, 1, t_sparsity_type > |
Represents block kronecker product "Identity(size) [X] Matrix", without computing it explicitly. More... | |
class | BlockKroneckerProductBase< t_MatrixType, t_block_rows_num, t_block_cols_num, MatrixSparsityType::LEFT_LOWER_TRIANGULAR > |
Represents block kronecker product "Identity(size) [X] Matrix", without computing it explicitly. More... | |
class | BlockMatrix |
Block matrix, the raw matrix is stored inside (not a reference). More... | |
class | BlockMatrixAccessBase |
Block matrix basic functions. More... | |
class | BlockMatrixBase |
Base class of a block matrix. More... | |
class | BlockMatrixBase< t_MatrixType, 1, 1, MatrixSparsityType::LEFT_LOWER_TRIANGULAR > |
Base class of a block matrix. More... | |
class | BlockMatrixBase< t_MatrixType, t_block_rows_num, t_block_cols_num, MatrixSparsityType::DIAGONAL > |
Base class of a block matrix. More... | |
class | BlockMatrixBase< t_MatrixType, t_block_rows_num, t_block_cols_num, MatrixSparsityType::LEFT_LOWER_TRIANGULAR > |
Base class of a block matrix. More... | |
class | BlockMatrixInterface |
Provides block interface for arbitrary Matrix without copying it. More... | |
class | BlockMatrixMap |
Blocked access to an Eigen::Map. Quick hack – use with care. More... | |
class | BlockMatrixSizeSpecificBase |
Extra layer for handling of specific sizes of blocks using partial template specialization. More... | |
class | BlockMatrixSizeSpecificBase< t_MatrixType, 1, 1 > |
Extra layer for handling of specific sizes of blocks using partial template specialization. More... | |
class | BlockMatrixSizeSpecificBase< t_MatrixType, MatrixBlockSizeType::DYNAMIC, MatrixBlockSizeType::DYNAMIC > |
Extra layer for handling of specific sizes of blocks using partial template specialization. More... | |
class | BlockMatrixSizeSpecificBase< t_MatrixType, MatrixBlockSizeType::DYNAMIC, t_block_cols_num > |
Extra layer for handling of specific sizes of blocks using partial template specialization. More... | |
class | BlockMatrixSizeSpecificBase< t_MatrixType, t_block_rows_num, MatrixBlockSizeType::DYNAMIC > |
Extra layer for handling of specific sizes of blocks using partial template specialization. More... | |
class | ConstBlockMatrixInterface |
Provides block interface for arbitrary Matrix without copying it. More... | |
class | CrossProductMatrix |
Skew-symmetric cross product matrix. More... | |
class | DiagonalBlockKroneckerProduct |
A shorthand class for a specific sparsity type. More... | |
class | DiagonalBlockMatrix |
A shorthand class for a specific sparsity type. More... | |
class | GenericBlockKroneckerProduct |
A shorthand class for a specific sparsity type. More... | |
class | GenericBlockMatrix |
A shorthand class for a specific sparsity type. More... | |
class | LeftLowerTriangularBlockKroneckerProduct |
A shorthand class for a specific sparsity type. More... | |
class | LeftLowerTriangularBlockMatrix |
A shorthand class for a specific sparsity type. More... | |
class | MatrixBlockSizeType |
Matrix block size type. More... | |
class | MatrixSparsityType |
Sparsity type of a matrix. More... | |
class | SelectionMatrix |
Selection matrix. More... | |
struct | TypeDecayed |
Type modifier (drop reference and 'const') More... | |
struct | TypeWithoutConst |
Type modifier (drop reference 'const') More... | |
struct | TypeWithoutConst< const T > |
Type modifier (drop 'const') More... | |
struct | TypeWithoutReference |
Type modifier (drop reference &) More... | |
struct | TypeWithoutReference< T & > |
Type modifier (drop reference &) More... | |
Functions | |
template<class t_DerivedOutput , class t_DerivedInput > | |
void EIGENTOOLS_VISIBILITY_ATTRIBUTE | addATA (Eigen::DenseBase< t_DerivedOutput > &result, const Eigen::DenseBase< t_DerivedInput > &A) |
result += A^T * A More... | |
template<class t_DerivedOutput , class t_DerivedInput > | |
void EIGENTOOLS_VISIBILITY_ATTRIBUTE | addATA (Eigen::DenseBase< t_DerivedOutput > &result, const Eigen::DenseBase< t_DerivedInput > &A, const std::ptrdiff_t offset) |
result.diagonalBlock() += A^T * A More... | |
template<class t_DerivedOutput , class t_DerivedInput1 , class t_DerivedInput2 > | |
void EIGENTOOLS_VISIBILITY_ATTRIBUTE | concatenateMatricesHorizontally (Eigen::PlainObjectBase< t_DerivedOutput > &result, const Eigen::DenseBase< t_DerivedInput1 > &matrix1, const Eigen::DenseBase< t_DerivedInput2 > &matrix2) |
Concatenate matrices horizontally, [A B C ...]. More... | |
template<class t_DerivedOutput , class t_DerivedInput1 , class t_DerivedInput2 , class t_DerivedInput3 > | |
void EIGENTOOLS_VISIBILITY_ATTRIBUTE | concatenateMatricesHorizontally (Eigen::PlainObjectBase< t_DerivedOutput > &result, const Eigen::DenseBase< t_DerivedInput1 > &matrix1, const Eigen::DenseBase< t_DerivedInput2 > &matrix2, const Eigen::DenseBase< t_DerivedInput3 > &matrix3) |
Concatenate matrices horizontally, [A B C ...]. More... | |
template<class t_DerivedOutput , typename t_Scalar , int t_rows, int t_cols, int t_flags> | |
void EIGENTOOLS_VISIBILITY_ATTRIBUTE | concatenateMatricesVertically (Eigen::PlainObjectBase< t_DerivedOutput > &result, const std::vector< Eigen::Matrix< t_Scalar, t_rows, t_cols, t_flags > > &matrices) |
Concatenate matrices vertically, [A;B;C; ...]. More... | |
template<class t_Derived > | |
void EIGENTOOLS_VISIBILITY_ATTRIBUTE | convertLLTtoSymmetric (Eigen::PlainObjectBase< t_Derived > &matrix) |
Converts left lower triangular matrix to a symmetric matrix. More... | |
typedef | EIGENTOOLS_CONSTANT_SIZE_VECTOR (2) Vector2 |
typedef | EIGENTOOLS_CONSTANT_SIZE_VECTOR (3) Vector3 |
typedef | EIGENTOOLS_CONSTANT_SIZE_VECTOR (4) Vector4 |
typedef | EIGENTOOLS_CONSTANT_SIZE_VECTOR (5) Vector5 |
typedef | EIGENTOOLS_CONSTANT_SIZE_VECTOR (6) Vector6 |
typedef | EIGENTOOLS_CONSTANT_SIZE_VECTOR (7) Vector7 |
typedef | EIGENTOOLS_CONSTANT_SIZE_VECTOR (8) Vector8 |
typedef | EIGENTOOLS_CONSTANT_SIZE_VECTOR (9) Vector9 |
typedef | EIGENTOOLS_CONSTANT_SIZE_VECTOR (10) Vector10 |
template<class t_DerivedOutput , class t_DerivedInput > | |
void EIGENTOOLS_VISIBILITY_ATTRIBUTE | getATA (Eigen::PlainObjectBase< t_DerivedOutput > &result, const Eigen::DenseBase< t_DerivedInput > &A) |
result = A^T * A More... | |
template<class t_DerivedOutput , class t_DerivedInput > | |
void EIGENTOOLS_VISIBILITY_ATTRIBUTE | getATA (Eigen::PlainObjectBase< t_DerivedOutput > &result, const Eigen::DenseBase< t_DerivedInput > &A, const std::ptrdiff_t offset, const std::ptrdiff_t num_el) |
result.diagonalBlock() = A^T * A More... | |
template<typename t_Scalar , int t_rows, int t_cols, int t_flags> | |
Eigen::Matrix< t_Scalar, Eigen::Dynamic, Eigen::Dynamic > EIGENTOOLS_VISIBILITY_ATTRIBUTE | makeBlockDiagonal (const std::vector< Eigen::Matrix< t_Scalar, t_rows, t_cols, t_flags > > &input_matrices) |
Create a diagonal matrix consisting of the input matrices. More... | |
template<class t_DerivedInput > | |
Eigen::Matrix< typename Eigen::DenseBase< t_DerivedInput >::Scalar, Eigen::Dynamic, Eigen::Dynamic > EIGENTOOLS_VISIBILITY_ATTRIBUTE | makeBlockDiagonal (const Eigen::DenseBase< t_DerivedInput > &input_matrix, const std::ptrdiff_t num_copies) |
Create a diagonal matrix replicating the input matrix. More... | |
template<class t_Derived > | |
Eigen::Matrix< typename Eigen::DenseBase< t_Derived >::Scalar, Eigen::Dynamic, Eigen::Dynamic > EIGENTOOLS_VISIBILITY_ATTRIBUTE | multiplyBlockKroneckerIdentity (const Eigen::DenseBase< t_Derived > &input, const std::size_t input_block_rows, const std::size_t input_block_cols, const std::size_t identity_size) |
Custom Kronecker product: blocks of the input matrix are treated as single elements. More... | |
template<class t_Derived > | |
Eigen::Matrix< etools::DefaultScalar, Eigen::DenseBase< t_Derived >::RowsAtCompileTime, 3 > EIGENTOOLS_VISIBILITY_ATTRIBUTE | operator* (const Eigen::MatrixBase< t_Derived > &left, const CrossProductMatrix &right) |
Multiplication operator. More... | |
template<class t_Derived > | |
Eigen::Matrix< etools::DefaultScalar, 3, Eigen::DenseBase< t_Derived >::ColsAtCompileTime > EIGENTOOLS_VISIBILITY_ATTRIBUTE | operator* (const CrossProductMatrix &left, const Eigen::MatrixBase< t_Derived > &right) |
Multiplication operator. More... | |
template<class t_Derived > | |
Eigen::Map< const Eigen::Matrix< typename Eigen::PlainObjectBase< t_Derived >::Scalar, Eigen::Dynamic, Eigen::Dynamic >, Eigen::Unaligned, Eigen::Stride< Eigen::Dynamic, Eigen::Dynamic > > EIGENTOOLS_VISIBILITY_ATTRIBUTE | operator* (const SelectionMatrix &selector, const Eigen::PlainObjectBase< t_Derived > &matrix) |
Multiply selection matrix by a generic Eigen matrix (select rows) More... | |
template<class t_MatrixType , int t_block_rows_num, int t_block_cols_num, MatrixSparsityType::Type t_sparsity_type, typename t_Scalar , int t_vector_size, int t_vector_options> | |
EIGENTOOLS_VISIBILITY_ATTRIBUTE | operator* (const BlockKroneckerProductBase< t_MatrixType, t_block_rows_num, t_block_cols_num, t_sparsity_type > &bm, const Eigen::Matrix< t_Scalar, t_vector_size, 1, t_vector_options > &vector) |
BlockKroneckerProduct * Vector. More... | |
template<typename t_left_MatrixType , int t_left_block_rows_num, int t_left_block_cols_num, MatrixSparsityType::Type t_left_sparsity_type, typename t_right_MatrixType , int t_right_block_rows_num, int t_right_block_cols_num, MatrixSparsityType::Type t_right_sparsity_type> | |
EIGENTOOLS_VISIBILITY_ATTRIBUTE | operator* (const BlockKroneckerProductBase< t_left_MatrixType, t_left_block_rows_num, t_left_block_cols_num, t_left_sparsity_type > &left, const BlockMatrixBase< t_right_MatrixType, t_right_block_rows_num, t_right_block_cols_num, t_right_sparsity_type > &right) |
BlockKroneckerProduct * BlockMatrix. More... | |
template<typename t_left_MatrixType , int t_left_block_rows_num, int t_left_block_cols_num, MatrixSparsityType::Type t_left_sparsity_type, typename t_right_MatrixType , int t_right_block_rows_num, int t_right_block_cols_num, MatrixSparsityType::Type t_right_sparsity_type> | |
EIGENTOOLS_VISIBILITY_ATTRIBUTE | operator* (const BlockMatrixBase< t_left_MatrixType, t_left_block_rows_num, t_left_block_cols_num, t_left_sparsity_type > &left, const BlockKroneckerProductBase< t_right_MatrixType, t_right_block_rows_num, t_right_block_cols_num, t_right_sparsity_type > &right) |
BlockKroneckerProduct * BlockMatrix. More... | |
template<typename t_MatrixType , int t_block_rows_num, int t_block_cols_num, MatrixSparsityType::Type t_sparsity_type, class t_Derived > | |
EIGENTOOLS_VISIBILITY_ATTRIBUTE | operator* (const BlockMatrixBase< t_MatrixType, t_block_rows_num, t_block_cols_num, t_sparsity_type > &bm, const Eigen::MatrixBase< t_Derived > &matrix) |
'BlockMatrixBase * Eigen::Matrix' operator More... | |
template<class t_Derived , typename t_MatrixType , int t_block_rows_num, int t_block_cols_num, MatrixSparsityType::Type t_sparsity_type, int t_rows_in, int t_cols_in> | |
EIGENTOOLS_VISIBILITY_ATTRIBUTE | operator* (const Eigen::MatrixBase< t_Derived > &eigen_matrix, const BlockMatrixBase< t_MatrixType, t_block_rows_num, t_block_cols_num, t_sparsity_type > &bm) |
Computes 'Eigen::Matrix * BlockMatrixBase'. More... | |
template<typename t_left_MatrixType , int t_left_block_rows_num, int t_left_block_cols_num, MatrixSparsityType::Type t_left_sparsity_type, typename t_right_MatrixType , int t_right_block_cols_num> | |
EIGENTOOLS_VISIBILITY_ATTRIBUTE | operator* (const BlockMatrixBase< t_left_MatrixType, t_left_block_rows_num, t_left_block_cols_num, t_left_sparsity_type > &left, const BlockMatrixBase< t_right_MatrixType, t_left_block_cols_num, t_right_block_cols_num, MatrixSparsityType::DIAGONAL > &right) |
BlockMatrix * BlockMatrix (left * right) More... | |
template<typename t_left_MatrixType , int t_left_block_rows_num, int t_left_block_cols_num, MatrixSparsityType::Type t_left_sparsity_type, typename t_right_MatrixType , int t_right_block_cols_num, MatrixSparsityType::Type t_right_sparsity_type> | |
EIGENTOOLS_VISIBILITY_ATTRIBUTE | operator* (const BlockMatrixBase< t_left_MatrixType, t_left_block_rows_num, t_left_block_cols_num, t_left_sparsity_type > &left, const BlockMatrixBase< t_right_MatrixType, t_left_block_cols_num, t_right_block_cols_num, t_right_sparsity_type > &right) |
BlockMatrix * BlockMatrix (left * right) More... | |
template<class t_Derived > | |
void EIGENTOOLS_VISIBILITY_ATTRIBUTE | removeColumn (Eigen::PlainObjectBase< t_Derived > &matrix, const std::ptrdiff_t column_to_remove) |
Remove a column with the specified index. More... | |
template<class t_Derived > | |
void EIGENTOOLS_VISIBILITY_ATTRIBUTE | removeRow (Eigen::PlainObjectBase< t_Derived > &matrix, const std::ptrdiff_t row_to_remove) |
Remove a row with the specified index. More... | |
template<class t_Derived > | |
Eigen::Map< const Eigen::Matrix< typename Eigen::PlainObjectBase< t_Derived >::Scalar, Eigen::Dynamic, Eigen::Dynamic >, Eigen::Unaligned, Eigen::Stride< Eigen::Dynamic, Eigen::Dynamic > > EIGENTOOLS_VISIBILITY_ATTRIBUTE | selectRows (const Eigen::PlainObjectBase< t_Derived > &matrix, const std::size_t row_step, const std::size_t first_row=0) |
Select rows from a matrix, in Matlab notation the result is M(first:step:end, :). More... | |
template<class t_DerivedMatrix , class t_DerivedRotation , class t_DerivedTranslation > | |
Eigen::Matrix< typename Eigen::MatrixBase< t_DerivedMatrix >::Scalar, Eigen::MatrixBase< t_DerivedMatrix >::RowsAtCompileTime, Eigen::MatrixBase< t_DerivedMatrix >::ColsAtCompileTime > EIGENTOOLS_VISIBILITY_ATTRIBUTE | transform (const Eigen::MatrixBase< t_DerivedMatrix > &matrix, const Eigen::MatrixBase< t_DerivedRotation > &rotation, const Eigen::MatrixBase< t_DerivedTranslation > &translation) |
Transform the input positions given as a concatenated set of 2d/3d vectors, given M = [v1, v2, ...], returns M_new = [R*v1 + t, R*v2 + t, ...]. More... | |
template<typename t_Derived > | |
void | unsetMatrix (Eigen::DenseBase< t_Derived > &matrix) |
Unset matrix (initialize to NaN) More... | |
typedef Eigen::Matrix<etools::DefaultScalar, Eigen::Dynamic, Eigen::Dynamic> etools::DefaultDynamicMatrix |
Definition at line 42 of file eigentools.h.
typedef double etools::DefaultScalar |
Definition at line 38 of file eigentools.h.
Definition at line 84 of file eigentools.h.
Definition at line 159 of file eigentools.h.
Definition at line 160 of file eigentools.h.
Definition at line 161 of file eigentools.h.
Definition at line 162 of file eigentools.h.
Definition at line 163 of file eigentools.h.
Definition at line 164 of file eigentools.h.
Definition at line 165 of file eigentools.h.
Definition at line 166 of file eigentools.h.
Definition at line 94 of file eigentools.h.
Definition at line 86 of file eigentools.h.
Definition at line 87 of file eigentools.h.
Definition at line 88 of file eigentools.h.
Definition at line 89 of file eigentools.h.
Definition at line 90 of file eigentools.h.
Definition at line 91 of file eigentools.h.
Definition at line 92 of file eigentools.h.
Definition at line 93 of file eigentools.h.
Definition at line 76 of file eigentools.h.
Definition at line 102 of file eigentools.h.
Definition at line 95 of file eigentools.h.
Definition at line 96 of file eigentools.h.
Definition at line 97 of file eigentools.h.
Definition at line 98 of file eigentools.h.
Definition at line 99 of file eigentools.h.
Definition at line 100 of file eigentools.h.
Definition at line 101 of file eigentools.h.
Definition at line 77 of file eigentools.h.
Definition at line 110 of file eigentools.h.
Definition at line 103 of file eigentools.h.
Definition at line 104 of file eigentools.h.
Definition at line 105 of file eigentools.h.
Definition at line 106 of file eigentools.h.
Definition at line 107 of file eigentools.h.
Definition at line 108 of file eigentools.h.
Definition at line 109 of file eigentools.h.
Definition at line 78 of file eigentools.h.
Definition at line 118 of file eigentools.h.
Definition at line 111 of file eigentools.h.
Definition at line 112 of file eigentools.h.
Definition at line 113 of file eigentools.h.
Definition at line 114 of file eigentools.h.
Definition at line 115 of file eigentools.h.
Definition at line 116 of file eigentools.h.
Definition at line 117 of file eigentools.h.
Definition at line 79 of file eigentools.h.
Definition at line 126 of file eigentools.h.
Definition at line 119 of file eigentools.h.
Definition at line 120 of file eigentools.h.
Definition at line 121 of file eigentools.h.
Definition at line 122 of file eigentools.h.
Definition at line 123 of file eigentools.h.
Definition at line 124 of file eigentools.h.
Definition at line 125 of file eigentools.h.
Definition at line 80 of file eigentools.h.
Definition at line 134 of file eigentools.h.
Definition at line 127 of file eigentools.h.
Definition at line 128 of file eigentools.h.
Definition at line 129 of file eigentools.h.
Definition at line 130 of file eigentools.h.
Definition at line 131 of file eigentools.h.
Definition at line 132 of file eigentools.h.
Definition at line 133 of file eigentools.h.
Definition at line 81 of file eigentools.h.
Definition at line 142 of file eigentools.h.
Definition at line 135 of file eigentools.h.
Definition at line 136 of file eigentools.h.
Definition at line 137 of file eigentools.h.
Definition at line 138 of file eigentools.h.
Definition at line 139 of file eigentools.h.
Definition at line 140 of file eigentools.h.
Definition at line 141 of file eigentools.h.
Definition at line 82 of file eigentools.h.
Definition at line 150 of file eigentools.h.
Definition at line 143 of file eigentools.h.
Definition at line 144 of file eigentools.h.
Definition at line 145 of file eigentools.h.
Definition at line 146 of file eigentools.h.
Definition at line 147 of file eigentools.h.
Definition at line 148 of file eigentools.h.
Definition at line 149 of file eigentools.h.
Definition at line 83 of file eigentools.h.
Definition at line 158 of file eigentools.h.
Definition at line 151 of file eigentools.h.
Definition at line 152 of file eigentools.h.
Definition at line 153 of file eigentools.h.
Definition at line 154 of file eigentools.h.
Definition at line 155 of file eigentools.h.
Definition at line 156 of file eigentools.h.
Definition at line 157 of file eigentools.h.
void EIGENTOOLS_VISIBILITY_ATTRIBUTE etools::addATA | ( | Eigen::DenseBase< t_DerivedOutput > & | result, |
const Eigen::DenseBase< t_DerivedInput > & | A | ||
) |
result += A^T * A
t_DerivedOutput | Eigen parameter |
t_DerivedInput | Eigen parameter |
[in,out] | result | |
[in] | A |
Definition at line 262 of file eigentools.h.
void EIGENTOOLS_VISIBILITY_ATTRIBUTE etools::addATA | ( | Eigen::DenseBase< t_DerivedOutput > & | result, |
const Eigen::DenseBase< t_DerivedInput > & | A, | ||
const std::ptrdiff_t | offset | ||
) |
result.diagonalBlock() += A^T * A
t_DerivedOutput | Eigen parameter |
t_DerivedInput | Eigen parameter |
[in,out] | result | |
[in] | A | |
[in] | offset | offset of A in result |
Definition at line 287 of file eigentools.h.
void EIGENTOOLS_VISIBILITY_ATTRIBUTE etools::concatenateMatricesHorizontally | ( | Eigen::PlainObjectBase< t_DerivedOutput > & | result, |
const Eigen::DenseBase< t_DerivedInput1 > & | matrix1, | ||
const Eigen::DenseBase< t_DerivedInput2 > & | matrix2 | ||
) |
Concatenate matrices horizontally, [A B C ...].
t_DerivedOutput | Eigen parameter |
t_DerivedInput1 | Eigen parameter |
t_DerivedInput2 | Eigen parameter |
[out] | result | result of concatenation |
[in] | matrix1 | |
[in] | matrix2 |
Definition at line 536 of file eigentools.h.
void EIGENTOOLS_VISIBILITY_ATTRIBUTE etools::concatenateMatricesHorizontally | ( | Eigen::PlainObjectBase< t_DerivedOutput > & | result, |
const Eigen::DenseBase< t_DerivedInput1 > & | matrix1, | ||
const Eigen::DenseBase< t_DerivedInput2 > & | matrix2, | ||
const Eigen::DenseBase< t_DerivedInput3 > & | matrix3 | ||
) |
Concatenate matrices horizontally, [A B C ...].
t_DerivedOutput | Eigen parameter |
t_DerivedInput1 | Eigen parameter |
t_DerivedInput2 | Eigen parameter |
t_DerivedInput3 | Eigen parameter |
[out] | result | result of concatenation |
[in] | matrix1 | |
[in] | matrix2 | |
[in] | matrix3 |
Definition at line 584 of file eigentools.h.
void EIGENTOOLS_VISIBILITY_ATTRIBUTE etools::concatenateMatricesVertically | ( | Eigen::PlainObjectBase< t_DerivedOutput > & | result, |
const std::vector< Eigen::Matrix< t_Scalar, t_rows, t_cols, t_flags > > & | matrices | ||
) |
Concatenate matrices vertically, [A;B;C; ...].
t_DerivedOutput | Eigen parameter |
t_Scalar | Eigen parameter (input) |
t_rows | Eigen parameter (input) |
t_cols | Eigen parameter (input) |
t_flags | Eigen parameter (input) |
[out] | result | result of concatenation |
[in] | matrices | matrices |
Definition at line 472 of file eigentools.h.
void EIGENTOOLS_VISIBILITY_ATTRIBUTE etools::convertLLTtoSymmetric | ( | Eigen::PlainObjectBase< t_Derived > & | matrix | ) |
Converts left lower triangular matrix to a symmetric matrix.
t_Derived | Eigen parameter |
[in,out] | matrix |
Definition at line 312 of file eigentools.h.
typedef etools::EIGENTOOLS_CONSTANT_SIZE_VECTOR | ( | 2 | ) |
typedef etools::EIGENTOOLS_CONSTANT_SIZE_VECTOR | ( | 3 | ) |
typedef etools::EIGENTOOLS_CONSTANT_SIZE_VECTOR | ( | 4 | ) |
typedef etools::EIGENTOOLS_CONSTANT_SIZE_VECTOR | ( | 5 | ) |
typedef etools::EIGENTOOLS_CONSTANT_SIZE_VECTOR | ( | 6 | ) |
typedef etools::EIGENTOOLS_CONSTANT_SIZE_VECTOR | ( | 7 | ) |
typedef etools::EIGENTOOLS_CONSTANT_SIZE_VECTOR | ( | 8 | ) |
typedef etools::EIGENTOOLS_CONSTANT_SIZE_VECTOR | ( | 9 | ) |
typedef etools::EIGENTOOLS_CONSTANT_SIZE_VECTOR | ( | 10 | ) |
void EIGENTOOLS_VISIBILITY_ATTRIBUTE etools::getATA | ( | Eigen::PlainObjectBase< t_DerivedOutput > & | result, |
const Eigen::DenseBase< t_DerivedInput > & | A | ||
) |
result = A^T * A
t_DerivedOutput | Eigen parameter |
t_DerivedInput | Eigen parameter |
[out] | result | |
[in] | A |
Definition at line 204 of file eigentools.h.
void EIGENTOOLS_VISIBILITY_ATTRIBUTE etools::getATA | ( | Eigen::PlainObjectBase< t_DerivedOutput > & | result, |
const Eigen::DenseBase< t_DerivedInput > & | A, | ||
const std::ptrdiff_t | offset, | ||
const std::ptrdiff_t | num_el | ||
) |
result.diagonalBlock() = A^T * A
t_DerivedOutput | Eigen parameter |
t_DerivedInput | Eigen parameter |
[out] | result | |
[in] | A | |
[in] | offset | offset of A in result |
[in] | num_el | size of result |
Definition at line 231 of file eigentools.h.
Eigen::Matrix< t_Scalar , Eigen::Dynamic, Eigen::Dynamic> EIGENTOOLS_VISIBILITY_ATTRIBUTE etools::makeBlockDiagonal | ( | const std::vector< Eigen::Matrix< t_Scalar, t_rows, t_cols, t_flags > > & | input_matrices | ) |
Create a diagonal matrix consisting of the input matrices.
t_Scalar | Eigen parameter (input) |
t_rows | Eigen parameter (input) |
t_cols | Eigen parameter (input) |
t_flags | Eigen parameter (input) |
[in] | input_matrices | vector of smaller matrices to be placed into a large block diagonal matrix |
Definition at line 368 of file eigentools.h.
Eigen::Matrix< typename Eigen::DenseBase<t_DerivedInput>::Scalar , Eigen::Dynamic, Eigen::Dynamic> EIGENTOOLS_VISIBILITY_ATTRIBUTE etools::makeBlockDiagonal | ( | const Eigen::DenseBase< t_DerivedInput > & | input_matrix, |
const std::ptrdiff_t | num_copies | ||
) |
Create a diagonal matrix replicating the input matrix.
t_DerivedInput | Eigen parameter (input) |
[in] | input_matrix | matrix to be replicated into block diagonal |
[in] | num_copies | determines the output size |
Definition at line 424 of file eigentools.h.
Eigen::Matrix< typename Eigen::DenseBase<t_Derived>::Scalar , Eigen::Dynamic, Eigen::Dynamic> EIGENTOOLS_VISIBILITY_ATTRIBUTE etools::multiplyBlockKroneckerIdentity | ( | const Eigen::DenseBase< t_Derived > & | input, |
const std::size_t | input_block_rows, | ||
const std::size_t | input_block_cols, | ||
const std::size_t | identity_size | ||
) |
Custom Kronecker product: blocks of the input matrix are treated as single elements.
t_Derived | Eigen parameter |
[in] | input | input matrix |
[in] | input_block_rows | rows in a block |
[in] | input_block_cols | cols in a block |
[in] | identity_size | size of the identity matrix used in the product |
Definition at line 703 of file eigentools.h.
Eigen::Matrix< etools::DefaultScalar, Eigen::DenseBase<t_Derived>::RowsAtCompileTime, 3> EIGENTOOLS_VISIBILITY_ATTRIBUTE etools::operator* | ( | const Eigen::MatrixBase< t_Derived > & | left, |
const CrossProductMatrix & | right | ||
) |
Multiplication operator.
t_Derived | Eigen parameter |
[in] | left | |
[in] | right |
Definition at line 114 of file cross_product.h.
Eigen::Matrix< etools::DefaultScalar, 3, Eigen::DenseBase<t_Derived>::ColsAtCompileTime> EIGENTOOLS_VISIBILITY_ATTRIBUTE etools::operator* | ( | const CrossProductMatrix & | left, |
const Eigen::MatrixBase< t_Derived > & | right | ||
) |
Multiplication operator.
t_Derived | Eigen parameter |
[in] | left | |
[in] | right |
Definition at line 141 of file cross_product.h.
|
inline |
Multiply selection matrix by a generic Eigen matrix (select rows)
t_Derived | Eigen parameter |
[in] | selector | |
[in] | matrix |
Definition at line 823 of file eigentools.h.
void EIGENTOOLS_VISIBILITY_ATTRIBUTE etools::removeColumn | ( | Eigen::PlainObjectBase< t_Derived > & | matrix, |
const std::ptrdiff_t | column_to_remove | ||
) |
Remove a column with the specified index.
t_Derived | Eigen parameter |
[in,out] | matrix | matrix |
[in] | column_to_remove | index of a column |
Definition at line 669 of file eigentools.h.
void EIGENTOOLS_VISIBILITY_ATTRIBUTE etools::removeRow | ( | Eigen::PlainObjectBase< t_Derived > & | matrix, |
const std::ptrdiff_t | row_to_remove | ||
) |
Remove a row with the specified index.
t_Derived | Eigen parameter |
[in,out] | matrix | matrix |
[in] | row_to_remove | index of a row |
Definition at line 637 of file eigentools.h.
|
inline |
Select rows from a matrix, in Matlab notation the result is M(first:step:end, :).
t_Derived | Eigen parameter |
[in] | matrix | input matrix |
[in] | row_step | each 'row_step' is selected from the input matrix |
[in] | first_row | starting from 'first_row' |
Definition at line 763 of file eigentools.h.
|
inline |
Transform the input positions given as a concatenated set of 2d/3d vectors, given M = [v1, v2, ...], returns M_new = [R*v1 + t, R*v2 + t, ...].
t_DerivedMatrix | Eigen parameter |
t_DerivedRotation | Eigen parameter |
t_DerivedTranslation | Eigen parameter |
[in] | matrix | matrix containing vectors (M) |
[in] | rotation | rotation matrix (R) |
[in] | translation | translation vector (t) |
Definition at line 341 of file eigentools.h.
void etools::unsetMatrix | ( | Eigen::DenseBase< t_Derived > & | matrix | ) |
Unset matrix (initialize to NaN)
t_Derived | matrix data type |
[in,out] | matrix |
Definition at line 178 of file eigentools.h.