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

Public Member Functions

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

Static Public Member Functions

SymMatrix3f diagonal (float diagVal)
SymMatrix3f identity ()

Static Protected Attributes

typing _offsetof_xx = 0
typing _offsetof_xy = 4
typing _offsetof_xz = 8
typing _offsetof_yy = 12
typing _offsetof_yz = 16
typing _offsetof_zz = 20

Detailed Description

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

symmetric 3x3 matrix

Constructor & Destructor Documentation

◆ __init__()

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

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

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

Implicit copy constructor.

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

Member Function Documentation

◆ det()

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

◆ diagonal()

SymMatrix3f mrmeshpy.ConstSymMatrix3f.diagonal ( float diagVal)
static

◆ eigens()

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

◆ identity()

SymMatrix3f mrmeshpy.ConstSymMatrix3f.identity ( )
static

◆ inverse() [1/2]

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

◆ inverse() [2/2]

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

◆ normSq()

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

◆ pseudoinverse()

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

◆ xx()

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

Reimplemented in mrmeshpy.SymMatrix3f, and mrmeshpy.SymMatrix3f.

◆ xy()

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

Reimplemented in mrmeshpy.SymMatrix3f, and mrmeshpy.SymMatrix3f.

◆ xz()

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

Reimplemented in mrmeshpy.SymMatrix3f, and mrmeshpy.SymMatrix3f.

◆ yy()

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

Reimplemented in mrmeshpy.SymMatrix3f, and mrmeshpy.SymMatrix3f.

◆ yz()

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

Reimplemented in mrmeshpy.SymMatrix3f, and mrmeshpy.SymMatrix3f.

◆ zz()

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

Reimplemented in mrmeshpy.SymMatrix3f, and mrmeshpy.SymMatrix3f.

Member Data Documentation

◆ _offsetof_xx

typing mrmeshpy.ConstSymMatrix3f._offsetof_xx = 0
staticprotected

◆ _offsetof_xy

typing mrmeshpy.ConstSymMatrix3f._offsetof_xy = 4
staticprotected

◆ _offsetof_xz

typing mrmeshpy.ConstSymMatrix3f._offsetof_xz = 8
staticprotected

◆ _offsetof_yy

typing mrmeshpy.ConstSymMatrix3f._offsetof_yy = 12
staticprotected

◆ _offsetof_yz

typing mrmeshpy.ConstSymMatrix3f._offsetof_yz = 16
staticprotected

◆ _offsetof_zz

typing mrmeshpy.ConstSymMatrix3f._offsetof_zz = 20
staticprotected

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