Go to the documentation of this file.
10 #ifndef EIGEN_TRANSPOSITIONS_H
11 #define EIGEN_TRANSPOSITIONS_H
15 template<
typename Derived>
27 Derived&
derived() {
return *
static_cast<Derived*
>(
this); }
29 const Derived&
derived()
const {
return *
static_cast<const Derived*
>(
this); }
32 template<
typename OtherDerived>
116 template<
int SizeAtCompileTime,
int MaxSizeAtCompileTime,
typename _StorageIndex>
118 :
traits<PermutationMatrix<SizeAtCompileTime,MaxSizeAtCompileTime,_StorageIndex> >
154 template<
int SizeAtCompileTime,
int MaxSizeAtCompileTime,
typename _StorageIndex>
167 template<
typename OtherDerived>
172 template<
typename Other>
177 template<
typename OtherDerived>
202 template<
int SizeAtCompileTime,
int MaxSizeAtCompileTime,
typename _StorageIndex,
int _PacketAccess>
204 :
traits<PermutationMatrix<SizeAtCompileTime,MaxSizeAtCompileTime,_StorageIndex> >
212 template<
int SizeAtCompileTime,
int MaxSizeAtCompileTime,
typename _StorageIndex,
int PacketAccess>
214 :
public TranspositionsBase<Map<Transpositions<SizeAtCompileTime,MaxSizeAtCompileTime,_StorageIndex>,PacketAccess> >
224 : m_indices(indicesPtr)
228 : m_indices(indicesPtr,
size)
232 template<
typename OtherDerived>
235 return Base::operator=(
other);
238 #ifndef EIGEN_PARSED_BY_DOXYGEN
244 m_indices =
other.m_indices;
263 template<
typename _IndicesType>
265 :
traits<PermutationWrapper<_IndicesType> >
271 template<
typename _IndicesType>
287 template<
typename OtherDerived>
310 template<
typename MatrixDerived,
typename TranspositionsDerived>
322 template<
typename TranspositionsDerived,
typename MatrixDerived>
336 template<
typename Derived>
343 template<
typename TranspositionsDerived>
361 template<
typename OtherDerived>
friend
370 template<
typename OtherDerived>
386 #endif // EIGEN_TRANSPOSITIONS_H
Traits::IndicesType IndicesType
EIGEN_DEVICE_FUNC Index rows() const
TranspositionsStorage StorageKind
Transpose< TranspositionsBase > inverse() const
#define EIGEN_DEVICE_FUNC
const StorageIndex & operator()(Index i) const
Namespace containing all symbols from the Eigen library.
TranspositionsWrapper(IndicesType &indices)
Map< const Matrix< _StorageIndex, SizeAtCompileTime, 1, 0, MaxSizeAtCompileTime, 1 >, _PacketAccess > IndicesType
StorageIndex & operator[](Index i)
internal::traits< Transpositions > Traits
Transpose(const TranspositionType &t)
Map & operator=(const Map &other)
TranspositionsWrapper & operator=(const TranspositionsBase< OtherDerived > &other)
Transpose< TranspositionsBase > transpose() const
internal::traits< Derived > Traits
Represents a sequence of transpositions (row/column interchange)
EIGEN_DEVICE_FUNC Index cols() const
const EIGEN_DEVICE_FUNC Product< MatrixDerived, PermutationDerived, AliasFreeProduct > operator*(const MatrixBase< MatrixDerived > &matrix, const PermutationBase< PermutationDerived > &permutation)
Expression of the transpose of a matrix.
Map(const StorageIndex *indicesPtr, Index size)
void resize(Index newSize)
TranspositionsStorage StorageKind
Matrix< _StorageIndex, SizeAtCompileTime, 1, 0, MaxSizeAtCompileTime, 1 > IndicesType
EIGEN_DEVICE_FUNC IndicesType & indices()
const EIGEN_DEVICE_FUNC IndicesType & indices() const
Transpositions(Index size)
const EIGEN_DEVICE_FUNC TranspositionType & nestedExpression() const
EIGEN_DEVICE_FUNC IndicesType & indices()
internal::traits< Map > Traits
Traits::IndicesType IndicesType
Transpositions(const MatrixBase< Other > &indices)
const EIGEN_DEVICE_FUNC StorageIndex & coeff(Index i) const
Transpositions(const TranspositionsBase< OtherDerived > &other)
EIGEN_DEVICE_FUNC Index size() const
EIGEN_DEVICE_FUNC Derived & derived()
IndicesType::Scalar StorageIndex
Traits::IndicesType IndicesType
const friend Product< OtherDerived, Transpose, AliasFreeProduct > operator*(const MatrixBase< OtherDerived > &matrix, const Transpose &trt)
Expression of the product of two arbitrary matrices or vectors.
TranspositionsDerived TranspositionType
const EIGEN_DEVICE_FUNC IndicesType & indices() const
EIGEN_DEVICE_FUNC IndicesType & indices()
Map & operator=(const TranspositionsBase< OtherDerived > &other)
A matrix or vector expression mapping an existing array of data.
_StorageIndex StorageIndex
TranspositionType::IndicesType IndicesType
const EIGEN_DEVICE_FUNC Derived & derived() const
Map< Matrix< T, Dynamic, Dynamic, ColMajor >, 0, OuterStride<> > matrix(T *data, int rows, int cols, int stride)
EIGEN_DEVICE_FUNC EIGEN_CONSTEXPR Index size() const EIGEN_NOEXCEPT
internal::traits< TranspositionsWrapper > Traits
TranspositionsBase< Map > Base
TranspositionsBase< TranspositionsWrapper > Base
const EIGEN_DEVICE_FUNC IndicesType & indices() const
EIGEN_DEVICE_FUNC EIGEN_CONSTEXPR Index rows() const EIGEN_NOEXCEPT
Map(const StorageIndex *indicesPtr)
ProductLieGroup< Point2, Pose2 > Product
const Product< Transpose, OtherDerived, AliasFreeProduct > operator*(const MatrixBase< OtherDerived > &matrix) const
Transpositions & operator=(const TranspositionsBase< OtherDerived > &other)
TranspositionsStorage StorageKind
const EIGEN_DEVICE_FUNC IndicesType & indices() const
EIGEN_DEVICE_FUNC EIGEN_CONSTEXPR Index cols() const EIGEN_NOEXCEPT
IndicesType::Scalar StorageIndex
The matrix class, also used for vectors and row-vectors.
const TranspositionType & m_transpositions
Traits::IndicesType IndicesType
Base class for all dense matrices, vectors, and expressions.
TranspositionsBase< Transpositions > Base
IndicesType::Scalar StorageIndex
Derived & operator=(const TranspositionsBase< OtherDerived > &other)
const StorageIndex & operator[](Index i) const
internal::traits< Matrix< _Scalar, _Rows, _Cols, _Options, _MaxRows, _MaxCols > >::Scalar Scalar
StorageIndex & operator()(Index i)
StorageIndex & coeffRef(Index i)
EIGEN_DEVICE_FUNC IndicesType & indices()
IndicesType::Nested m_indices
EIGEN_DEFAULT_DENSE_INDEX_TYPE Index
The Index type as used for the API.
IndicesType::Scalar StorageIndex
gtsam
Author(s):
autogenerated on Sat Nov 16 2024 04:09:21