Public Member Functions | |
| __init__ (self, *args, **kwargs) | |
| float | det (self) |
| Vector2d | eigens (self, Matrix2d eigenvectors=None) |
| Vector2d | eigenvector (self, float eigenvalue) |
| SymMatrix2d | inverse (self) |
| SymMatrix2d | inverse (self, float det) |
| Vector2d | maxEigenvector (self) |
| float | normSq (self) |
| SymMatrix2d | pseudoinverse (self, float tol='std::numeric_limits< double >::epsilon()', int_output rank=None, Vector2d space=None) |
| float | trace (self) |
| float | xx (self) |
| float | xy (self) |
| float | yy (self) |
Static Public Member Functions | |
| SymMatrix2d | diagonal (float diagVal) |
| SymMatrix2d | identity () |
Static Protected Attributes | |
| typing | _offsetof_xx = 0 |
| typing | _offsetof_xy = 8 |
| typing | _offsetof_yy = 16 |
Generated from: MR::SymMatrix2d Aliases: QuadraticForm_Vector2d_SM, Vector2_double_SymMatrixType symmetric 2x2 matrix
| mrmeshpy.ConstSymMatrix2d.__init__ | ( | self, | |
| * | args, | ||
| ** | kwargs ) |
__init__(*args, **kwargs) Overloaded function. 1. __init__(self: meshlib.mrmeshpy.ConstSymMatrix2d) -> None 2. __init__(self: meshlib.mrmeshpy.ConstSymMatrix2d, arg0: meshlib.mrmeshpy.ConstSymMatrix2d) -> None Implicit copy constructor. 3. __init__(self: meshlib.mrmeshpy.ConstSymMatrix2d, : meshlib.mrmeshpy.ConstSymMatrix2d) -> None
| float mrmeshpy.ConstSymMatrix2d.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
| Vector2d mrmeshpy.ConstSymMatrix2d.eigenvector | ( | self, | |
| float | eigenvalue ) |
computes not-unit eigenvector corresponding to a not-repeating eigenvalue
|
static |
| SymMatrix2d mrmeshpy.ConstSymMatrix2d.inverse | ( | self | ) |
computes inverse matrix
| SymMatrix2d mrmeshpy.ConstSymMatrix2d.inverse | ( | self, | |
| float | det ) |
computes inverse matrix given determinant of this
| Vector2d mrmeshpy.ConstSymMatrix2d.maxEigenvector | ( | self | ) |
computes not-unit eigenvector corresponding to maximum eigenvalue
| float mrmeshpy.ConstSymMatrix2d.normSq | ( | self | ) |
computes the squared norm of the matrix, which is equal to the sum of 4 squared elements
| SymMatrix2d mrmeshpy.ConstSymMatrix2d.pseudoinverse | ( | self, | |
| float | tol = 'std::numeric_limits<double>::epsilon()', | ||
| int_output | rank = None, | ||
| Vector2d | 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.ConstSymMatrix2d.trace | ( | self | ) |
computes trace of the matrix
| float mrmeshpy.ConstSymMatrix2d.xx | ( | self | ) |
zero matrix by default
Reimplemented in mrmeshpy.SymMatrix2d, and mrmeshpy.SymMatrix2d.
| float mrmeshpy.ConstSymMatrix2d.xy | ( | self | ) |
zero matrix by default
Reimplemented in mrmeshpy.SymMatrix2d, and mrmeshpy.SymMatrix2d.
| float mrmeshpy.ConstSymMatrix2d.yy | ( | self | ) |
zero matrix by default
Reimplemented in mrmeshpy.SymMatrix2d, and mrmeshpy.SymMatrix2d.
|
staticprotected |
|
staticprotected |
|
staticprotected |