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

Public Member Functions

 SymMatrix3d (java.lang.foreign.MemorySegment ptr, boolean owned, java.lang.Object owner)
 SymMatrix3d ()
 SymMatrix3d (meshlib.SymMatrix3d _other)
meshlib.SymMatrix3d assignFromAnother (meshlib.SymMatrix3d _other)
double trace ()
double normSq ()
double det ()
meshlib.SymMatrix3d inverse ()
meshlib.SymMatrix3d inverse (double det)
meshlib.SymMatrix3d add_assign (meshlib.SymMatrix3d b)
meshlib.SymMatrix3d sub_assign (meshlib.SymMatrix3d b)
meshlib.SymMatrix3d mul_assign (double b)
meshlib.SymMatrix3d div_assign (double b)
meshlib.Vector3d eigens (meshlib.Matrix3d eigenvectors)
meshlib.Vector3d eigenvector (double eigenvalue)
meshlib.SymMatrix3d pseudoinverse (java.lang.Double tol, meshlib.int_output rank, meshlib.Vector3d space)
double xx ()
void setXx (double value)
double xy ()
void setXy (double value)
double xz ()
void setXz (double value)
double yy ()
void setYy (double value)
double yz ()
void setYz (double value)
double zz ()
void setZz (double value)
Public Member Functions inherited from meshlib.CppObject
final java.lang.foreign.MemorySegment rawPointer ()
final boolean isOwned ()
final void close ()
final java.lang.foreign.MemorySegment release ()

Static Public Member Functions

static meshlib.SymMatrix3d identity ()
static meshlib.SymMatrix3d diagonal (double 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)

Detailed Description

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

Instances created here own their C++ objects, see CppObject.

Constructor & Destructor Documentation

◆ SymMatrix3d() [1/3]

