Public Member Functions

Spline::Matrix< T > Class Template Reference

#include <Matrix.hh>

List of all members.

Public Member Functions

 Matrix (size_t rows, size_t columns)
element (size_t row, size_t column) const
void setElement (size_t row, size_t column, T value)
size_t nRows () const
size_t nColumns () const

Detailed Description

template<class T>
class Spline::Matrix< T >

Basic matrix class to hold the covariance matrix


Constructor & Destructor Documentation

template<class T>
Spline::Matrix< T >::Matrix ( size_t  rows,
size_t  columns 
) [inline]

Construct a matrix of size rows * columns

Parameters:
rowsthe number of rows
columnsthe number of columns

Member Function Documentation

template<class T>
T Spline::Matrix< T >::element ( size_t  row,
size_t  column 
) const [inline]
Parameters:
rowthe row of the element to return
columnthe column of the element to return
Returns:
the element at row, column
template<class T>
size_t Spline::Matrix< T >::nColumns (  ) const [inline]
Returns:
the number of columns
template<class T>
size_t Spline::Matrix< T >::nRows (  ) const [inline]
Returns:
the number of rows
template<class T>
void Spline::Matrix< T >::setElement ( size_t  row,
size_t  column,
value 
) [inline]

Set the element at location row, column

Parameters:
rowthe row of the element
columnthe column of the element

The documentation for this class was generated from the following file:
 All Classes Namespaces Functions