plll  1.0
plll::linalg::base_matrix< T, Rows, Cols, StorageTraits, MathObject >::ColsEnumerator Class Reference

Enumerates over all columns. For every column, a ColsEnumerator::ColEnumerator object is returned which allows to enumerate over that column. More...

#include <matrix.hpp>

Inheritance diagram for plll::linalg::base_matrix< T, Rows, Cols, StorageTraits, MathObject >::ColsEnumerator:
plll::linalg::implementation::row_count_storage< Rows > plll::linalg::implementation::col_count_storage< Cols >

Public Types

typedef ColEnumerator Type
 The row enumerator type.
 

Public Member Functions

Type current () const PLLL_INTERNAL_NOTHROW_POSTFIX_INLINE
 Returns a current column's enumerator. More...
 
bool has_current () const PLLL_INTERNAL_NOTHROW_POSTFIX_INLINE
 Returns true if a current column exists and can be queried by the current() method. More...
 
void next () PLLL_INTERNAL_NOTHROW_POSTFIX_INLINE
 Goes to the next element. More...
 

Detailed Description

template<typename T, int Rows, int Cols, typename StorageTraits, bool MathObject>
class plll::linalg::base_matrix< T, Rows, Cols, StorageTraits, MathObject >::ColsEnumerator

Enumerates over all columns. For every column, a ColsEnumerator::ColEnumerator object is returned which allows to enumerate over that column.

Definition at line 2923 of file matrix.hpp.

Member Function Documentation

template<typename T, int Rows, int Cols, typename StorageTraits, bool MathObject>
Type plll::linalg::base_matrix< T, Rows, Cols, StorageTraits, MathObject >::ColsEnumerator::current ( ) const
inline

Returns a current column's enumerator.

Returns
An enumerator for the current column.

Definition at line 2947 of file matrix.hpp.

template<typename T, int Rows, int Cols, typename StorageTraits, bool MathObject>
bool plll::linalg::base_matrix< T, Rows, Cols, StorageTraits, MathObject >::ColsEnumerator::has_current ( ) const
inline

Returns true if a current column exists and can be queried by the current() method.

Returns
Returns true if a column is available.

Definition at line 2958 of file matrix.hpp.

template<typename T, int Rows, int Cols, typename StorageTraits, bool MathObject>
void plll::linalg::base_matrix< T, Rows, Cols, StorageTraits, MathObject >::ColsEnumerator::next ( )
inline

Goes to the next element.

Must only be called if has_current() is true.

Definition at line 2968 of file matrix.hpp.


The documentation for this class was generated from the following file: