MeshLib Python Docs
Loading...
Searching...
No Matches
mrmeshpy.SymMatrix3d Class Reference

Public Member Functions

SymMatrix3d __iadd__ (self, SymMatrix3d b)
 
SymMatrix3d __imatmul__ (self, float b)
 
None __init__ (self)
 
None __init__ (self, SymMatrix3d arg0)
 
SymMatrix3d __isub__ (self, SymMatrix3d b)
 
SymMatrix3d __itruediv__ (self, float b)
 
float det (self)
 
Vector3d eigens (self, Matrix3d eigenvectors=None)
 
Vector3d eigenvector (self, float eigenvalue)
 
SymMatrix3d inverse (self)
 
SymMatrix3d inverse (self, float det)
 
float normSq (self)
 
SymMatrix3d pseudoinverse (self, float tol=2.220446049250313e-16, int_output rank=None, Vector3d space=None)
 
float trace (self)
 
float xx (self)
 
None xx (self, float arg1)
 
float xy (self)
 
None xy (self, float arg1)
 
float xz (self)
 
None xz (self, float arg1)
 
float yy (self)
 
None yy (self, float arg1)
 
float yz (self)
 
None yz (self, float arg1)
 
float zz (self)
 
None zz (self, float arg1)
 

Static Public Member Functions

SymMatrix3d diagonal (float diagVal)
 
SymMatrix3d identity ()
 

Static Protected Member Functions

 _pybind11_conduit_v1_ (*args, **kwargs)
 

Detailed Description

Generated from:  MR::SymMatrix3d
Aliases:  QuadraticForm_Vector3d_SM, Vector3_double_SymMatrixType

symmetric 3x3 matrix
\\ingroup MatrixGroup

Constructor & Destructor Documentation

◆ __init__() [1/2]

None mrmeshpy.SymMatrix3d.__init__ ( self)

◆ __init__() [2/2]

None mrmeshpy.SymMatrix3d.__init__ ( self,
SymMatrix3d arg0 )
Implicit copy constructor.

Member Function Documentation

◆ __iadd__()

SymMatrix3d mrmeshpy.SymMatrix3d.__iadd__ ( self,
SymMatrix3d b )

◆ __imatmul__()

SymMatrix3d mrmeshpy.SymMatrix3d.__imatmul__ ( self,
float b )

◆ __isub__()

SymMatrix3d mrmeshpy.SymMatrix3d.__isub__ ( self,
SymMatrix3d b )

◆ __itruediv__()

SymMatrix3d mrmeshpy.SymMatrix3d.__itruediv__ ( self,
float b )

◆ _pybind11_conduit_v1_()

mrmeshpy.SymMatrix3d._pybind11_conduit_v1_ ( * args,
** kwargs )
staticprotected

◆ det()

float mrmeshpy.SymMatrix3d.det ( self)
computes determinant of the matrix

◆ diagonal()

SymMatrix3d mrmeshpy.SymMatrix3d.diagonal ( float diagVal)
static

◆ eigens()

Vector3d mrmeshpy.SymMatrix3d.eigens ( self,
Matrix3d eigenvectors = None )
returns eigenvalues of the matrix in ascending order (diagonal matrix L), and
optionally returns corresponding unit eigenvectors in the rows of orthogonal matrix V,
M*V^T = V^T*L; M = V^T*L*V

◆ eigenvector()

Vector3d mrmeshpy.SymMatrix3d.eigenvector ( self,
float eigenvalue )
computes not-unit eigenvector corresponding to a not-repeating eigenvalue

◆ identity()

SymMatrix3d mrmeshpy.SymMatrix3d.identity ( )
static

◆ inverse() [1/2]

SymMatrix3d mrmeshpy.SymMatrix3d.inverse ( self)
computes inverse matrix

◆ inverse() [2/2]

SymMatrix3d mrmeshpy.SymMatrix3d.inverse ( self,
float det )
computes inverse matrix given determinant of this

◆ normSq()

float mrmeshpy.SymMatrix3d.normSq ( self)
computes the squared norm of the matrix, which is equal to the sum of 9 squared elements

◆ pseudoinverse()

SymMatrix3d mrmeshpy.SymMatrix3d.pseudoinverse ( self,
float tol = 2.220446049250313e-16,
int_output rank = None,
Vector3d space = None )
for not-degenerate matrix returns just inverse matrix, otherwise
returns degenerate matrix, which performs inversion on not-kernel subspace;
\\param tol relative epsilon-tolerance for too small number detection
\\param rank optional output for this matrix rank according to given tolerance
\\param space rank=1: unit direction of solution line, rank=2: unit normal to solution plane, rank=3: zero vector

◆ trace()

float mrmeshpy.SymMatrix3d.trace ( self)
computes trace of the matrix

◆ xx() [1/2]

float mrmeshpy.SymMatrix3d.xx ( self)
zero matrix by default

◆ xx() [2/2]

None mrmeshpy.SymMatrix3d.xx ( self,
float arg1 )

◆ xy() [1/2]

float mrmeshpy.SymMatrix3d.xy ( self)
zero matrix by default

◆ xy() [2/2]

None mrmeshpy.SymMatrix3d.xy ( self,
float arg1 )

◆ xz() [1/2]

float mrmeshpy.SymMatrix3d.xz ( self)
zero matrix by default

◆ xz() [2/2]

None mrmeshpy.SymMatrix3d.xz ( self,
float arg1 )

◆ yy() [1/2]

float mrmeshpy.SymMatrix3d.yy ( self)
zero matrix by default

◆ yy() [2/2]

None mrmeshpy.SymMatrix3d.yy ( self,
float arg1 )

◆ yz() [1/2]

float mrmeshpy.SymMatrix3d.yz ( self)
zero matrix by default

◆ yz() [2/2]

None mrmeshpy.SymMatrix3d.yz ( self,
float arg1 )

◆ zz() [1/2]

float mrmeshpy.SymMatrix3d.zz ( self)
zero matrix by default

◆ zz() [2/2]

None mrmeshpy.SymMatrix3d.zz ( self,
float arg1 )

The documentation for this class was generated from the following file: