Public Member Functions | |
| auto | assign_from_another (_other:&meshlib::SymMatrix2f) -> &mut meshlib::SymMatrix2f |
| auto | trace () const -> f32 |
| auto | norm_sq () const -> f32 |
| auto | det () const -> f32 |
| auto | inverse_0 () const -> meshlib::Owned< meshlib::SymMatrix2f > |
| auto | inverse_1 (det:f32) const -> meshlib::Owned< meshlib::SymMatrix2f > |
| auto | add_assign (b:&meshlib::SymMatrix2f) -> &mut meshlib::SymMatrix2f |
| auto | sub_assign (b:&meshlib::SymMatrix2f) -> &mut meshlib::SymMatrix2f |
| auto | mul_assign (b:f32) -> &mut meshlib::SymMatrix2f |
| auto | div_assign (b:f32) -> &mut meshlib::SymMatrix2f |
| auto | eigens (eigenvectors:Option<&mut meshlib::Matrix2f >) const -> meshlib::Vector2f |
| auto | eigenvector (eigenvalue:f32) const -> meshlib::Vector2f |
| auto | max_eigenvector () const -> meshlib::Vector2f |
| auto | pseudoinverse (tol:Option< f32 >, rank:Option<&mut core::ffi::c_int >, space:Option<&mut meshlib::Vector2f >) const -> meshlib::Owned< meshlib::SymMatrix2f > |
| auto | xx () const -> &f32 |
| auto | xx_mut () -> &mut f32 |
| void | set_xx (value:f32) |
| auto | xy () const -> &f32 |
| auto | xy_mut () -> &mut f32 |
| void | set_xy (value:f32) |
| auto | yy () const -> &f32 |
| auto | yy_mut () -> &mut f32 |
| void | set_yy (value:f32) |
Static Public Member Functions | |
| static auto | new () -> meshlib::Owned< meshlib::SymMatrix2f > |
| static auto | construct_from_another (_other:&meshlib::SymMatrix2f) -> meshlib::Owned< meshlib::SymMatrix2f > |
| static auto | identity () -> meshlib::Owned< meshlib::SymMatrix2f > |
| static auto | diagonal (diagVal:f32) -> meshlib::Owned< meshlib::SymMatrix2f > |
| Static Public Member Functions inherited from meshlib::CppClass | |
| static void | destroy (ptr:*mut Self) |
| Static Public Member Functions inherited from meshlib::CppCopy | |
| static auto | copy (ptr:*const Self) -> *mut Self |
symmetric 2x2 matrix Generated from class MR::SymMatrix2f.
Generated from class MR::SymMatrix2f. Heap-allocated instances are held in Owned<SymMatrix2f>.
| auto meshlib::SymMatrix2f::add_assign | ( | b:&meshlib::SymMatrix2f | ) | -> &mut meshlib::SymMatrix2f |
Generated from method MR::SymMatrix2f::operator+=.
Calls MR_SymMatrix2f_add_assign(). The reference to this object might be preserved in the return value.
| auto meshlib::SymMatrix2f::assign_from_another | ( | _other:&meshlib::SymMatrix2f | ) | -> &mut meshlib::SymMatrix2f |
Generated from method MR::SymMatrix2f::operator=.
Calls MR_SymMatrix2f_AssignFromAnother(). The reference to things referred to by the parameter _other (if any) might be preserved in this object.
|
static |
Generated from constructor MR::SymMatrix2f::SymMatrix2f.
Calls MR_SymMatrix2f_ConstructFromAnother(). The reference to things referred to by the parameter _other (if any) might be preserved in the constructed object.
| auto meshlib::SymMatrix2f::det | ( | ) | const -> f32 |
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().
| auto meshlib::SymMatrix2f::div_assign | ( | b:f32 | ) | -> &mut meshlib::SymMatrix2f |
Generated from method MR::SymMatrix2f::operator/=.
Calls MR_SymMatrix2f_div_assign(). The reference to this object might be preserved in the return value.
| auto meshlib::SymMatrix2f::eigens | ( | eigenvectors:Option<&mut meshlib::Matrix2f > | ) | const -> meshlib::Vector2f |
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().
| auto meshlib::SymMatrix2f::eigenvector | ( | eigenvalue:f32 | ) | const -> meshlib::Vector2f |
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().
| auto meshlib::SymMatrix2f::inverse_0 | ( | ) | const -> meshlib::Owned< meshlib::SymMatrix2f > |
computes inverse matrix Generated from method MR::SymMatrix2f::inverse.
Calls MR_SymMatrix2f_inverse_0().
| auto meshlib::SymMatrix2f::inverse_1 | ( | det:f32 | ) | const -> meshlib::Owned< meshlib::SymMatrix2f > |
computes inverse matrix given determinant of this Generated from method MR::SymMatrix2f::inverse.
Calls MR_SymMatrix2f_inverse_1().
| auto meshlib::SymMatrix2f::max_eigenvector | ( | ) | const -> meshlib::Vector2f |
computes not-unit eigenvector corresponding to maximum eigenvalue Generated from method MR::SymMatrix2f::maxEigenvector.
Calls MR_SymMatrix2f_maxEigenvector().
| auto meshlib::SymMatrix2f::mul_assign | ( | b:f32 | ) | -> &mut meshlib::SymMatrix2f |
Generated from method MR::SymMatrix2f::operator*=.
Calls MR_SymMatrix2f_mul_assign(). The reference to this object might be preserved in the return value.
|
static |
Constructs an empty (default-constructed) instance.
Calls MR_SymMatrix2f_DefaultConstruct().
| auto meshlib::SymMatrix2f::norm_sq | ( | ) | const -> f32 |
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().
| auto meshlib::SymMatrix2f::pseudoinverse | ( | tol:Option< f32 > | , |
| rank:Option<&mut core::ffi::c_int > | , | ||
| space:Option<&mut meshlib::Vector2f > | ) const -> meshlib::Owned< meshlib::SymMatrix2f > |
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::set_xx | ( | value:f32 | ) |
zero matrix by default Modifies a member variable of class MR::SymMatrix2f named xx.
Calls MR_SymMatrix2f_Set_xx().
| void meshlib::SymMatrix2f::set_xy | ( | value:f32 | ) |
zero matrix by default Modifies a member variable of class MR::SymMatrix2f named xy.
Calls MR_SymMatrix2f_Set_xy().
| void meshlib::SymMatrix2f::set_yy | ( | value:f32 | ) |
zero matrix by default Modifies a member variable of class MR::SymMatrix2f named yy.
Calls MR_SymMatrix2f_Set_yy().
| auto meshlib::SymMatrix2f::sub_assign | ( | b:&meshlib::SymMatrix2f | ) | -> &mut meshlib::SymMatrix2f |
Generated from method MR::SymMatrix2f::operator-=.
Calls MR_SymMatrix2f_sub_assign(). The reference to this object might be preserved in the return value.
| auto meshlib::SymMatrix2f::trace | ( | ) | const -> f32 |
computes trace of the matrix Generated from method MR::SymMatrix2f::trace.
Calls MR_SymMatrix2f_trace().
| auto meshlib::SymMatrix2f::xx | ( | ) | const -> &f32 |
zero matrix by default Returns a pointer to a member variable of class MR::SymMatrix2f named xx.
Calls MR_SymMatrix2f_Get_xx(). The reference to this object might be preserved as the return value.
| auto meshlib::SymMatrix2f::xx_mut | ( | ) | -> &mut f32 |
zero matrix by default Returns a mutable pointer to a member variable of class MR::SymMatrix2f named xx.
Calls MR_SymMatrix2f_GetMutable_xx(). The reference to this object might be preserved as the return value.
| auto meshlib::SymMatrix2f::xy | ( | ) | const -> &f32 |
zero matrix by default Returns a pointer to a member variable of class MR::SymMatrix2f named xy.
Calls MR_SymMatrix2f_Get_xy(). The reference to this object might be preserved as the return value.
| auto meshlib::SymMatrix2f::xy_mut | ( | ) | -> &mut f32 |
zero matrix by default Returns a mutable pointer to a member variable of class MR::SymMatrix2f named xy.
Calls MR_SymMatrix2f_GetMutable_xy(). The reference to this object might be preserved as the return value.
| auto meshlib::SymMatrix2f::yy | ( | ) | const -> &f32 |
zero matrix by default Returns a pointer to a member variable of class MR::SymMatrix2f named yy.
Calls MR_SymMatrix2f_Get_yy(). The reference to this object might be preserved as the return value.
| auto meshlib::SymMatrix2f::yy_mut | ( | ) | -> &mut f32 |
zero matrix by default Returns a mutable pointer to a member variable of class MR::SymMatrix2f named yy.
Calls MR_SymMatrix2f_GetMutable_yy(). The reference to this object might be preserved as the return value.