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 |
Generated from: MR::SymMatrix2f Aliases: QuadraticForm_Vector2f_SM, Vector2_float_SymMatrixType symmetric 2x2 matrix
| 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
| float mrmeshpy.ConstSymMatrix2f.det | ( | self | ) |
computes determinant of the matrix
|
static |
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
| Vector2f mrmeshpy.ConstSymMatrix2f.eigenvector | ( | self, | |
| float | eigenvalue ) |
computes not-unit eigenvector corresponding to a not-repeating eigenvalue
|
static |
| SymMatrix2f mrmeshpy.ConstSymMatrix2f.inverse | ( | self | ) |
computes inverse matrix
| SymMatrix2f mrmeshpy.ConstSymMatrix2f.inverse | ( | self, | |
| float | det ) |
computes inverse matrix given determinant of this
| Vector2f mrmeshpy.ConstSymMatrix2f.maxEigenvector | ( | self | ) |
computes not-unit eigenvector corresponding to maximum eigenvalue
| float mrmeshpy.ConstSymMatrix2f.normSq | ( | self | ) |
computes the squared norm of the matrix, which is equal to the sum of 4 squared elements
| 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
| float mrmeshpy.ConstSymMatrix2f.trace | ( | self | ) |
computes trace of the matrix
| float mrmeshpy.ConstSymMatrix2f.xx | ( | self | ) |
zero matrix by default
Reimplemented in mrmeshpy.SymMatrix2f, and mrmeshpy.SymMatrix2f.
| float mrmeshpy.ConstSymMatrix2f.xy | ( | self | ) |
zero matrix by default
Reimplemented in mrmeshpy.SymMatrix2f, and mrmeshpy.SymMatrix2f.
| float mrmeshpy.ConstSymMatrix2f.yy | ( | self | ) |
zero matrix by default
Reimplemented in mrmeshpy.SymMatrix2f, and mrmeshpy.SymMatrix2f.
|
staticprotected |
|
staticprotected |
|
staticprotected |