Class Matrix#
Defined in File Matrix.hh
Inheritance Relationships#
Base Type#
public OrbitUtils::CppPyWrapper(Class CppPyWrapper)
Class Documentation#
-
class Matrix : public OrbitUtils::CppPyWrapper#
A class for plain NxM matrices with double values.
Public Functions
-
Matrix(int n, int m)#
Constructor.
-
~Matrix()#
Destructor
-
double **getArray()#
Returns the pointer to the two dimensional array.
-
int rows()#
Returns the number of rows.
-
int columns()#
Returns the number of columns.
-
double &value(int i, int j)#
-
void transpose()#
Transposes the matrix in place.
-
int unit()#
Makes the unit matrix in place.
-
void zero()#
Sets to zero matrix elements
-
int add(double val)#
Adds the value to each element of the matrix.
-
int mult(double val)#
Multiplies each element of the matrix by the value.
-
Matrix(int n, int m)#