MeshLib Rust Docs
Loading...
Searching...
No Matches
Inheritance diagram for meshlib::SymMatrix3d:

Public Member Functions

auto assign_from_another (_other:&meshlib::SymMatrix3d) -> &mut meshlib::SymMatrix3d
auto trace () const -> f64
auto norm_sq () const -> f64
auto det () const -> f64
auto inverse_0 () const -> meshlib::Owned< meshlib::SymMatrix3d >
auto inverse_1 (det:f64) const -> meshlib::Owned< meshlib::SymMatrix3d >
auto add_assign (b:&meshlib::SymMatrix3d) -> &mut meshlib::SymMatrix3d
auto sub_assign (b:&meshlib::SymMatrix3d) -> &mut meshlib::SymMatrix3d
auto mul_assign (b:f64) -> &mut meshlib::SymMatrix3d
auto div_assign (b:f64) -> &mut meshlib::SymMatrix3d
auto eigens (eigenvectors:Option<&mut meshlib::Matrix3d >) const -> meshlib::Vector3d
auto eigenvector (eigenvalue:f64) const -> meshlib::Vector3d
auto pseudoinverse (tol:Option< f64 >, rank:Option<&mut core::ffi::c_int >, space:Option<&mut meshlib::Vector3d >) const -> meshlib::Owned< meshlib::SymMatrix3d >
auto xx () const -> &f64
auto xx_mut () -> &mut f64
void set_xx (value:f64)
auto xy () const -> &f64
auto xy_mut () -> &mut f64
void set_xy (value:f64)
auto xz () const -> &f64
auto xz_mut () -> &mut f64
void set_xz (value:f64)
auto yy () const -> &f64
auto yy_mut () -> &mut f64
void set_yy (value:f64)
auto yz () const -> &f64
auto yz_mut () -> &mut f64
void set_yz (value:f64)
auto zz () const -> &f64
auto zz_mut () -> &mut f64
void set_zz (value:f64)

Static Public Member Functions

static auto new () -> meshlib::Owned< meshlib::SymMatrix3d >
static auto construct_from_another (_other:&meshlib::SymMatrix3d) -> meshlib::Owned< meshlib::SymMatrix3d >
static auto identity () -> meshlib::Owned< meshlib::SymMatrix3d >
static auto diagonal (diagVal:f64) -> meshlib::Owned< meshlib::SymMatrix3d >
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

Detailed Description

symmetric 3x3 matrix Generated from class MR::SymMatrix3d.

Generated from class MR::SymMatrix3d. Heap-allocated instances are held in Owned<SymMatrix3d>.

Member Function Documentation

◆ add_assign()

auto meshlib::SymMatrix3d::add_assign ( b:&meshlib::SymMatrix3d ) -> &mut meshlib::SymMatrix3d

Generated from method MR::SymMatrix3d::operator+=.

Calls MR_SymMatrix3d_add_assign(). The reference to this object might be preserved in the return value.

◆ assign_from_another()

auto meshlib::SymMatrix3d::assign_from_another ( _other:&meshlib::SymMatrix3d ) -> &mut meshlib::SymMatrix3d

Generated from method MR::SymMatrix3d::operator=.

Calls MR_SymMatrix3d_AssignFromAnother(). The reference to things referred to by the parameter _other (if any) might be preserved in this object.

◆ construct_from_another()

auto meshlib::SymMatrix3d::construct_from_another ( _other:&meshlib::SymMatrix3d ) -> meshlib::Owned< meshlib::SymMatrix3d >
static

Generated from constructor MR::SymMatrix3d::SymMatrix3d.

Calls MR_SymMatrix3d_ConstructFromAnother(). The reference to things referred to by the parameter _other (if any) might be preserved in the constructed object.

◆ det()

auto meshlib::SymMatrix3d::det ( ) const -> f64

computes determinant of the matrix Generated from method MR::SymMatrix3d::det.

Calls MR_SymMatrix3d_det().

◆ diagonal()

auto meshlib::SymMatrix3d::diagonal ( diagVal:f64 ) -> meshlib::Owned< meshlib::SymMatrix3d >
static

Generated from method MR::SymMatrix3d::diagonal.

Calls MR_SymMatrix3d_diagonal().

◆ div_assign()

auto meshlib::SymMatrix3d::div_assign ( b:f64 ) -> &mut meshlib::SymMatrix3d

