#include <Matrix.h>
Public Member Functions | |
| Matrix (size_t const rowCount=0, size_t const colCount=0) | |
| Matrix (std::vector< Vec< T > > const &rows) | |
| Matrix (Matrix const &m) | |
| size_t | getRowCount () const |
| size_t | getColCount () const |
| void | setRowColCount (size_t const rowCount, size_t const colCount) |
| Vec< T > const & | getRow (size_t const i) const |
| Matrix & | setRow (size_t const i, Vec< T > const &v) |
| Vec< T > const & | getCol (size_t const j) const |
| Matrix & | setCol (size_t const j, Vec< T > const &v) |
| std::vector< Vec< T > > const & | getRows () const |
| std::vector< Vec< T > > const & | getCols () const |
| Matrix & | operator= (Matrix const &m) |
| bool | operator== (Matrix const &m) const |
| bool | isAlmostEq (Matrix const &m) const |
| bool | isAlmostZero () const |
| Matrix & | set (T const x) |
| Matrix & | add (Matrix const &m) |
| Matrix & | subtract (Matrix const &m) |
| Matrix & | scale (T const x) |
| Matrix & | multiply (Matrix const &m) |
| Matrix & | transpose () |
| Matrix & | invert () |
| Vec< T > | multiply (Vec< T > const &v) const |
| T | minElement () const |
| T | maxElement () const |
| size_t | argMax () const |
| size_t | argMin () const |
| Matrix & | shuffle () |
| Matrix & | randomize () |
See the comments in the Vec base class as they also apply to this class.
1.5.1