MeshLib Python Docs
Loading...
Searching...
No Matches
Inheritance diagram for mrmeshpy.ConstSymMatrix2f:

Public Member Functions

 __init__ (self, *args, **kwargs)
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='std::numeric_limits< float >::epsilon()', int_output rank=None, Vector2f space=None)
float trace (self)
float xx (self)
float xy (self)
float yy (self)

Static Public Member Functions

SymMatrix2f diagonal (float diagVal)
SymMatrix2f identity ()

Static Protected Attributes

typing _offsetof_xx = 0
typing _offsetof_xy = 4
typing _offsetof_yy = 8

Detailed Description

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

symmetric 2x2 matrix

Constructor & Destructor Documentation

◆ __init__()

mrmeshpy.ConstSymMatrix2f.__init__ ( self,
* args,
** kwargs )
__init__(*args, **kwargs)
Overloaded function.

1. __init__(self: meshlib.mrmeshpy.ConstSymMatrix2f) -> None

2. __init__(self: meshlib.mrmeshpy.ConstSymMatrix2f, arg0: meshlib.mrmeshpy.ConstSymMatrix2f) -> None

Implicit copy constructor.

3. __init__(self: meshlib.mrmeshpy.ConstSymMatrix2f, : meshlib.mrmeshpy.ConstSymMatrix2f) -> None

Member Function Documentation

◆ det()

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

◆ diagonal()

SymMatrix2f mrmeshpy.ConstSymMatrix2f.diagonal ( float diagVal)
static

◆ eigens()

Vector2f mrmeshpy.ConstSymMatrix2f.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 mrmeshpy.ConstSymMatrix2f.eigenvector ( self,
float eigenvalue )
computes not-unit eigenvector corresponding to a not-repeating eigenvalue

◆ identity()

SymMatrix2f mrmeshpy.ConstSymMatrix2f.identity ( )
static

◆ inverse() [1/2]

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

◆ inverse() [2/2]

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

◆ maxEigenvector()

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

◆ normSq()

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

◆ pseudoinverse()

SymMatrix2f mrmeshpy.ConstSymMatrix2f.pseudoinverse ( self,
float tol = 'std::numeric_limits<float>::epsilon()',
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 mrmeshpy.ConstSymMatrix2f.trace ( self)
computes trace of the matrix

◆ xx()

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

Reimplemented in mrmeshpy.SymMatrix2f, and mrmeshpy.SymMatrix2f.

◆ xy()

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

Reimplemented in mrmeshpy.SymMatrix2f, and mrmeshpy.SymMatrix2f.

◆ yy()

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

Reimplemented in mrmeshpy.SymMatrix2f, and mrmeshpy.SymMatrix2f.

Member Data Documentation

◆ _offsetof_xx

typing mrmeshpy.ConstSymMatrix2f._offsetof_xx = 0
staticprotected

◆ _offsetof_xy

typing mrmeshpy.ConstSymMatrix2f._offsetof_xy = 4
staticprotected

◆ _offsetof_yy

typing mrmeshpy.ConstSymMatrix2f._offsetof_yy = 8
staticprotected

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