meshlib.SymMatrix3d.SymMatrix3d ( 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.

◆ SymMatrix3d() [2/3]

meshlib.SymMatrix3d.SymMatrix3d ( )

Constructs an empty (default-constructed) instance.

Calls MR_SymMatrix3d_DefaultConstruct().

◆ SymMatrix3d() [3/3]

meshlib.SymMatrix3d.SymMatrix3d ( meshlib.SymMatrix3d _other)

Generated from constructor MR::SymMatrix3d::SymMatrix3d. The reference to things referred to by the parameter _other (if any) might be preserved in the constructed object.

Calls MR_SymMatrix3d_ConstructFromAnother().

Member Function Documentation

◆ add_assign()

meshlib.SymMatrix3d meshlib.SymMatrix3d.add_assign ( meshlib.SymMatrix3d b)

Generated from method MR::SymMatrix3d::operator+=. The reference to this object might be preserved in the return value.

Calls MR_SymMatrix3d_add_assign().

◆ assignFromAnother()

meshlib.SymMatrix3d meshlib.SymMatrix3d.assignFromAnother ( meshlib.SymMatrix3d _other)

Generated from method MR::SymMatrix3d::operator=. The reference to things referred to by the parameter _other (if any) might be preserved in this object.

Calls MR_SymMatrix3d_AssignFromAnother().

◆ det()

double meshlib.SymMatrix3d.det ( )

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

Calls MR_SymMatrix3d_det().

◆ diagonal()

meshlib.SymMatrix3d meshlib.SymMatrix3d.diagonal ( double diagVal)
static

Generated from method MR::SymMatrix3d::diagonal.

Calls MR_SymMatrix3d_diagonal().

◆ div_assign()

meshlib.SymMatrix3d meshlib.SymMatrix3d.div_assign ( double b)

Generated from method MR::SymMatrix3d::operator/=. The reference to this object might be preserved in the return value.

Calls MR_SymMatrix3d_div_assign().

◆ eigens()

meshlib.Vector3d meshlib.SymMatrix3d.eigens ( meshlib.Matrix3d 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::SymMatrix3d::eigens.

Calls MR_SymMatrix3d_eigens().

◆ eigenvector()

meshlib.Vector3d meshlib.SymMatrix3d.eigenvector ( double eigenvalue)

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

Calls MR_SymMatrix3d_eigenvector().

◆ identity()

meshlib.SymMatrix3d meshlib.SymMatrix3d.identity ( )
static

Generated from method MR::SymMatrix3d::identity.

Calls MR_SymMatrix3d_identity().

◆ inverse() [1/2]

meshlib.SymMatrix3d meshlib.SymMatrix3d.inverse ( )

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

Calls MR_SymMatrix3d_inverse_0().

◆ inverse() [2/2]

meshlib.SymMatrix3d meshlib.SymMatrix3d.inverse ( double det)

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

Calls MR_SymMatrix3d_inverse_1().

◆ mul_assign()

meshlib.SymMatrix3d meshlib.SymMatrix3d.mul_assign ( double b)

Generated from method MR::SymMatrix3d::operator*=. The reference to this object might be preserved in the return value.

Calls MR_SymMatrix3d_mul_assign().

◆ normSq()

double meshlib.SymMatrix3d.normSq ( )

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()

meshlib.SymMatrix3d meshlib.SymMatrix3d.pseudoinverse ( java.lang.Double tol,
meshlib.int_output rank,
meshlib.Vector3d space )

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().

◆ setXx()

void meshlib.SymMatrix3d.setXx ( double value)

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

Calls MR_SymMatrix3d_Set_xx().

◆ setXy()

void meshlib.SymMatrix3d.setXy ( double value)

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

Calls MR_SymMatrix3d_Set_xy().

◆ setXz()

void meshlib.SymMatrix3d.setXz ( double value)

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

Calls MR_SymMatrix3d_Set_xz().

◆ setYy()

void meshlib.SymMatrix3d.setYy ( double value)

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

Calls MR_SymMatrix3d_Set_yy().

◆ setYz()

void meshlib.SymMatrix3d.setYz ( double value)

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

Calls MR_SymMatrix3d_Set_yz().

◆ setZz()

void meshlib.SymMatrix3d.setZz ( double value)

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

Calls MR_SymMatrix3d_Set_zz().

◆ sub_assign()

meshlib.SymMatrix3d meshlib.SymMatrix3d.sub_assign ( meshlib.SymMatrix3d b)

Generated from method MR::SymMatrix3d::operator-=. The reference to this object might be preserved in the return value.

Calls MR_SymMatrix3d_sub_assign().

◆ trace()

double meshlib.SymMatrix3d.trace ( )

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

Calls MR_SymMatrix3d_trace().

◆ xx()

double meshlib.SymMatrix3d.xx ( )

zero matrix by default Returns a pointer to a member variable of class MR::SymMatrix3d named xx. The reference to this object might be preserved as the return value.

Calls MR_SymMatrix3d_Get_xx().

◆ xy()

double meshlib.SymMatrix3d.xy ( )

zero matrix by default Returns a pointer to a member variable of class MR::SymMatrix3d named xy. The reference to this object might be preserved as the return value.

Calls MR_SymMatrix3d_Get_xy().

◆ xz()

double meshlib.SymMatrix3d.xz ( )

zero matrix by default Returns a pointer to a member variable of class MR::SymMatrix3d named xz. The reference to this object might be preserved as the return value.

Calls MR_SymMatrix3d_Get_xz().

◆ yy()

double meshlib.SymMatrix3d.yy ( )

zero matrix by default Returns a pointer to a member variable of class MR::SymMatrix3d named yy. The reference to this object might be preserved as the return value.

Calls MR_SymMatrix3d_Get_yy().

◆ yz()

double meshlib.SymMatrix3d.yz ( )

zero matrix by default Returns a pointer to a member variable of class MR::SymMatrix3d named yz. The reference to this object might be preserved as the return value.

Calls MR_SymMatrix3d_Get_yz().

◆ zz()

double meshlib.SymMatrix3d.zz ( )

zero matrix by default Returns a pointer to a member variable of class MR::SymMatrix3d named zz. The reference to this object might be preserved as the return value.

Calls MR_SymMatrix3d_Get_zz().


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