|
| | Matrix (int _size) |
| | constructor of an _size by _size matrix More...
|
| |
| virtual | ~Matrix () |
| | destructor, delete memory created during construction More...
|
| |
| Scalar & | operator() (int i, int j) |
| | access and change individual elements More...
|
| |
| Scalar | operator() (int i, int j) const |
| | access individual elements More...
|
| |
| int | get_size () const |
| | get the number of rows/columns More...
|
| |
| Scalar * | get_values () |
| | get the array of elements of the matrix More...
|
| |
| const Scalar * | get_values () const |
| | get the array of elements of the matrix More...
|
| |
| template<typename OUTPUT_STREAM > |
| void | print_formatted (OUTPUT_STREAM &os, const unsigned int precision=3, const bool scientific=true, const unsigned int width_=0, const char *zero_string="*", const double denominator=1., const double threshold=0.) const |
| | print the matrix in some nice form More...
|
| |
template<typename Scalar>
class core::Matrix< Scalar >
A dense quadratic matrix of arbitrary size.
The template is typically a double.
Definition at line 19 of file matrix.h.
template<typename Scalar>
access and change individual elements
The parameters i and j must be within \([1,\_size]\), otherwise the program terminates with an error.
Definition at line 40 of file matrix.h.