Home | History | Annotate | Download | only in Core

Lines Matching defs:Transpose

18 struct traits<Transpose<MatrixType> > : public traits<MatrixType>
39 /** \class Transpose
42 * \brief Expression of the transpose of a matrix
44 * \tparam MatrixType the type of the object of which we are taking the transpose
46 * This class represents an expression of the transpose of a matrix.
47 * It is the return type of MatrixBase::transpose() and MatrixBase::adjoint()
50 * \sa MatrixBase::transpose(), MatrixBase::adjoint()
52 template<typename MatrixType> class Transpose
60 EIGEN_GENERIC_PUBLIC_INTERFACE(Transpose)
64 explicit inline Transpose(MatrixType& matrix) : m_matrix(matrix) {}
66 EIGEN_INHERIT_ASSIGNMENT_OPERATORS(Transpose)
95 typedef typename dense_xpr_base<Transpose<MatrixType> >::type type;
101 typedef typename dense_xpr_base<Transpose<MatrixType> >::type type;
109 : public internal::generic_xpr_base<Transpose<XprType> >::type
112 typedef typename internal::generic_xpr_base<Transpose<XprType> >::type Base;
122 EIGEN_DENSE_PUBLIC_INTERFACE(Transpose<MatrixType>)
151 /** \returns an expression of the transpose of *this.
156 * \warning If you want to replace a matrix by its own transpose, do \b NOT do this:
158 * m = m.transpose(); // bug!!! caused by aliasing effect
166 * m = m.transpose().eval();
171 inline Transpose<Derived>
172 DenseBase<Derived>::transpose()
177 /** This is the const version of transpose().
179 * Make sure you read the warning for transpose() !
184 DenseBase<Derived>::transpose() const
189 /** \returns an expression of the adjoint (i.e. conjugate transpose) of *this.
207 * \sa adjointInPlace(), transpose(), conjugate(), class Transpose, class internal::scalar_conjugate_op */
212 return AdjointReturnType(this->transpose());
216 * "in place" transpose implementation
231 m.matrix().template triangularView<StrictlyUpper>().swap(m.matrix().transpose());
256 m.matrix().template triangularView<StrictlyUpper>().swap(m.matrix().transpose());
258 m = m.transpose().eval();
264 /** This is the "in place" version of transpose(): it replaces \c *this by its own transpose.
271 * m = m.transpose().eval();
276 * Notice however that this method is only useful if you want to replace a matrix by its own transpose.
277 * If you just need the transpose of a matrix, use transpose().
282 * \sa transpose(), adjoint(), adjointInPlace() */
295 /** This is the "in place" version of adjoint(): it replaces \c *this by its own transpose.
313 * \sa transpose(), adjoint(), transposeInPlace() */