#include <matrix.hpp>
Inheritance diagram for MatrixBinExpr:
Definition at line 82 of file matrix.hpp.
Public Member Functions | |
MatrixBinExpr (const Matrix &_M1, const Matrix &_M2) | |
Create pair of matrices M1 and M2 which sizes are equal. | |
const Matrix & | GetFirst () const |
Get first matrix from pair. | |
const Matrix & | GetSecond () const |
Get second matrix from pair. | |
unsigned | GetNumRows () const |
Get number of rows. | |
unsigned | GetNumCols () const |
Get number of columns. | |
virtual double | elem (unsigned i, unsigned j) const =0 |
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. | |
Protected Attributes | |
const Matrix & | M1 |
const Matrix & | M2 |
|
Create pair of matrices M1 and M2 which sizes are equal.
Definition at line 47 of file matrix.cpp. References Matrix::GetNumCols(), Matrix::GetNumRows(), M1, and M2. |
|
Get first matrix from pair.
Definition at line 69 of file matrix.cpp. References M1. |
|
Get second matrix from pair.
Definition at line 74 of file matrix.cpp. References M2. |
|
Get number of rows.
Implements Matrix. Definition at line 59 of file matrix.cpp. References Matrix::GetNumRows(), and M1. Referenced by MatrixSub::elem(), and MatrixSum::elem(). |
|
Get number of columns.
Implements Matrix. Definition at line 64 of file matrix.cpp. References Matrix::GetNumCols(), and M1. Referenced by MatrixSub::elem(), and MatrixSum::elem(). |
|
|
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(). |
|
Definition at line 84 of file matrix.hpp. Referenced by GetFirst(), GetNumCols(), GetNumRows(), and MatrixBinExpr(). |
|
Definition at line 85 of file matrix.hpp. Referenced by GetSecond(), and MatrixBinExpr(). |