#include <matrix.hpp>
Inheritance diagram for FunctionMatrix:
Definition at line 142 of file matrix.hpp.
Public Member Functions | |
FunctionMatrix (unsigned rows, unsigned cols, double _h, double(*func)(unsigned, unsigned, double)) | |
Initialize matrix wich i,j element equal func(i,j,h). | |
unsigned | GetNumRows () const |
Get number of rows. | |
unsigned | GetNumCols () const |
Get number of columns. | |
double | elem (unsigned i, unsigned j) const |
Get element in position i,j. | |
Row | GetRow (unsigned i) const |
Get view of i row of matrix. | |
Column | GetCol (unsigned j) const |
Get view of j column of matrix. |
|
Initialize matrix wich i,j element equal func(i,j,h).
Definition at line 179 of file matrix.cpp. |
|
Get number of rows.
Implements Matrix. Definition at line 185 of file matrix.cpp. |
|
Get number of columns.
Implements Matrix. Definition at line 190 of file matrix.cpp. |
|
Get element in position i,j.
Implements Matrix. Definition at line 195 of file matrix.cpp. |
|
Get view of i row of matrix.
Definition at line 19 of file matrix.cpp. Referenced by Cross::Approximate(). |
|
Get view of j column of matrix.
Definition at line 39 of file matrix.cpp. Referenced by Cross::Approximate(). |