MeshLib C# Docs
Loading...
Searching...
No Matches
MR.Const_SymMatrix3f Class Reference

symmetric 3x3 matrix Generated from class MR.SymMatrix3f. This is the const half of the class. More...

+ Inheritance diagram for MR.Const_SymMatrix3f:

Classes

struct  _Underlying
 

Public Member Functions

virtual void Dispose ()
 
unsafe Const_SymMatrix3f ()
 Constructs an empty (default-constructed) instance.
 
unsafe Const_SymMatrix3f (MR.Const_SymMatrix3f _other)
 Generated from constructor MR.SymMatrix3f.SymMatrix3f.
 
unsafe float trace ()
 computes trace of the matrix Generated from method MR.SymMatrix3f.trace.
 
unsafe float normSq ()
 computes the squared norm of the matrix, which is equal to the sum of 9 squared elements Generated from method MR.SymMatrix3f.normSq.
 
unsafe float det ()
 computes determinant of the matrix Generated from method MR.SymMatrix3f.det.
 
unsafe MR.SymMatrix3f inverse ()
 computes inverse matrix Generated from method MR.SymMatrix3f.inverse.
 
unsafe MR.SymMatrix3f inverse (float det)
 computes inverse matrix given determinant of this Generated from method MR.SymMatrix3f.inverse.
 
unsafe MR.Vector3f eigens (MR.Misc.InOut< MR.Matrix3f >? eigenvectors=null)
 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.SymMatrix3f.eigens.
 
unsafe MR.Vector3f eigenvector (float eigenvalue)
 computes not-unit eigenvector corresponding to a not-repeating eigenvalue Generated from method MR.SymMatrix3f.eigenvector.
 
unsafe MR.SymMatrix3f pseudoinverse (float? tol=null, MR.Misc.InOut< int >? rank=null, MR.Misc.InOut< MR.Vector3f >? space=null)
 for not-degenerate matrix returns just inverse matrix, otherwise returns degenerate matrix, which performs inversion on not-kernel subspace;
 

Static Public Member Functions

static unsafe MR.SymMatrix3f identity ()
 Generated from method MR.SymMatrix3f.identity.
 
static unsafe MR.SymMatrix3f diagonal (float diagVal)
 Generated from method MR.SymMatrix3f.diagonal.
 

Protected Member Functions

virtual unsafe void Dispose (bool disposing)
 

Properties

unsafe float xx [get]
 zero matrix by default
 
unsafe float xy [get]
 zero matrix by default
 
unsafe float xz [get]
 zero matrix by default
 
unsafe float yy [get]
 zero matrix by default
 
unsafe float yz [get]
 zero matrix by default
 
unsafe float zz [get]
 zero matrix by default
 
- Properties inherited from MR.Misc.Object< Const_SymMatrix3f >
virtual bool _IsOwning [get]
 Returns true if this is an owning instance, and when disposed, will destroy the underlying C++ instance. If false, we assume that the underlying C++ instance will live long enough.
 

Additional Inherited Members

- Protected Attributes inherited from MR.Misc.Object< Const_SymMatrix3f >
bool _IsOwningVal
 

Detailed Description

symmetric 3x3 matrix Generated from class MR.SymMatrix3f. This is the const half of the class.

Member Function Documentation

◆ pseudoinverse()

unsafe MR.SymMatrix3f MR.Const_SymMatrix3f.pseudoinverse ( float? tol = null,
MR.Misc.InOut< int >? rank = null,
MR.Misc.InOut< MR.Vector3f >? space = null )
inline

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.SymMatrix3f.pseudoinverse. Parameter tol defaults to std.numeric_limits<float>::epsilon().

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