Lines Matching refs:Direction
32 template<typename MatrixType,int Direction>
33 struct traits<Homogeneous<MatrixType,Direction> >
44 RowsAtCompileTime = Direction==Vertical ? RowsPlusOne : MatrixType::RowsAtCompileTime,
45 ColsAtCompileTime = Direction==Horizontal ? ColsPlusOne : MatrixType::ColsAtCompileTime,
66 enum { Direction = _Direction };
75 EIGEN_DEVICE_FUNC inline Index rows() const { return m_matrix.rows() + (int(Direction)==Vertical ? 1 : 0); }
76 EIGEN_DEVICE_FUNC inline Index cols() const { return m_matrix.cols() + (int(Direction)==Horizontal ? 1 : 0); }
84 eigen_assert(int(Direction)==Horizontal);
92 eigen_assert(int(Direction)==Vertical);
100 eigen_assert(int(Direction)==Vertical);
146 template<typename ExpressionType, int Direction>
147 EIGEN_DEVICE_FUNC inline Homogeneous<ExpressionType,Direction>
148 VectorwiseOp<ExpressionType,Direction>::homogeneous() const
194 template<typename ExpressionType, int Direction>
195 EIGEN_DEVICE_FUNC inline const typename VectorwiseOp<ExpressionType,Direction>::HNormalizedReturnType
196 VectorwiseOp<ExpressionType,Direction>::hnormalized() const
199 Direction==Vertical ? _expression().rows()-1 : _expression().rows(),
200 Direction==Horizontal ? _expression().cols()-1 : _expression().cols()).cwiseQuotient(
202 Direction==Vertical ? HNormalized_SizeMinusOne : 1,
203 Direction==Horizontal ? HNormalized_SizeMinusOne : 1>
205 Direction==Vertical ? _expression().rows()-1:0,
206 Direction==Horizontal ? _expression().cols()-1:0,
207 Direction==Vertical ? 1 : _expression().rows(),
208 Direction==Horizontal ? 1 : _expression().cols()),
209 Direction==Vertical ? _expression().rows()-1 : 1,
210 Direction==Horizontal ? _expression().cols()-1 : 1));
321 template<typename ArgType,int Direction>
322 struct evaluator_traits<Homogeneous<ArgType,Direction> >
331 template<typename ArgType,int Direction>
332 struct unary_evaluator<Homogeneous<ArgType,Direction>, IndexBased>
333 : evaluator<typename Homogeneous<ArgType,Direction>::PlainObject >
335 typedef Homogeneous<ArgType,Direction> XprType;