Prusa Slicer 2.6.0
Loading...
Searching...
No Matches
Eigen::Transpose< MatrixType > Class Template Reference

Expression of the transpose of a matrix. More...

#include <src/eigen/Eigen/src/Core/Transpose.h>

+ Inheritance diagram for Eigen::Transpose< MatrixType >:
+ Collaboration diagram for Eigen::Transpose< MatrixType >:

Public Types

typedef internal::ref_selector< MatrixType >::non_const_type MatrixTypeNested
 
typedef TransposeImpl< MatrixType, typenameinternal::traits< MatrixType >::StorageKind >::Base Base
 
typedef internal::remove_all< MatrixType >::type NestedExpression
 

Public Member Functions

EIGEN_DEVICE_FUNC Transpose (MatrixType &matrix)
 
EIGEN_DEVICE_FUNC Index rows () const
 
EIGEN_DEVICE_FUNC Index cols () const
 
EIGEN_DEVICE_FUNC const internal::remove_all< MatrixTypeNested >::type & nestedExpression () const
 
EIGEN_DEVICE_FUNC internal::remove_reference< MatrixTypeNested >::type & nestedExpression ()
 
void resize (Index nrows, Index ncols)
 

Protected Attributes

internal::ref_selector< MatrixType >::non_const_type m_matrix
 

Detailed Description

template<typename MatrixType>
class Eigen::Transpose< MatrixType >

Expression of the transpose of a matrix.

Template Parameters
MatrixTypethe type of the object of which we are taking the transpose

This class represents an expression of the transpose of a matrix. It is the return type of MatrixBase::transpose() and MatrixBase::adjoint() and most of the time this is the only way it is used.

See also
MatrixBase::transpose(), MatrixBase::adjoint()

Member Typedef Documentation

◆ Base

template<typename MatrixType >
typedef TransposeImpl<MatrixType,typenameinternal::traits<MatrixType>::StorageKind>::Base Eigen::Transpose< MatrixType >::Base

◆ MatrixTypeNested

template<typename MatrixType >
typedef internal::ref_selector<MatrixType>::non_const_type Eigen::Transpose< MatrixType >::MatrixTypeNested

◆ NestedExpression

template<typename MatrixType >
typedef internal::remove_all<MatrixType>::type Eigen::Transpose< MatrixType >::NestedExpression

Constructor & Destructor Documentation

◆ Transpose()

template<typename MatrixType >
EIGEN_DEVICE_FUNC Eigen::Transpose< MatrixType >::Transpose ( MatrixType &  matrix)
inlineexplicit
64: m_matrix(matrix) {}
internal::ref_selector< MatrixType >::non_const_type m_matrix
Definition Transpose.h:87

Member Function Documentation

◆ cols()

template<typename MatrixType >
EIGEN_DEVICE_FUNC Index Eigen::Transpose< MatrixType >::cols ( ) const
inline
69{ return m_matrix.rows(); }

References Eigen::Transpose< MatrixType >::m_matrix.

◆ nestedExpression() [1/2]

template<typename MatrixType >
EIGEN_DEVICE_FUNC internal::remove_reference< MatrixTypeNested >::type & Eigen::Transpose< MatrixType >::nestedExpression ( )
inline
Returns
the nested expression
79{ return m_matrix; }

References Eigen::Transpose< MatrixType >::m_matrix.

◆ nestedExpression() [2/2]

template<typename MatrixType >
EIGEN_DEVICE_FUNC const internal::remove_all< MatrixTypeNested >::type & Eigen::Transpose< MatrixType >::nestedExpression ( ) const
inline
Returns
the nested expression
74{ return m_matrix; }

References Eigen::Transpose< MatrixType >::m_matrix.

Referenced by Eigen::internal::generic_product_impl< Lhs, Transpose< Rhs >, MatrixShape, TranspositionsShape, ProductTag >::evalTo(), and Eigen::internal::generic_product_impl< Transpose< Lhs >, Rhs, TranspositionsShape, MatrixShape, ProductTag >::evalTo().

+ Here is the caller graph for this function:

◆ resize()

template<typename MatrixType >
void Eigen::Transpose< MatrixType >::resize ( Index  nrows,
Index  ncols 
)
inline
82 {
83 m_matrix.resize(ncols,nrows);
84 }

References Eigen::Transpose< MatrixType >::m_matrix.

◆ rows()

template<typename MatrixType >
EIGEN_DEVICE_FUNC Index Eigen::Transpose< MatrixType >::rows ( ) const
inline
68{ return m_matrix.cols(); }

References Eigen::Transpose< MatrixType >::m_matrix.

Member Data Documentation

◆ m_matrix


The documentation for this class was generated from the following file: