Static Public Member Functions | |
| static meshlib.SymMatrix2f | identity () |
| static meshlib.SymMatrix2f | diagonal (float diagVal) |
Additional Inherited Members | |
| Protected Member Functions inherited from meshlib.CppObject | |
| CppObject (java.lang.foreign.MemorySegment ptr, java.util.function.Consumer< java.lang.foreign.MemorySegment > destroy, java.lang.Object owner) | |
symmetric 2x2 matrix Generated from class MR::SymMatrix2f.
Instances created here own their C++ objects, see CppObject.
| meshlib.SymMatrix2f.SymMatrix2f | ( | java.lang.foreign.MemorySegment | ptr, |
| boolean | owned, | ||
| java.lang.Object | owner ) |
Wraps a pointer from the C bindings. If owned, the object is destroyed when the wrapper dies. owner is kept alive as long as this wrapper is. Not for normal use.
| meshlib.SymMatrix2f.SymMatrix2f | ( | ) |
Constructs an empty (default-constructed) instance.
Calls MR_SymMatrix2f_DefaultConstruct().
| meshlib.SymMatrix2f.SymMatrix2f | ( | meshlib.SymMatrix2f | _other | ) |
Generated from constructor MR::SymMatrix2f::SymMatrix2f. The reference to things referred to by the parameter _other (if any) might be preserved in the constructed object.
Calls MR_SymMatrix2f_ConstructFromAnother().
| meshlib.SymMatrix2f meshlib.SymMatrix2f.add_assign | ( | meshlib.SymMatrix2f | b | ) |
Generated from method MR::SymMatrix2f::operator+=. The reference to this object might be preserved in the return value.
Calls MR_SymMatrix2f_add_assign().
| meshlib.SymMatrix2f meshlib.SymMatrix2f.assignFromAnother | ( | meshlib.SymMatrix2f | _other | ) |
Generated from method MR::SymMatrix2f::operator=. The reference to things referred to by the parameter _other (if any) might be preserved in this object.
Calls MR_SymMatrix2f_AssignFromAnother().
| float meshlib.SymMatrix2f.det | ( | ) |
computes determinant of the matrix Generated from method MR::SymMatrix2f::det.
Calls MR_SymMatrix2f_det().
|
static |
Generated from method MR::SymMatrix2f::diagonal.
Calls MR_SymMatrix2f_diagonal().
| meshlib.SymMatrix2f meshlib.SymMatrix2f.div_assign | ( | float | b | ) |
Generated from method MR::SymMatrix2f::operator/=. The reference to this object might be preserved in the return value.
Calls MR_SymMatrix2f_div_assign().
| meshlib.Vector2f meshlib.SymMatrix2f.eigens | ( | meshlib.Matrix2f | eigenvectors | ) |
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 Generated from method MR::SymMatrix2f::eigens.
Calls MR_SymMatrix2f_eigens().
| meshlib.Vector2f meshlib.SymMatrix2f.eigenvector | ( | float | eigenvalue | ) |
computes not-unit eigenvector corresponding to a not-repeating eigenvalue Generated from method MR::SymMatrix2f::eigenvector.
Calls MR_SymMatrix2f_eigenvector().
|
static |
Generated from method MR::SymMatrix2f::identity.
Calls MR_SymMatrix2f_identity().
| meshlib.SymMatrix2f meshlib.SymMatrix2f.inverse | ( | ) |
computes inverse matrix Generated from method MR::SymMatrix2f::inverse.
Calls MR_SymMatrix2f_inverse_0().
| meshlib.SymMatrix2f meshlib.SymMatrix2f.inverse | ( | float | det | ) |
computes inverse matrix given determinant of this Generated from method MR::SymMatrix2f::inverse.
Calls MR_SymMatrix2f_inverse_1().
| meshlib.Vector2f meshlib.SymMatrix2f.maxEigenvector | ( | ) |
computes not-unit eigenvector corresponding to maximum eigenvalue Generated from method MR::SymMatrix2f::maxEigenvector.
Calls MR_SymMatrix2f_maxEigenvector().
| meshlib.SymMatrix2f meshlib.SymMatrix2f.mul_assign | ( | float | b | ) |
Generated from method MR::SymMatrix2f::operator*=. The reference to this object might be preserved in the return value.
Calls MR_SymMatrix2f_mul_assign().
| float meshlib.SymMatrix2f.normSq | ( | ) |
computes the squared norm of the matrix, which is equal to the sum of 4 squared elements Generated from method MR::SymMatrix2f::normSq.
Calls MR_SymMatrix2f_normSq().
| meshlib.SymMatrix2f meshlib.SymMatrix2f.pseudoinverse | ( | java.lang.Float | tol, |
| meshlib.int_output | rank, | ||
| meshlib.Vector2f | space ) |
for not-degenerate matrix returns just inverse matrix, otherwise returns degenerate matrix, which performs inversion on not-kernel subspace;
| tol | relative epsilon-tolerance for too small number detection |
| rank | optional output for this matrix rank according to given tolerance |
| space | rank=1: unit direction of solution line, rank=2: zero vector Generated from method MR::SymMatrix2f::pseudoinverse. |
Calls MR_SymMatrix2f_pseudoinverse().
| void meshlib.SymMatrix2f.setXx | ( | float | value | ) |
zero matrix by default Modifies a member variable of class MR::SymMatrix2f named xx.
Calls MR_SymMatrix2f_Set_xx().
| void meshlib.SymMatrix2f.setXy | ( | float | value | ) |
zero matrix by default Modifies a member variable of class MR::SymMatrix2f named xy.
Calls MR_SymMatrix2f_Set_xy().
| void meshlib.SymMatrix2f.setYy | ( | float | value | ) |
zero matrix by default Modifies a member variable of class MR::SymMatrix2f named yy.
Calls MR_SymMatrix2f_Set_yy().
| meshlib.SymMatrix2f meshlib.SymMatrix2f.sub_assign | ( | meshlib.SymMatrix2f | b | ) |
Generated from method MR::SymMatrix2f::operator-=. The reference to this object might be preserved in the return value.
Calls MR_SymMatrix2f_sub_assign().
| float meshlib.SymMatrix2f.trace | ( | ) |
computes trace of the matrix Generated from method MR::SymMatrix2f::trace.
Calls MR_SymMatrix2f_trace().
| float meshlib.SymMatrix2f.xx | ( | ) |
zero matrix by default Returns a pointer to a member variable of class MR::SymMatrix2f named xx. The reference to this object might be preserved as the return value.
Calls MR_SymMatrix2f_Get_xx().
| float meshlib.SymMatrix2f.xy | ( | ) |
zero matrix by default Returns a pointer to a member variable of class MR::SymMatrix2f named xy. The reference to this object might be preserved as the return value.
Calls MR_SymMatrix2f_Get_xy().
| float meshlib.SymMatrix2f.yy | ( | ) |
zero matrix by default Returns a pointer to a member variable of class MR::SymMatrix2f named yy. The reference to this object might be preserved as the return value.
Calls MR_SymMatrix2f_Get_yy().