matrix66¶
-
class
samson.DataModel.Type.matrix66(*args, **kwargs)¶ Bases:
pybind11_builtins.pybind11_objectThis class represents spatial matrices.
SAMSON API: sbdtypephysicalmatrix66
Overloaded function.
- __init__(self: samson.DataModel.Type.matrix66) -> None
The default constructor initializes all components to zero
- __init__(self: samson.DataModel.Type.matrix66, arg0: samson.DataModel.Type.matrix33, arg1: samson.DataModel.Type.matrix33, arg2: samson.DataModel.Type.matrix33, arg3: samson.DataModel.Type.matrix33) -> None
Constructs a spatial matrix from four 3x3 matrices.
- Args:
- mat00 (matrix33): The top left 3x3 block mat01 (matrix33): The top right 3x3 block mat10 (matrix33): The bottom left 3x3 block mat11 (matrix33): The bottom right 3x3 block
-
__add__(self: samson.DataModel.Type.matrix66, arg0: samson.DataModel.Type.matrix66) → samson.DataModel.Type.matrix66¶
-
__iadd__(self: samson.DataModel.Type.matrix66, arg0: samson.DataModel.Type.matrix66) → samson.DataModel.Type.matrix66¶
-
__imul__(*args, **kwargs)¶ Overloaded function.
- __imul__(self: samson.DataModel.Type.matrix66, arg0: float) -> samson.DataModel.Type.matrix66
- __imul__(self: samson.DataModel.Type.matrix66, arg0: samson.DataModel.Quantity.unitsSI) -> samson.DataModel.Type.matrix66
-
__isub__(self: samson.DataModel.Type.matrix66, arg0: samson.DataModel.Type.matrix66) → samson.DataModel.Type.matrix66¶
-
__itruediv__(self: samson.DataModel.Type.matrix66, arg0: samson.DataModel.Quantity.unitsSI) → samson.DataModel.Type.matrix66¶
-
__mul__(*args, **kwargs)¶ Overloaded function.
- __mul__(self: samson.DataModel.Type.matrix66, arg0: float) -> samson.DataModel.Type.matrix66
- __mul__(self: samson.DataModel.Type.matrix66, arg0: samson.DataModel.Type.vector6) -> samson.DataModel.Type.vector6
-
__neg__(self: samson.DataModel.Type.matrix66) → samson.DataModel.Type.matrix66¶
-
__rmul__(self: samson.DataModel.Type.matrix66, arg0: float) → samson.DataModel.Type.matrix66¶
-
__sub__(self: samson.DataModel.Type.matrix66, arg0: samson.DataModel.Type.matrix66) → samson.DataModel.Type.matrix66¶
-
doubleSymmetricPart(self: samson.DataModel.Type.matrix66) → samson.DataModel.Type.matrix66¶ Returns twice the symmetric part of the matrix
-
getColumn(self: samson.DataModel.Type.matrix66, i: int) → samson.DataModel.Type.vector6¶ Returns the i-th column of this physical matrix
-
getE1(self: samson.DataModel.Type.matrix66) → samson.DataModel.Type.vector6¶ Returns the first column of the spatial matrix
-
getE2(self: samson.DataModel.Type.matrix66) → samson.DataModel.Type.vector6¶ Returns the second column of the spatial matrix
-
getE3(self: samson.DataModel.Type.matrix66) → samson.DataModel.Type.vector6¶ Returns the third column of the spatial matrix
-
getE4(self: samson.DataModel.Type.matrix66) → samson.DataModel.Type.vector6¶ Returns the fourht column of the spatial matrix
-
getE5(self: samson.DataModel.Type.matrix66) → samson.DataModel.Type.vector6¶ Returns the fifth column of the spatial matrix
-
getE6(self: samson.DataModel.Type.matrix66) → samson.DataModel.Type.vector6¶ Returns the sixth column of the spatial matrix
-
getRow(self: samson.DataModel.Type.matrix66, i: int) → samson.DataModel.Type.vector6¶ Returns the i-th row of this physical matrix
-
setIdentity(self: samson.DataModel.Type.matrix66) → None¶ Sets the spatial matrix to the identity matrix
-
setZero(self: samson.DataModel.Type.matrix66) → None¶ Sets the spatial matrix to zero
-
str(self: samson.DataModel.Type.matrix66, fullName: bool = False) → str¶ Converts the spatial matrix to a string (with a full unit name when fullName is true)
-
symmetrize(self: samson.DataModel.Type.matrix66) → None¶ Makes the matrix symmetric
-
transpose(self: samson.DataModel.Type.matrix66) → samson.DataModel.Type.matrix66¶ Returns the transpose of this spatial matrix
-
__eq__¶ Return self==value.
-
__ge__¶ Return self>=value.
-
__gt__¶ Return self>value.
-
__le__¶ Return self<=value.
-
__lt__¶ Return self<value.
-
__ne__¶ Return self!=value.
-
value¶