Public Member Functions | |
double const * | data () const |
double & | operator() (int i, int j) |
double const & | operator() (int i, int j) const |
Private Attributes | |
double | _data [4] |
A 2x2 matrix class, purely for demonstration purposes.
Instead of wrapping this class with Boost.Python, we'll convert it to/from numpy.ndarray.
Definition at line 24 of file gaussian.cpp.
double const* matrix2::data | ( | ) | const [inline] |
Definition at line 35 of file gaussian.cpp.
double& matrix2::operator() | ( | int | i, |
int | j | ||
) | [inline] |
Definition at line 27 of file gaussian.cpp.
double const& matrix2::operator() | ( | int | i, |
int | j | ||
) | const [inline] |
Definition at line 31 of file gaussian.cpp.
double matrix2::_data[4] [private] |
Definition at line 38 of file gaussian.cpp.