#include <Matrix.hh>
List of all members.
Public Member Functions |
| Matrix (size_t rows, size_t columns) |
T | 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
Construct a matrix of size rows * columns
- Parameters:
-
rows | the number of rows |
columns | the number of columns |
Member Function Documentation
template<class T>
T Spline::Matrix< T >::element |
( |
size_t |
row, |
|
|
size_t |
column |
|
) |
| const [inline] |
- Parameters:
-
row | the row of the element to return |
column | the column of the element to return |
- Returns:
- the element at row, column
- Returns:
- the number of columns
- Returns:
- the number of rows
template<class T>
void Spline::Matrix< T >::setElement |
( |
size_t |
row, |
|
|
size_t |
column, |
|
|
T |
value |
|
) |
| [inline] |
Set the element at location row, column
- Parameters:
-
row | the row of the element |
column | the column of the element |
The documentation for this class was generated from the following file:
- /Users/jmonk/Physics/BSpline/Spline/Matrix.hh