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

Public Member Functions

SymMatrix2f __iadd__ (self, SymMatrix2f b)
 
SymMatrix2f __imatmul__ (self, float b)
 
None __init__ (self)
 
None __init__ (self, SymMatrix2f arg0)
 
SymMatrix2f __isub__ (self, SymMatrix2f b)
 
SymMatrix2f __itruediv__ (self, float b)
 
float det (self)
 
Vector2f eigens (self, Matrix2f eigenvectors=None)
 
Vector2f eigenvector (self, float eigenvalue)
 
SymMatrix2f inverse (self)
 
SymMatrix2f inverse (self, float det)
 
Vector2f maxEigenvector (self)
 
float normSq (self)
 
SymMatrix2f pseudoinverse (self, float tol=1.1920928955078125e-07, int_output rank=None, Vector2f space=None)
 
float trace (self)
 
float xx (self)
 
None xx (self, float arg1)
 
float xy (self)
 
None xy (self, float arg1)
 
float yy (self)
 
None yy (self, float arg1)
 

Static Public Member Functions

SymMatrix2f diagonal (float diagVal)
 
SymMatrix2f identity ()
 

Detailed Description

Generated from:  MR::SymMatrix2f
Aliases:  Vector2_float_SymMatrixType, SymMatrix2_float, QuadraticForm_Vector2f_SM, SymMatrix2_float

symmetric 2x2 matrix
\\ingroup MatrixGroup

Constructor & Destructor Documentation

◆ __init__() [1/2]

None meshlib.mrmeshpy.SymMatrix2f.__init__ ( self)

◆ __init__() [2/2]

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

Member Function Documentation

◆ __iadd__()

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

◆ __imatmul__()

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

◆ __isub__()

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

◆ __itruediv__()

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

◆ det()

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

◆ diagonal()

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

◆ eigens()

Vector2f meshlib.mrmeshpy.SymMatrix2f.eigens ( self,
Matrix2f 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()

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

◆ identity()

SymMatrix2f meshlib.mrmeshpy.SymMatrix2f.identity ( )
static

◆ inverse() [1/2]

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

◆ inverse() [2/2]

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

◆ maxEigenvector()

Vector2f meshlib.mrmeshpy.SymMatrix2f.maxEigenvector ( self)
computes not-unit eigenvector corresponding to maximum eigenvalue

◆ normSq()

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

◆ pseudoinverse()

SymMatrix2f meshlib.mrmeshpy.SymMatrix2f.pseudoinverse ( self,
float tol = 1.1920928955078125e-07,
int_output rank = None,
Vector2f 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: zero vector

◆ trace()

float meshlib.mrmeshpy.SymMatrix2f.trace ( self)
computes trace of the matrix

◆ xx() [1/2]

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

◆ xx() [2/2]

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

◆ xy() [1/2]

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

◆ xy() [2/2]

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

◆ yy() [1/2]

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

◆ yy() [2/2]

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

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