Generated from method MR::SymMatrix3d::operator/=.

Calls MR_SymMatrix3d_div_assign(). The reference to this object might be preserved in the return value.

◆ eigens()

auto meshlib::SymMatrix3d::eigens ( eigenvectors:Option<&mut meshlib::Matrix3d > ) const -> meshlib::Vector3d

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::SymMatrix3d::eigens.

Calls MR_SymMatrix3d_eigens().

◆ eigenvector()

auto meshlib::SymMatrix3d::eigenvector ( eigenvalue:f64 ) const -> meshlib::Vector3d

computes not-unit eigenvector corresponding to a not-repeating eigenvalue Generated from method MR::SymMatrix3d::eigenvector.

Calls MR_SymMatrix3d_eigenvector().

◆ identity()

auto meshlib::SymMatrix3d::identity ( ) -> meshlib::Owned< meshlib::SymMatrix3d >
static

Generated from method MR::SymMatrix3d::identity.

Calls MR_SymMatrix3d_identity().

◆ inverse_0()

auto meshlib::SymMatrix3d::inverse_0 ( ) const -> meshlib::Owned< meshlib::SymMatrix3d >

computes inverse matrix Generated from method MR::SymMatrix3d::inverse.

Calls MR_SymMatrix3d_inverse_0().

◆ inverse_1()

auto meshlib::SymMatrix3d::inverse_1 ( det:f64 ) const -> meshlib::Owned< meshlib::SymMatrix3d >

computes inverse matrix given determinant of this Generated from method MR::SymMatrix3d::inverse.

Calls MR_SymMatrix3d_inverse_1().

◆ mul_assign()

auto meshlib::SymMatrix3d::mul_assign ( b:f64 ) -> &mut meshlib::SymMatrix3d

Generated from method MR::SymMatrix3d::operator*=.

Calls MR_SymMatrix3d_mul_assign(). The reference to this object might be preserved in the return value.

◆ new()

auto meshlib::SymMatrix3d::new ( ) -> meshlib::Owned< meshlib::SymMatrix3d >
static

Constructs an empty (default-constructed) instance.

Calls MR_SymMatrix3d_DefaultConstruct().

◆ norm_sq()

auto meshlib::SymMatrix3d::norm_sq ( ) const -> f64

computes the squared norm of the matrix, which is equal to the sum of 9 squared elements Generated from method MR::SymMatrix3d::normSq.

Calls MR_SymMatrix3d_normSq().

◆ pseudoinverse()

auto meshlib::SymMatrix3d::pseudoinverse ( tol:Option< f64 > ,
rank:Option<&mut core::ffi::c_int > ,
space:Option<&mut meshlib::Vector3d >  ) const -> meshlib::Owned< meshlib::SymMatrix3d >

for not-degenerate matrix returns just inverse matrix, otherwise returns degenerate matrix, which performs inversion on not-kernel subspace;

Parameters
tolrelative epsilon-tolerance for too small number detection
rankoptional output for this matrix rank according to given tolerance
spacerank=1: unit direction of solution line, rank=2: unit normal to solution plane, rank=3: zero vector Generated from method MR::SymMatrix3d::pseudoinverse.

Calls MR_SymMatrix3d_pseudoinverse().

◆ set_xx()

void meshlib::SymMatrix3d::set_xx ( value:f64 )

zero matrix by default Modifies a member variable of class MR::SymMatrix3d named xx.

Calls MR_SymMatrix3d_Set_xx().

◆ set_xy()

void meshlib::SymMatrix3d::set_xy ( value:f64 )

zero matrix by default Modifies a member variable of class MR::SymMatrix3d named xy.

Calls MR_SymMatrix3d_Set_xy().

◆ set_xz()

void meshlib::SymMatrix3d::set_xz ( value:f64 )

zero matrix by default Modifies a member variable of class MR::SymMatrix3d named xz.

Calls MR_SymMatrix3d_Set_xz().

◆ set_yy()

void meshlib::SymMatrix3d::set_yy ( value:f64 )

zero matrix by default Modifies a member variable of class MR::SymMatrix3d named yy.

Calls MR_SymMatrix3d_Set_yy().

◆ set_yz()

void meshlib::SymMatrix3d::set_yz ( value:f64 )

zero matrix by default Modifies a member variable of class MR::SymMatrix3d named yz.

Calls MR_SymMatrix3d_Set_yz().

