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

Public Member Functions

 __init__ (self, *args, **kwargs)
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='std::numeric_limits< double >::epsilon()', int_output rank=None, Vector3d 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

SymMatrix3d diagonal (float diagVal)
SymMatrix3d identity ()

Static Protected Attributes

typing _offsetof_xx = 0
typing _offsetof_xy = 8
typing _offsetof_xz = 16
typing _offsetof_yy = 24
typing _offsetof_yz = 32
typing _offsetof_zz = 40

Detailed Description

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

symmetric 3x3 matrix

Constructor & Destructor Documentation

◆ __init__()

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

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

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

Implicit copy constructor.

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

Member Function Documentation

◆ det()

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

◆ diagonal()

SymMatrix3d mrmeshpy.ConstSymMatrix3d.diagonal ( float diagVal)
static

◆ eigens()

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

◆ identity()

SymMatrix3d mrmeshpy.ConstSymMatrix3d.identity ( )
static

◆ inverse() [1/2]

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

◆ inverse() [2/2]

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

◆ normSq()

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

◆ pseudoinverse()

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

◆ xx()

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

Reimplemented in mrmeshpy.SymMatrix3d, and mrmeshpy.SymMatrix3d.

◆ xy()

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

Reimplemented in mrmeshpy.SymMatrix3d, and mrmeshpy.SymMatrix3d.

◆ xz()

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

Reimplemented in mrmeshpy.SymMatrix3d, and mrmeshpy.SymMatrix3d.

◆ yy()

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

Reimplemented in mrmeshpy.SymMatrix3d, and mrmeshpy.SymMatrix3d.

◆ yz()

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

Reimplemented in mrmeshpy.SymMatrix3d, and mrmeshpy.SymMatrix3d.

◆ zz()

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

Reimplemented in mrmeshpy.SymMatrix3d, and mrmeshpy.SymMatrix3d.

Member Data Documentation

◆ _offsetof_xx

typing mrmeshpy.ConstSymMatrix3d._offsetof_xx = 0
staticprotected

◆ _offsetof_xy

typing mrmeshpy.ConstSymMatrix3d._offsetof_xy = 8
staticprotected

◆ _offsetof_xz

typing mrmeshpy.ConstSymMatrix3d._offsetof_xz = 16
staticprotected

◆ _offsetof_yy

typing mrmeshpy.ConstSymMatrix3d._offsetof_yy = 24
staticprotected

◆ _offsetof_yz

typing mrmeshpy.ConstSymMatrix3d._offsetof_yz = 32
staticprotected

◆ _offsetof_zz

typing mrmeshpy.ConstSymMatrix3d._offsetof_zz = 40
staticprotected

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