Public Member Functions
fmatvec::Index Class Reference

This is an index class for creating submatrices. More...

#include <index.h>

List of all members.

Public Member Functions

 Index ()
 Standard constructor.
 Index (int i1_)
 Regular constructor.
 Index (int i1_, int i2_)
 Regular constructor.
int start () const
 First element.
int end () const
 Last element.

Detailed Description

This is an index class for creating submatrices.

The index class contains indices defining the first and the last element.


Constructor & Destructor Documentation

fmatvec::Index::Index ( )
inline

Standard constructor.

Constructs an index object with both elements set to zero.

fmatvec::Index::Index ( int  i1_)
inline

Regular constructor.

Constructs an index object with equal first and last element.

Parameters:
i1_First and last element.
fmatvec::Index::Index ( int  i1_,
int  i2_ 
)
inline

Regular constructor.

Constructs an index object with first and last element.

Parameters:
i1_First index.
i2_Last index.

Member Function Documentation

int fmatvec::Index::end ( ) const
inline
int fmatvec::Index::start ( ) const
inline

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