This is an index class for creating submatrices. More...
#include <index.h>
Public Member Functions | |
Index () | |
Standard constructor. More... | |
Index (int i1_) | |
Regular constructor. More... | |
Index (int i1_, int i2_) | |
Regular constructor. More... | |
int | start () const |
First element. More... | |
int | end () const |
Last element. More... | |
int | size () const |
Size. More... | |
This is an index class for creating submatrices.
The index class contains indices defining the first and the last element.
|
inline |
Standard constructor.
Constructs an index object with both elements set to zero.
|
inline |
Regular constructor.
Constructs an index object with equal first and last element.
i1_ | First and last element. |
|
inline |
Regular constructor.
Constructs an index object with first and last element.
i1_ | First index. |
i2_ | Last index. |
|
inline |
Last element.
|
inline |
First element.