![]() |
IOLink Python 1.11.0
|
Public Member Functions | |
| __init__ (self) | |
| __eq__ (self, other) | |
| __ne__ (self, other) | |
| at (self, row, column) | |
| __call__ (self, row, column) | |
| set_at (self, row, column, value) | |
| transpose_in_place (self) | |
| transpose (self) | |
| inverse (self) | |
| to_string (self) | |
| __neg__ (self) | |
| __iadd__ (self, m) | |
| __isub__ (self, m) | |
| __add__ (self, m) | |
| __sub__ (self, m) | |
| __imul__ (self, value) | |
| __itruediv__ (self, *args) | |
| __truediv__ (self, *args) | |
| __mul__ (self, *args) | |
| __repr__ (self) | |
Static Public Member Functions | |
| identity () | |
| uniform (value) | |
Properties | |
| thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag") | |
An arithmetic square matrix. Do not use this class directly, only uses its aliases.
| iolink.iolink.Matrix3d.__init__ | ( | self | ) |
Default constructor.
Object will have indeterminate values.
| iolink.iolink.Matrix3d.__call__ | ( | self, | |
| row, | |||
| column | |||
| ) |
Access an element of the matrix.
:type column: int
:param column: The column of the element
:type row: int
:param row: The row of the element
| iolink.iolink.Matrix3d.at | ( | self, | |
| row, | |||
| column | |||
| ) |
Access an element of the matrix.
:type column: int
:param column: The column of the element
:type row: int
:param row: The row of the element
|
static |
Return an identity matrix.
| iolink.iolink.Matrix3d.inverse | ( | self | ) |
Return the inverse matrix.
Warning: Calling this method on a non-invertable matrix will cause
undefined behaviour.
| iolink.iolink.Matrix3d.set_at | ( | self, | |
| row, | |||
| column, | |||
| value | |||
| ) |
Set an element of the matrix.
:type column: int
:param column: The column of the element
:type row: int
:param row: The row of the element
:type value: float
:param value: The value to assign to the element
| iolink.iolink.Matrix3d.to_string | ( | self | ) |
Return a string representation of the matrix.
| iolink.iolink.Matrix3d.transpose | ( | self | ) |
Return the transposed matrix.
| iolink.iolink.Matrix3d.transpose_in_place | ( | self | ) |
Transpose the matrix in place.
|
static |
Initialize an uniform matrix with an unique value.
:type value: float
:param value: The value to assign to each element of the matrix