Lines Matching defs:MatrixType

18 template<typename MatrixType> struct TridiagonalizationMatrixTReturnType;
19 template<typename MatrixType>
20 struct traits<TridiagonalizationMatrixTReturnType<MatrixType> >
21 : public traits<typename MatrixType::PlainObject>
23 typedef typename MatrixType::PlainObject ReturnType; // FIXME shall it be a BandMatrix?
27 template<typename MatrixType, typename CoeffVectorType>
28 void tridiagonalization_inplace(MatrixType& matA, CoeffVectorType& hCoeffs);
52 * given matrix. Alternatively, you can use the Tridiagonalization(const MatrixType&)
58 * The documentation of Tridiagonalization(const MatrixType&) contains an
68 typedef _MatrixType MatrixType;
70 typedef typename MatrixType::Scalar Scalar;
75 Size = MatrixType::RowsAtCompileTime,
77 Options = MatrixType::Options,
78 MaxSize = MatrixType::MaxRowsAtCompileTime,
83 typedef typename internal::plain_col_type<MatrixType, RealScalar>::type DiagonalType;
85 typedef typename internal::remove_all<typename MatrixType::RealReturnType>::type MatrixTypeRealView;
89 typename internal::add_const_on_value_type<typename Diagonal<const MatrixType>::RealReturnType>::type,
90 const Diagonal<const MatrixType>
94 typename internal::add_const_on_value_type<typename Diagonal<const MatrixType, -1>::RealReturnType>::type,
95 const Diagonal<const MatrixType, -1>
99 typedef HouseholderSequence<MatrixType,typename internal::remove_all<typename CoeffVectorType::ConjugateReturnType>::type> HouseholderSequenceType;
170 * \pre Either the constructor Tridiagonalization(const MatrixType&) or
171 * the member function compute(const MatrixType&) has been called before
193 * \pre Either the constructor Tridiagonalization(const MatrixType&) or
194 * the member function compute(const MatrixType&) has been called before
219 inline const MatrixType& packedMatrix() const
229 * \pre Either the constructor Tridiagonalization(const MatrixType&) or
230 * the member function compute(const MatrixType&) has been called before
235 * you can convert it to a matrix of type #MatrixType.
237 * \sa Tridiagonalization(const MatrixType&) for an example,
252 * \pre Either the constructor Tridiagonalization(const MatrixType&) or
253 * the member function compute(const MatrixType&) has been called before
262 * \sa Tridiagonalization(const MatrixType&) for an example,
275 * \pre Either the constructor Tridiagonalization(const MatrixType&) or
276 * the member function compute(const MatrixType&) has been called before
290 * \pre Either the constructor Tridiagonalization(const MatrixType&) or
291 * the member function compute(const MatrixType&) has been called before
300 MatrixType m_matrix;
305 template<typename MatrixType>
306 typename Tridiagonalization<MatrixType>::DiagonalReturnType
307 Tridiagonalization<MatrixType>::diagonal() const
313 template<typename MatrixType>
314 typename Tridiagonalization<MatrixType>::SubDiagonalReturnType
315 Tridiagonalization<MatrixType>::subDiagonal() const
346 template<typename MatrixType, typename CoeffVectorType>
347 void tridiagonalization_inplace(MatrixType& matA, CoeffVectorType& hCoeffs)
350 typedef typename MatrixType::Scalar Scalar;
351 typedef typename MatrixType::RealScalar RealScalar;
381 template<typename MatrixType,
382 int Size=MatrixType::ColsAtCompileTime,
383 bool IsComplex=NumTraits<typename MatrixType::Scalar>::IsComplex>
420 * Tridiagonalization::Tridiagonalization(const MatrixType&)):
426 template<typename MatrixType, typename DiagonalType, typename SubDiagonalType>
427 void tridiagonalization_inplace(MatrixType& mat, DiagonalType& diag, SubDiagonalType& subdiag, bool extractQ)
430 tridiagonalization_inplace_selector<MatrixType>::run(mat, diag, subdiag, extractQ);
436 template<typename MatrixType, int Size, bool IsComplex>
439 typedef typename Tridiagonalization<MatrixType>::CoeffVectorType CoeffVectorType;
440 typedef typename Tridiagonalization<MatrixType>::HouseholderSequenceType HouseholderSequenceType;
442 static void run(MatrixType& mat, DiagonalType& diag, SubDiagonalType& subdiag, bool extractQ)
459 template<typename MatrixType>
460 struct tridiagonalization_inplace_selector<MatrixType,3,false>
462 typedef typename MatrixType::Scalar Scalar;
463 typedef typename MatrixType::RealScalar RealScalar;
466 static void run(MatrixType& mat, DiagonalType& diag, SubDiagonalType& subdiag, bool extractQ)
505 template<typename MatrixType, bool IsComplex>
506 struct tridiagonalization_inplace_selector<MatrixType,1,IsComplex>
508 typedef typename MatrixType::Scalar Scalar;
511 static void run(MatrixType& mat, DiagonalType& diag, SubDiagonalType&, bool extractQ)
524 * \tparam MatrixType type of underlying dense matrix
526 template<typename MatrixType> struct TridiagonalizationMatrixTReturnType
527 : public ReturnByValue<TridiagonalizationMatrixTReturnType<MatrixType> >
534 TridiagonalizationMatrixTReturnType(const MatrixType& mat) : m_matrix(mat) { }
549 typename MatrixType::Nested m_matrix;