Lines Matching refs:MatrixType

16 template<typename ViewOp, typename MatrixType>
17 struct traits<CwiseUnaryView<ViewOp, MatrixType> >
18 : traits<MatrixType>
21 ViewOp(const typename traits<MatrixType>::Scalar&)
23 typedef typename MatrixType::Nested MatrixTypeNested;
26 FlagsLvalueBit = is_lvalue<MatrixType>::value ? LvalueBit : 0,
28 MatrixTypeInnerStride = inner_stride_at_compile_time<MatrixType>::ret,
33 : int(MatrixTypeInnerStride) * int(sizeof(typename traits<MatrixType>::Scalar) / sizeof(Scalar)),
34 OuterStrideAtCompileTime = outer_stride_at_compile_time<MatrixType>::ret == Dynamic
36 : outer_stride_at_compile_time<MatrixType>::ret * int(sizeof(typename traits<MatrixType>::Scalar) / sizeof(Scalar))
41 template<typename ViewOp, typename MatrixType, typename StorageKind>
50 * \tparam MatrixType the type of the matrix we are applying the unary operator
57 template<typename ViewOp, typename MatrixType>
58 class CwiseUnaryView : public CwiseUnaryViewImpl<ViewOp, MatrixType, typename internal::traits<MatrixType>::StorageKind>
62 typedef typename CwiseUnaryViewImpl<ViewOp, MatrixType,typename internal::traits<MatrixType>::StorageKind>::Base Base;
64 typedef typename internal::ref_selector<MatrixType>::non_const_type MatrixTypeNested;
65 typedef typename internal::remove_all<MatrixType>::type NestedExpression;
67 explicit inline CwiseUnaryView(MatrixType& mat, const ViewOp& func = ViewOp())
100 template<typename ViewOp, typename MatrixType>
101 class CwiseUnaryViewImpl<ViewOp,MatrixType,Dense>
102 : public internal::dense_xpr_base< CwiseUnaryView<ViewOp, MatrixType> >::type
106 typedef CwiseUnaryView<ViewOp, MatrixType> Derived;
107 typedef typename internal::dense_xpr_base< CwiseUnaryView<ViewOp, MatrixType> >::type Base;
117 return derived().nestedExpression().innerStride() * sizeof(typename internal::traits<MatrixType>::Scalar) / sizeof(Scalar);
122 return derived().nestedExpression().outerStride() * sizeof(typename internal::traits<MatrixType>::Scalar) / sizeof(Scalar);