◆ set_zz()

void meshlib::SymMatrix3d::set_zz ( value:f64 )

zero matrix by default Modifies a member variable of class MR::SymMatrix3d named zz.

Calls MR_SymMatrix3d_Set_zz().

◆ sub_assign()

auto meshlib::SymMatrix3d::sub_assign ( b:&meshlib::SymMatrix3d ) -> &mut meshlib::SymMatrix3d

Generated from method MR::SymMatrix3d::operator-=.

Calls MR_SymMatrix3d_sub_assign(). The reference to this object might be preserved in the return value.

◆ trace()

auto meshlib::SymMatrix3d::trace ( ) const -> f64

computes trace of the matrix Generated from method MR::SymMatrix3d::trace.

Calls MR_SymMatrix3d_trace().

◆ xx()

auto meshlib::SymMatrix3d::xx ( ) const -> &f64

zero matrix by default Returns a pointer to a member variable of class MR::SymMatrix3d named xx.

Calls MR_SymMatrix3d_Get_xx(). The reference to this object might be preserved as the return value.

◆ xx_mut()

auto meshlib::SymMatrix3d::xx_mut ( ) -> &mut f64

zero matrix by default Returns a mutable pointer to a member variable of class MR::SymMatrix3d named xx.

Calls MR_SymMatrix3d_GetMutable_xx(). The reference to this object might be preserved as the return value.

◆ xy()

auto meshlib::SymMatrix3d::xy ( ) const -> &f64

zero matrix by default Returns a pointer to a member variable of class MR::SymMatrix3d named xy.

Calls MR_SymMatrix3d_Get_xy(). The reference to this object might be preserved as the return value.

◆ xy_mut()

auto meshlib::SymMatrix3d::xy_mut ( ) -> &mut f64

zero matrix by default Returns a mutable pointer to a member variable of class MR::SymMatrix3d named xy.

Calls MR_SymMatrix3d_GetMutable_xy(). The reference to this object might be preserved as the return value.

◆ xz()

auto meshlib::SymMatrix3d::xz ( ) const -> &f64

zero matrix by default Returns a pointer to a member variable of class MR::SymMatrix3d named xz.

Calls MR_SymMatrix3d_Get_xz(). The reference to this object might be preserved as the return value.

◆ xz_mut()

auto meshlib::SymMatrix3d::xz_mut ( ) -> &mut f64

zero matrix by default Returns a mutable pointer to a member variable of class MR::SymMatrix3d named xz.

Calls MR_SymMatrix3d_GetMutable_xz(). The reference to this object might be preserved as the return value.

◆ yy()

auto meshlib::SymMatrix3d::yy ( ) const -> &f64

zero matrix by default Returns a pointer to a member variable of class MR::SymMatrix3d named yy.

Calls MR_SymMatrix3d_Get_yy(). The reference to this object might be preserved as the return value.

◆ yy_mut()

auto meshlib::SymMatrix3d::yy_mut ( ) -> &mut f64

zero matrix by default Returns a mutable pointer to a member variable of class MR::SymMatrix3d named yy.

Calls MR_SymMatrix3d_GetMutable_yy(). The reference to this object might be preserved as the return value.

◆ yz()

auto meshlib::SymMatrix3d::yz ( ) const -> &f64

zero matrix by default Returns a pointer to a member variable of class MR::SymMatrix3d named yz.

Calls MR_SymMatrix3d_Get_yz(). The reference to this object might be preserved as the return value.

◆ yz_mut()

auto meshlib::SymMatrix3d::yz_mut ( ) -> &mut f64

zero matrix by default Returns a mutable pointer to a member variable of class MR::SymMatrix3d named yz.

Calls MR_SymMatrix3d_GetMutable_yz(). The reference to this object might be preserved as the return value.

◆ zz()

auto meshlib::SymMatrix3d::zz ( ) const -> &f64

zero matrix by default Returns a pointer to a member variable of class MR::SymMatrix3d named zz.

Calls MR_SymMatrix3d_Get_zz(). The reference to this object might be preserved as the return value.

◆ zz_mut()

auto meshlib::SymMatrix3d::zz_mut ( ) -> &mut f64

zero matrix by default Returns a mutable pointer to a member variable of class MR::SymMatrix3d named zz.

Calls MR_SymMatrix3d_GetMutable_zz(). The reference to this object might be preserved as the return value.


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