STK++ 0.9.13
|
Specialization for lower_triangular_. More...
#include <STK_ITContainer.h>
Public Types | |
enum | { structure_ = hidden::Traits<Derived>::structure_ , orient_ = hidden::Traits<Derived>::orient_ , sizeRows_ = hidden::Traits<Derived>::sizeRows_ , sizeCols_ = hidden::Traits<Derived>::sizeCols_ , storage_ = hidden::Traits<Derived>::storage_ } |
typedef ITContainerBase< Derived > | Base |
typedef hidden::Traits< Derived >::Type | Type |
typedef hidden::Traits< Derived >::TypeConst | TypeConst |
typedef TRange< sizeRows_ > | RowRange |
Type of the Range for the rows. | |
typedef TRange< sizeCols_ > | ColRange |
Type of the Range for the columns. | |
![]() | |
enum | { structure_ = hidden::Traits<Derived>::structure_ , orient_ = hidden::Traits<Derived>::orient_ , sizeRows_ = hidden::Traits<Derived>::sizeRows_ , sizeCols_ = hidden::Traits<Derived>::sizeCols_ , storage_ = hidden::Traits<Derived>::storage_ } |
typedef IRecursiveTemplate< Derived > | Base |
typedef hidden::Traits< Derived >::Type | Type |
typedef hidden::Traits< Derived >::TypeConst | TypeConst |
typedef TRange< sizeRows_ > | RowRange |
Type of the Range for the rows. | |
typedef TRange< sizeCols_ > | ColRange |
Type of the Range for the columns. | |
Public Member Functions | |
Range | rangeRowsInCol (int icol) const |
Range | rangeColsInRow (int irow) const |
compute the range of the effectively stored elements in the row irow . | |
Type | at (int i, int j) const |
Type & | at (int i, int j) |
![]() | |
ColRange const & | cols () const |
int | beginCols () const |
int | endCols () const |
int | sizeCols () const |
RowRange const & | rows () const |
int | beginRows () const |
int | endRows () const |
int | sizeRows () const |
int | firstIdxCols () const |
int | firstIdxRows () const |
int | lastIdxCols () const |
int | lastIdxRows () const |
RowRange const & | rangeRowsInCol (int) const |
ColRange const & | rangeColsInRow (int) const |
bool | empty () const |
int | size () const |
TypeConst | elt (int i, int j) const |
TypeConst | elt (int i) const |
TypeConst | elt () const |
Type & | elt (int i, int j) |
Type & | elt (int i) |
Type & | elt () |
TypeConst | at (int i, int j) const |
TypeConst | at (int i) const |
Type & | at (int i, int j) |
Type & | at (int i) |
TypeConst | operator() (int i, int j) const |
Type & | operator() (int i, int j) |
TypeConst | operator[] (int i) const |
Type & | operator[] (int i) |
TypeConst | operator() () const |
Type & | operator() () |
![]() | |
Derived & | asDerived () |
static cast : return a reference of this with a cast to the derived class. | |
Derived const & | asDerived () const |
static cast : return a const reference of this with a cast to the derived class. | |
Derived * | asPtrDerived () |
static cast : return a ptr on a Derived of this with a cast to the derived class. | |
Derived const * | asPtrDerived () const |
static cast : return a ptr on a constant Derived of this with a cast to the derived class. | |
Derived * | clone () const |
create a leaf using the copy constructor of the Derived class. | |
Derived * | clone (bool isRef) const |
create a leaf using the copy constructor of the Derived class and a flag determining if the clone is a reference or not. | |
Protected Member Functions | |
ITContainer () | |
default constructor. | |
~ITContainer () | |
destructor. | |
![]() | |
ITContainerBase () | |
Default constructor. | |
~ITContainerBase () | |
destructor. | |
![]() | |
IRecursiveTemplate () | |
constructor. | |
~IRecursiveTemplate () | |
destructor. | |
Specialization for lower_triangular_.
Definition at line 427 of file STK_ITContainer.h.
typedef ITContainerBase<Derived> STK::ITContainer< Derived, Arrays::lower_triangular_ >::Base |
Definition at line 430 of file STK_ITContainer.h.
typedef TRange<sizeCols_> STK::ITContainer< Derived, Arrays::lower_triangular_ >::ColRange |
Type of the Range for the columns.
Definition at line 444 of file STK_ITContainer.h.
typedef TRange<sizeRows_> STK::ITContainer< Derived, Arrays::lower_triangular_ >::RowRange |
Type of the Range for the rows.
Definition at line 442 of file STK_ITContainer.h.
typedef hidden::Traits<Derived>::Type STK::ITContainer< Derived, Arrays::lower_triangular_ >::Type |
Definition at line 431 of file STK_ITContainer.h.
typedef hidden::Traits<Derived>::TypeConst STK::ITContainer< Derived, Arrays::lower_triangular_ >::TypeConst |
Definition at line 432 of file STK_ITContainer.h.
Enumerator | |
---|---|
structure_ | |
orient_ | |
sizeRows_ | |
sizeCols_ | |
storage_ |
Definition at line 433 of file STK_ITContainer.h.
|
inlineprotected |
default constructor.
Definition at line 448 of file STK_ITContainer.h.
|
inlineprotected |
|
inline |
i,j | row and column indexes |
Definition at line 479 of file STK_ITContainer.h.
References STKOUT_OF_RANGE_2ARG.
|
inline |
i,j | row and column indexes |
Definition at line 466 of file STK_ITContainer.h.
References STKOUT_OF_RANGE_2ARG.
|
inline |
compute the range of the effectively stored elements in the row irow
.
irow | the index of the row |
Definition at line 461 of file STK_ITContainer.h.
|
inline |
icol
. icol | the number of the column to compute the range |
Definition at line 456 of file STK_ITContainer.h.