MeshLib Python Docs
Loading...
Searching...
No Matches
meshlib.mrmeshpy.SymMatrix3f Class Reference

Public Member Functions

SymMatrix3f __iadd__ (self, SymMatrix3f b)
 
SymMatrix3f __imatmul__ (self, float b)
 
None __init__ (self)
 
None __init__ (self, SymMatrix3f m)
 
None __init__ (self, SymMatrix3f arg0)
 
SymMatrix3f __isub__ (self, SymMatrix3f b)
 
SymMatrix3f __itruediv__ (self, float b)
 
float det (self)
 
Vector3f eigens (self, Matrix3f eigenvectors=None)
 
Vector3f eigenvector (self, float eigenvalue)
 
SymMatrix3f inverse (self)
 
SymMatrix3f inverse (self, float det)
 
float normSq (self)
 
SymMatrix3f pseudoinverse (self, float tol=1.1920928955078125e-07, int_output rank=None, Vector3f 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

SymMatrix3f diagonal (float diagVal)
 
SymMatrix3f identity ()
 

Detailed Description

Generated from:  MR::SymMatrix3f
Aliases:  SymMatrix3_float, SymMatrix3_float, QuadraticForm_Vector3f_SM, Vector3_float_SymMatrixType

symmetric 3x3 matrix
\\ingroup MatrixGroup

Constructor & Destructor Documentation

◆ __init__() [1/3]

None meshlib.mrmeshpy.SymMatrix3f.__init__ ( self)

◆ __init__() [2/3]

None meshlib.mrmeshpy.SymMatrix3f.__init__ ( self,
SymMatrix3f m )

◆ __init__() [3/3]

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

Member Function Documentation

◆ __iadd__()

SymMatrix3f meshlib.mrmeshpy.SymMatrix3f.__iadd__ ( self,
SymMatrix3f b )

◆ __imatmul__()

SymMatrix3f meshlib.mrmeshpy.SymMatrix3f.__imatmul__ ( self,
float b )

◆ __isub__()

SymMatrix3f meshlib.mrmeshpy.SymMatrix3f.__isub__ ( self,
SymMatrix3f b )

◆ __itruediv__()

SymMatrix3f meshlib.mrmeshpy.SymMatrix3f.__itruediv__ ( self,
float b )

◆ det()

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

◆ diagonal()

SymMatrix3f meshlib.mrmeshpy.SymMatrix3f.diagonal ( float diagVal)
static

◆ eigens()

Vector3f meshlib.mrmeshpy.SymMatrix3f.eigens ( self,
Matrix3f 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()

Vector3f meshlib.mrmeshpy.SymMatrix3f.eigenvector ( self,
float eigenvalue )
computes not-unit eigenvector corresponding to a not-repeating eigenvalue

◆ identity()

SymMatrix3f meshlib.mrmeshpy.SymMatrix3f.identity ( )
static

◆ inverse() [1/2]

SymMatrix3f meshlib.mrmeshpy.SymMatrix3f.inverse ( self)
computes inverse matrix

◆ inverse() [2/2]

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

◆ normSq()

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

◆ pseudoinverse()

SymMatrix3f meshlib.mrmeshpy.SymMatrix3f.pseudoinverse ( self,
float tol = 1.1920928955078125e-07,
int_output rank = None,
Vector3f 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 meshlib.mrmeshpy.SymMatrix3f.trace ( self)
computes trace of the matrix

◆ xx() [1/2]

float meshlib.mrmeshpy.SymMatrix3f.xx ( self)
zero matrix by default

◆ xx() [2/2]

None meshlib.mrmeshpy.SymMatrix3f.xx ( self,
float arg1 )

◆ xy() [1/2]

float meshlib.mrmeshpy.SymMatrix3f.xy ( self)
zero matrix by default

◆ xy() [2/2]

None meshlib.mrmeshpy.SymMatrix3f.xy ( self,
float arg1 )

◆ xz() [1/2]

float meshlib.mrmeshpy.SymMatrix3f.xz ( self)
zero matrix by default

◆ xz() [2/2]

None meshlib.mrmeshpy.SymMatrix3f.xz ( self,
float arg1 )

◆ yy() [1/2]

float meshlib.mrmeshpy.SymMatrix3f.yy ( self)
zero matrix by default

◆ yy() [2/2]

None meshlib.mrmeshpy.SymMatrix3f.yy ( self,
float arg1 )

◆ yz() [1/2]

float meshlib.mrmeshpy.SymMatrix3f.yz ( self)
zero matrix by default

◆ yz() [2/2]

None meshlib.mrmeshpy.SymMatrix3f.yz ( self,
float arg1 )

◆ zz() [1/2]

float meshlib.mrmeshpy.SymMatrix3f.zz ( self)
zero matrix by default

◆ zz() [2/2]

None meshlib.mrmeshpy.SymMatrix3f.zz ( self,
float arg1 )

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