Home | History | Annotate | Download | only in Core

Lines Matching refs:Direction

23   * \tparam Direction indicates the direction of the redux (#Vertical or #Horizontal)
32 template< typename MatrixType, typename MemberOp, int Direction>
36 template<typename MatrixType, typename MemberOp, int Direction>
37 struct traits<PartialReduxExpr<MatrixType, MemberOp, Direction> >
47 RowsAtCompileTime = Direction==Vertical ? 1 : MatrixType::RowsAtCompileTime,
48 ColsAtCompileTime = Direction==Horizontal ? 1 : MatrixType::ColsAtCompileTime,
49 MaxRowsAtCompileTime = Direction==Vertical ? 1 : MatrixType::MaxRowsAtCompileTime,
50 MaxColsAtCompileTime = Direction==Horizontal ? 1 : MatrixType::MaxColsAtCompileTime,
53 TraversalSize = Direction==Vertical ? MatrixType::RowsAtCompileTime : MatrixType::ColsAtCompileTime
67 template< typename MatrixType, typename MemberOp, int Direction>
69 public internal::dense_xpr_base< PartialReduxExpr<MatrixType, MemberOp, Direction> >::type
81 Index rows() const { return (Direction==Vertical ? 1 : m_matrix.rows()); }
82 Index cols() const { return (Direction==Horizontal ? 1 : m_matrix.cols()); }
86 if (Direction==Vertical)
94 if (Direction==Vertical)
155 * \param Direction indicates the direction of the redux (#Vertical or #Horizontal)
166 template<typename ExpressionType, int Direction> class VectorwiseOp
182 Direction
190 Direction
195 IsVertical = (Direction==Vertical) ? 1 : 0,
196 IsHorizontal = (Direction==Horizontal) ? 1 : 0
202 * \returns the i-th subvector according to the \c Direction */
203 typedef typename internal::conditional<Direction==Vertical,
212 * \returns the number of subvectors in the direction \c Direction */
214 { return Direction==Vertical?m_matrix.cols():m_matrix.rows(); }
218 Direction==Vertical ? 1 : ExpressionType::RowsAtCompileTime,
219 Direction==Horizontal ? 1 : ExpressionType::ColsAtCompileTime> Type;
228 EIGEN_STATIC_ASSERT(EIGEN_IMPLIES(Direction==Vertical, OtherDerived::MaxColsAtCompileTime==1),
230 EIGEN_STATIC_ASSERT(EIGEN_IMPLIES(Direction==Horizontal, OtherDerived::MaxRowsAtCompileTime==1),
234 Direction==Vertical ? 1 : m_matrix.rows(),
235 Direction==Horizontal ? 1 : m_matrix.cols());
240 Direction==Horizontal ? 1 : ExpressionType::RowsAtCompileTime,
241 Direction==Vertical ? 1 : ExpressionType::ColsAtCompileTime> Type;
245 * Replicates a vector in the opposite direction to match the size of \c *this */
250 EIGEN_STATIC_ASSERT(EIGEN_IMPLIES(Direction==Horizontal, OtherDerived::MaxColsAtCompileTime==1),
252 EIGEN_STATIC_ASSERT(EIGEN_IMPLIES(Direction==Vertical, OtherDerived::MaxRowsAtCompileTime==1),
256 Direction==Horizontal ? 1 : m_matrix.rows(),
257 Direction==Vertical ? 1 : m_matrix.cols());
388 Direction> count() const
409 const Reverse<ExpressionType, Direction> reverse() const
410 { return Reverse<ExpressionType, Direction>( _expression() ); }
412 typedef Replicate<ExpressionType,Direction==Vertical?Dynamic:1,Direction==Horizontal?Dynamic:1> ReplicateReturnType;
427 return Replicate<ExpressionType,Direction==Vertical?Factor:1,Direction==Horizontal?Factor:1>
428 (_expression(),Direction==Vertical?factor:1,Direction==Horizontal?factor:1);
555 Homogeneous<ExpressionType,Direction> homogeneous() const;
563 HNormalized_Size = Direction==Vertical ? internal::traits<ExpressionType>::RowsAtCompileTime
568 Direction==Vertical ? int(HNormalized_SizeMinusOne)
570 Direction==Horizontal ? int(HNormalized_SizeMinusOne)
574 Direction==Vertical ? 1 : int(internal::traits<ExpressionType>::RowsAtCompileTime),
575 Direction==Horizontal ? 1 : int(internal::traits<ExpressionType>::ColsAtCompileTime)>
580 Direction==Vertical ? HNormalized_SizeMinusOne : 1,
581 Direction==Horizontal ? HNormalized_SizeMinusOne : 1> >