All Classes Namespaces Functions Typedefs Enumerations Pages
Public Member Functions | List of all members
fmatvec::Range< Var, Var > Class Template Reference

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

#include <range.h>

Public Member Functions

 Range ()
 Standard constructor. More...
 
 Range (int i1_)
 Regular constructor. More...
 
 Range (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

template<>
class fmatvec::Range< Var, Var >

This is an index class for creating submatrices.

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

Constructor & Destructor Documentation

fmatvec::Range< Var, Var >::Range ( )
inline

Standard constructor.

Constructs an index object with both elements set to zero.

fmatvec::Range< Var, Var >::Range ( int  i1_)
inline

Regular constructor.

Constructs an index object with equal first and last element.

Parameters
i1_First and last element.
fmatvec::Range< Var, Var >::Range ( 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::Range< Var, Var >::end ( ) const
inline

Last element.

Returns
Returns the last element.
int fmatvec::Range< Var, Var >::size ( ) const
inline

Size.

Returns
Returns the Size.
int fmatvec::Range< Var, Var >::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