|
v2DM-DOCI
1.0
|
#include <helpers.h>
Inheritance diagram for helpers::tmatrix< T >:
Collaboration diagram for helpers::tmatrix< T >:Public Member Functions | |
| tmatrix () | |
| tmatrix (int n_, int m_) | |
| tmatrix (const tmatrix< T > &orig) | |
| tmatrix (tmatrix< T > &&orig) | |
| virtual | ~tmatrix () |
| tmatrix< T > & | operator= (const tmatrix< T > &orig) |
| tmatrix< T > & | operator= (T val) |
| unsigned int | getn () const |
| unsigned int | getm () const |
| T | operator() (int x, int y) const |
| T & | operator() (int x, int y) |
| T & | operator[] (int x) |
| T | operator[] (int x) const |
| T * | getpointer () const |
| void | Print () const |
Private Attributes | |
| std::unique_ptr< T[]> | mat |
| n by m array of double More... | |
| unsigned int | n |
| number of rows More... | |
| unsigned int | m |
| number of columns More... | |
| tmatrix::tmatrix | ( | ) |
Empty tmatrix constructor. Don't use it unless you know what you're doing
Definition at line 459 of file helpers.cpp.
| tmatrix::tmatrix | ( | int | n_, |
| int | m_ | ||
| ) |
| n_ | number of rows |
| m_ | number of columns |
Definition at line 470 of file helpers.cpp.
| tmatrix::tmatrix | ( | const tmatrix< T > & | orig | ) |
| orig | tmatrix to copy |
Definition at line 482 of file helpers.cpp.
Here is the call graph for this function:| tmatrix::tmatrix | ( | tmatrix< T > && | orig | ) |
move constructor
| orig | tmatrix to copy (descrutive) |
Definition at line 495 of file helpers.cpp.
|
inlinevirtual |
| unsigned int tmatrix::getm | ( | ) | const |
Definition at line 538 of file helpers.cpp.
| unsigned int tmatrix::getn | ( | ) | const |
Definition at line 529 of file helpers.cpp.
| T * tmatrix::getpointer | ( | ) | const |
| T tmatrix::operator() | ( | int | x, |
| int | y | ||
| ) | const |
Definition at line 544 of file helpers.cpp.
| T & tmatrix::operator() | ( | int | x, |
| int | y | ||
| ) |
Definition at line 551 of file helpers.cpp.
| tmatrix< T > & tmatrix::operator= | ( | T | val | ) |
Set all tmatrix elements equal to a value
| val | the value to use |
Definition at line 517 of file helpers.cpp.
| T & tmatrix::operator[] | ( | int | x | ) |
Definition at line 558 of file helpers.cpp.
| T tmatrix::operator[] | ( | int | x | ) | const |
Definition at line 565 of file helpers.cpp.
| void tmatrix::Print | ( | ) | const |
Definition at line 578 of file helpers.cpp.
|
private |
|
private |
|
private |