tensor
- class granoo3.lib.tensor
Bases:
Boost.Python.instance
a tensor in the 3x3 matrix form, that accepts changing frame operation
Attributes Summary
xx component
xy component
xz component
yx component
yy component
yz component
zx component
zy component
zz component
Methods Summary
clear
(arg1)clear the tensor, all components will be zero
det
(arg1)get the determinant of the tensor
eigen_value
(arg1, arg2, arg3)get the eigen value of the tensor
get_xx
(arg1)get the xx component value
get_xy
(arg1)get the xy component value
get_xz
(arg1)get the xz component value
get_yx
(arg1)get the yx component value
get_yy
(arg1)get the yy component value
get_yz
(arg1)get the yz component value
get_zx
(arg1)get the zx component value
get_zy
(arg1)get the zy component value
get_zz
(arg1)get the zz component value
inverse
(arg1)inverse the current tensor
is_null
(arg1)check if the tensor is null (all components = 0)
trace
(arg1)get the trace of the tensor
transpose
(arg1)transpose the current tensor
Attributes Documentation
- xx
xx component
- xy
xy component
- xz
xz component
- yx
yx component
- yy
yy component
- yz
yz component
- zx
zx component
- zy
zy component
- zz
zz component
Methods Documentation
- clear((tensor)arg1) None[STATIC]
clear the tensor, all components will be zero
- det((tensor)arg1) float[STATIC]
get the determinant of the tensor
- eigen_value((tensor)arg1, (vector)arg2, (quaternion)arg3) None[STATIC]
get the eigen value of the tensor
- get_xx((tensor)arg1) float[STATIC]
get the xx component value
- get_xy((tensor)arg1) float[STATIC]
get the xy component value
- get_xz((tensor)arg1) float[STATIC]
get the xz component value
- get_yx((tensor)arg1) float[STATIC]
get the yx component value
- get_yy((tensor)arg1) float[STATIC]
get the yy component value
- get_yz((tensor)arg1) float[STATIC]
get the yz component value
- get_zx((tensor)arg1) float[STATIC]
get the zx component value
- get_zy((tensor)arg1) float[STATIC]
get the zy component value
- get_zz((tensor)arg1) float[STATIC]
get the zz component value
- is_null((tensor)arg1) bool[STATIC]
check if the tensor is null (all components = 0)
- trace((tensor)arg1) float[STATIC]
get the trace of the tensor