Lines Matching defs:MatrixType
17 template<typename MatrixType>
36 static MatrixType ms_from;
37 enum { value = sizeof(test<MatrixType>(ms_from, 0))==sizeof(yes) };
40 template<typename MatrixType>
43 enum { value = is_ref_compatible_impl<typename remove_all<MatrixType>::type>::value };
46 template<typename MatrixType, bool MatrixFree = !internal::is_ref_compatible<MatrixType>::value>
50 template<typename MatrixType>
51 class generic_matrix_wrapper<MatrixType,false>
54 typedef Ref<const MatrixType> ActualMatrixType;
80 m_matrix.~Ref<const MatrixType>();
81 ::new (&m_matrix) Ref<const MatrixType>(mat.derived());
84 void grab(const Ref<const MatrixType> &mat)
88 m_matrix.~Ref<const MatrixType>();
89 ::new (&m_matrix) Ref<const MatrixType>(mat);
94 MatrixType m_dummy; // used to default initialize the Ref<> object
98 // MatrixType is not compatible with Ref<> -> matrix-free wrapper
99 template<typename MatrixType>
100 class generic_matrix_wrapper<MatrixType,true>
103 typedef MatrixType ActualMatrixType;
117 generic_matrix_wrapper(const MatrixType &mat)
126 void grab(const MatrixType &mat)
150 typedef typename internal::traits<Derived>::MatrixType MatrixType;
152 typedef typename MatrixType::Scalar Scalar;
153 typedef typename MatrixType::StorageIndex StorageIndex;
154 typedef typename MatrixType::RealScalar RealScalar;
157 ColsAtCompileTime = MatrixType::ColsAtCompileTime,
158 MaxColsAtCompileTime = MatrixType::MaxColsAtCompileTime
366 typedef internal::generic_matrix_wrapper<MatrixType> MatrixWrapper;