![]() |
CMlib
Cell mapping algorithms in C++
|
Very simple 2x2 matrix class. More...
#include <vec2.h>
Public Member Functions | |
double & | operator[] (unsigned int i) |
Container of components, row-major. More... | |
const double & | operator[] (unsigned int i) const |
Operator[] for accessing the i-th component (const) More... | |
double & | operator() (unsigned int i, unsigned int j) |
Operator() for accessing the (i,j)-th component (mutable) More... | |
const double & | operator() (unsigned int i, unsigned int j) const |
Operator() for accessing the (i,j)-th component (const) More... | |
Very simple 2x2 matrix class.
double & mat2::operator() | ( | unsigned int | i, |
unsigned int | j | ||
) |
Operator() for accessing the (i,j)-th component (mutable)
i | row index |
j | column index |
const double & mat2::operator() | ( | unsigned int | i, |
unsigned int | j | ||
) | const |
Operator() for accessing the (i,j)-th component (const)
i | row index |
j | column index |
double & mat2::operator[] | ( | unsigned int | i | ) |
Container of components, row-major.
Operator[] for accessing the i-th component (mutable)
const double & mat2::operator[] | ( | unsigned int | i | ) | const |
Operator[] for accessing the i-th component (const)