All Classes Namespaces Functions Typedefs Enumerations Pages
Public Member Functions | List of all members
fmatvec::Index Class Reference

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...
 

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

Last element.

Returns
Returns the last element.
int fmatvec::Index::size ( ) const
inline

Size.

Returns
Returns the Size.
int fmatvec::Index::start ( ) const
inline

First element.

Returns
Returns the first element.

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

Impressum / Disclaimer / Datenschutz Generated by doxygen 1.8.5 Valid HTML