Home | History | Annotate | Download | only in Core

Lines Matching refs:MatrixType

21   * \param MatrixType the type of the matrix we are applying the unary operator
30 template<typename ViewOp, typename MatrixType>
31 struct traits<CwiseUnaryView<ViewOp, MatrixType> >
32 : traits<MatrixType>
35 ViewOp(typename traits<MatrixType>::Scalar)
37 typedef typename MatrixType::Nested MatrixTypeNested;
42 MatrixTypeInnerStride = inner_stride_at_compile_time<MatrixType>::ret,
48 * int(sizeof(typename traits<MatrixType>::Scalar) / sizeof(Scalar)),
49 OuterStrideAtCompileTime = outer_stride_at_compile_time<MatrixType>::ret
54 template<typename ViewOp, typename MatrixType, typename StorageKind>
57 template<typename ViewOp, typename MatrixType>
59 public CwiseUnaryViewImpl<ViewOp, MatrixType, typename internal::traits<MatrixType>::StorageKind>
63 typedef typename CwiseUnaryViewImpl<ViewOp, MatrixType,typename internal::traits<MatrixType>::StorageKind>::Base Base;
66 inline CwiseUnaryView(const MatrixType& mat, const ViewOp& func = ViewOp())
78 const typename internal::remove_all<typename MatrixType::Nested>::type&
82 typename internal::remove_all<typename MatrixType::Nested>::type&
86 // FIXME changed from MatrixType::Nested because of a weird compilation error with sun CC
87 typename internal::nested<MatrixType>::type m_matrix;
91 template<typename ViewOp, typename MatrixType>
92 class CwiseUnaryViewImpl<ViewOp,MatrixType,Dense>
93 : public internal::dense_xpr_base< CwiseUnaryView<ViewOp, MatrixType> >::type
97 typedef CwiseUnaryView<ViewOp, MatrixType> Derived;
98 typedef typename internal::dense_xpr_base< CwiseUnaryView<ViewOp, MatrixType> >::type Base;
104 return derived().nestedExpression().innerStride() * sizeof(typename internal::traits<MatrixType>::Scalar) / sizeof(Scalar);