Logo Search packages:      
Sourcecode: blender version File versions  Download package

template<typename Derived>
int MatrixBase< Derived >::cols (  )  const [inline]

Returns:
the number of columns.
See also:
rows(), ColsAtCompileTime

Reimplemented in PartialReduxExpr< MatrixType, MemberOp, Direction >, Select< ConditionMatrixType, ThenMatrixType, ElseMatrixType >, Block< MatrixType, BlockRows, BlockCols, PacketAccess, _DirectAccessStatus >, CwiseBinaryOp< BinaryOp, Lhs, Rhs >, CwiseNullaryOp< NullaryOp, MatrixType >, CwiseUnaryOp< UnaryOp, MatrixType >, DiagonalCoeffs< MatrixType >, DiagonalMatrix< CoeffsVectorType >, Flagged< ExpressionType, Added, Removed >, MapBase< Derived >, Matrix< _Scalar, _Rows, _Cols, _Options, _MaxRows, _MaxCols >, Minor< MatrixType >, NestByValue< ExpressionType >, Part< MatrixType, Mode >, Product< LhsNested, RhsNested, ProductMode >, SwapWrapper< ExpressionType >, Transpose< MatrixType >, MapBase< Block< MatrixType, BlockRows, BlockCols, PacketAccess, HasDirectAccess > >, MapBase< Map< MatrixType, PacketAccess > >, Matrix< NumTraits< Scalar >::Real, MatrixType::ColsAtCompileTime, 1 >, Matrix< int, 1, MatrixType::ColsAtCompileTime >, Matrix< int, MatrixType::RowsAtCompileTime, 1 >, Matrix< MatrixType::Scalar, MatrixType::ColsAtCompileTime, MatrixType::ColsAtCompileTime >, Matrix< _Scalar, AmbientDimAtCompileTime, 1 >, Matrix< _Scalar, HDim, HDim >, Matrix< _Scalar, 4, 1 >, Matrix< MatrixType::Scalar, MatrixType::ColsAtCompileTime, 1 >, Matrix< _Scalar, AmbientDimAtCompileTime==Dynamic?Dynamic:AmbientDimAtCompileTime+1, 1 >, Matrix< MatrixType::Scalar, MinSize, 1 >, Matrix< _Scalar, Dim, 1 >, Matrix< _Scalar, 3, 1 >, Matrix< double, 6, 6, RowMajor >, Matrix< MatrixType::Scalar, SizeMinusOne, 1 >, Matrix< MatrixType::Scalar, MatrixType::RowsAtCompileTime, MinSize >, and Matrix< std::complex< RealScalar >, MatrixType::ColsAtCompileTime, 1 >.

Definition at line 162 of file MatrixBase.h.

Referenced by Matrix< std::complex< RealScalar >, MatrixType::ColsAtCompileTime, 1 >::_resize_to_match(), MatrixBase< Derived >::all(), MatrixBase< Derived >::any(), MatrixBase< Derived >::computeInverse(), MatrixBase< Derived >::copyCoeff(), MatrixBase< Derived >::copyPacket(), MatrixBase< Derived >::corner(), MatrixBase< Derived >::determinant(), MatrixBase< Derived >::end(), MatrixBase< Minor< MatrixType > >::innerSize(), MatrixBase< Derived >::inverse(), MatrixBase< Derived >::isApproxToConstant(), MatrixBase< Derived >::isIdentity(), MatrixBase< Derived >::isLowerTriangular(), MatrixBase< Derived >::isUnitary(), MatrixBase< Derived >::isUpperTriangular(), MatrixBase< Minor< MatrixType > >::isVector(), MatrixBase< Derived >::isZero(), MatrixBase< Derived >::lazyAssign(), MatrixBase< Minor< MatrixType > >::outerSize(), MatrixBase< Derived >::packet(), MatrixBase< Derived >::select(), MatrixBase< Derived >::setConstant(), MatrixBase< Derived >::setRandom(), MatrixBase< Minor< MatrixType > >::size(), QR< MatrixType >::solve(), SVD< MatrixType >::solve(), LU< MatrixType >::solve(), MatrixBase< Derived >::solveTriangularInPlace(), and MatrixBase< Derived >::writePacket().

{ return derived().cols(); }


Generated by  Doxygen 1.6.0   Back to index