#include <symmatrix.h>
|
| SymMatrix (size_t size) |
| default constructor: allocate an array of size size*(size+1)/2. More...
|
|
| ~SymMatrix () |
|
T & | at (const size_t i, const size_t j) |
| return the element at position ( i, j ) for left-hand operation. More...
|
|
T | at (const size_t i, const size_t j) const |
| return the element at position ( i, j ) for right-hand operation. More...
|
|
T & | at (const size_t i) |
| return the element at position i of the array representing the matrix for left-hand operation. More...
|
|
T | at (const size_t i) const |
| return the element at position i of the array representing the matrix for right-hand operation. More...
|
|
T * | vectat (const size_t i, const size_t j) |
| return the pointer to the element at position ( i, j ) of the array representing the matrix. More...
|
|
size_t | get_size () const |
| return matrix size. More...
|
|
default constructor: allocate an array of size size*(size+1)/2.
- Parameters
-
template<typename T >
T& SymMatrix< T >::at |
( |
const size_t |
i, |
|
|
const size_t |
j |
|
) |
| |
|
inline |
return the element at position ( i, j ) for left-hand operation.
- Parameters
-
i | row in [0 .. size -1] |
j | column in [0 .. size -1] |
template<typename T >
T SymMatrix< T >::at |
( |
const size_t |
i, |
|
|
const size_t |
j |
|
) |
| const |
|
inline |
return the element at position ( i, j ) for right-hand operation.
- Parameters
-
i | row in [0 .. size -1] |
j | column in [0 .. size -1] |
return the element at position i of the array representing the matrix for left-hand operation.
- Parameters
-
return the element at position i of the array representing the matrix for right-hand operation.
- Parameters
-
template<typename T >
T* SymMatrix< T >::vectat |
( |
const size_t |
i, |
|
|
const size_t |
j |
|
) |
| |
|
inline |
return the pointer to the element at position ( i, j ) of the array representing the matrix.
- Parameters
-
i | row in [0 .. size -1] |
j | column in [0 .. size -1] |
The documentation for this class was generated from the following file: