Public Member Functions
fmatvec::Range< Var, Var > Class Template Reference

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

#include <range.h>

List of all members.

Public Member Functions

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

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]
int fmatvec::Range< Var, Var >::size ( ) const [inline]
int fmatvec::Range< Var, Var >::start ( ) const [inline]

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