Double precision 3x3 matrix class. More...
Inherits object.
Public Member Functions | |
float | at (self, int row, int column) |
Index based element access. More... | |
cvb.Matrix3DH | create () |
Construct a 3x3 matrix. More... | |
cvb.Matrix3D | identity () |
The identity element. More... | |
None | invert (self) |
Inverts this matrix if possible. More... | |
Properties | |
det = property | |
float: Matrix determinant. | |
roll_pitch_yaw = property | |
Tuple[float, float, float]: Roll, pitch and yaw values. | |
Double precision 3x3 matrix class.
Supports the same arguments as cvb.Matrix3D.create.
*args : Any Parameters like cvb.Matrix3D.create.
**kwargs : Any Parameters like cvb.Matrix3D.create.
float at | ( | self, | |
int | row, | ||
int | column | ||
) |
Index based element access.
row : int The row to access.
column : int The column to access.
float The matrix element.
cvb.Matrix3DH create | ( | ) |
Construct a 3x3 matrix.
cvb.Matrix3DH A 3D 3x3 matrix.
Construct a 3x3 matrix.
roll : float Angle around x in degrees.
pitch : float Angle around y axis in degrees.
yaw : float Angle around z axis in degrees.
cvb.Matrix3DH A 3D 3x3 matrix.
Construct a 3x3 matrix.
values : List[float] Containing exactly 9 elements.
cvb.Matrix3DH A 3D 3x3 matrix.
cvb.Matrix3D identity | ( | ) |
None invert | ( | self | ) |
Inverts this matrix if possible.
Might cause division by zero.