MeshLib C# Docs
Loading...
Searching...
No Matches

symmetric 2x2 matrix Generated from class MR.SymMatrix2f. This is the const half of the class. More...

Inheritance diagram for MR.Const_SymMatrix2f:

Classes

struct  _Underlying

Public Member Functions

virtual void Dispose ()
unsafe Const_SymMatrix2f ()
 Constructs an empty (default-constructed) instance.
unsafe Const_SymMatrix2f (MR.Const_SymMatrix2f _other)
 Generated from constructor MR.SymMatrix2f.SymMatrix2f.
 Const_SymMatrix2f (SymMatrix2f _other)
 Generated from constructor MR.SymMatrix2f.SymMatrix2f.
unsafe float trace ()
 computes trace of the matrix Generated from method MR.SymMatrix2f.trace.
unsafe float normSq ()
 computes the squared norm of the matrix, which is equal to the sum of 4 squared elements Generated from method MR.SymMatrix2f.normSq.
unsafe float det ()
 computes determinant of the matrix Generated from method MR.SymMatrix2f.det.
unsafe MR.SymMatrix2f inverse ()
 computes inverse matrix Generated from method MR.SymMatrix2f.inverse.
unsafe MR.SymMatrix2f inverse (float det)
 computes inverse matrix given determinant of this Generated from method MR.SymMatrix2f.inverse.
unsafe MR.Vector2f eigens (MR.Misc.InOut< MR.Matrix2f >? 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.SymMatrix2f.eigens.
unsafe MR.Vector2f eigenvector (float eigenvalue)
 computes not-unit eigenvector corresponding to a not-repeating eigenvalue Generated from method MR.SymMatrix2f.eigenvector.
unsafe MR.Vector2f maxEigenvector ()
 computes not-unit eigenvector corresponding to maximum eigenvalue Generated from method MR.SymMatrix2f.maxEigenvector.
unsafe MR.SymMatrix2f pseudoinverse (float? tol=null, MR.Misc.InOut< int >? rank=null, MR.Misc.InOut< MR.Vector2f >? 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.SymMatrix2f identity ()
 Generated from method MR.SymMatrix2f.identity.
static unsafe MR.SymMatrix2f diagonal (float diagVal)
 Generated from method MR.SymMatrix2f.diagonal.

Protected Member Functions

virtual unsafe void Dispose (bool disposing)

Protected Attributes

unsafe float * __ref_storage_xx
unsafe float * __ref_storage_xy
unsafe float * __ref_storage_yy

Properties

unsafe float xx [get]
 zero matrix by default
unsafe float xy [get]
 zero matrix by default
unsafe float yy [get]
 zero matrix by default

Detailed Description

symmetric 2x2 matrix Generated from class MR.SymMatrix2f. This is the const half of the class.

Constructor & Destructor Documentation

◆ Const_SymMatrix2f() [1/3]

unsafe MR.Const_SymMatrix2f.Const_SymMatrix2f ( )
inline

Constructs an empty (default-constructed) instance.

◆ Const_SymMatrix2f() [2/3]

unsafe MR.Const_SymMatrix2f.Const_SymMatrix2f ( MR.Const_SymMatrix2f _other)
inline

Generated from constructor MR.SymMatrix2f.SymMatrix2f.

◆ Const_SymMatrix2f() [3/3]

MR.Const_SymMatrix2f.Const_SymMatrix2f ( SymMatrix2f _other)
inline

Generated from constructor MR.SymMatrix2f.SymMatrix2f.

Member Function Documentation

◆ det()

unsafe float MR.Const_SymMatrix2f.det ( )
inline

computes determinant of the matrix Generated from method MR.SymMatrix2f.det.

◆ diagonal()

unsafe MR.SymMatrix2f MR.Const_SymMatrix2f.diagonal ( float diagVal)
inlinestatic

Generated from method MR.SymMatrix2f.diagonal.

◆ Dispose() [1/2]

virtual void MR.Const_SymMatrix2f.Dispose ( )
inlinevirtual

◆ Dispose() [2/2]

virtual unsafe void MR.Const_SymMatrix2f.Dispose ( bool disposing)
inlineprotectedvirtual

◆ eigens()

unsafe MR.Vector2f MR.Const_SymMatrix2f.eigens ( MR.Misc.InOut< MR.Matrix2f >? eigenvectors = null)
inline

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.

◆ eigenvector()

unsafe MR.Vector2f MR.Const_SymMatrix2f.eigenvector ( float eigenvalue)
inline

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

◆ identity()

unsafe MR.SymMatrix2f MR.Const_SymMatrix2f.identity ( )
inlinestatic

Generated from method MR.SymMatrix2f.identity.

◆ inverse() [1/2]

unsafe MR.SymMatrix2f MR.Const_SymMatrix2f.inverse ( )
inline

computes inverse matrix Generated from method MR.SymMatrix2f.inverse.

◆ inverse() [2/2]

unsafe MR.SymMatrix2f MR.Const_SymMatrix2f.inverse ( float det)
inline

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

◆ maxEigenvector()

unsafe MR.Vector2f MR.Const_SymMatrix2f.maxEigenvector ( )
inline

computes not-unit eigenvector corresponding to maximum eigenvalue Generated from method MR.SymMatrix2f.maxEigenvector.

◆ normSq()

unsafe float MR.Const_SymMatrix2f.normSq ( )
inline

computes the squared norm of the matrix, which is equal to the sum of 4 squared elements Generated from method MR.SymMatrix2f.normSq.

◆ pseudoinverse()

unsafe MR.SymMatrix2f MR.Const_SymMatrix2f.pseudoinverse ( float? tol = null,
MR.Misc.InOut< int >? rank = null,
MR.Misc.InOut< MR.Vector2f >? 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: zero vector Generated from method MR.SymMatrix2f.pseudoinverse. Parameter tol defaults to std::numeric_limits&lt;float&gt;::epsilon().

◆ trace()

unsafe float MR.Const_SymMatrix2f.trace ( )
inline

computes trace of the matrix Generated from method MR.SymMatrix2f.trace.

Member Data Documentation

◆ __ref_storage_xx

unsafe float* MR.Const_SymMatrix2f.__ref_storage_xx
protected

◆ __ref_storage_xy

unsafe float* MR.Const_SymMatrix2f.__ref_storage_xy
protected

◆ __ref_storage_yy

unsafe float* MR.Const_SymMatrix2f.__ref_storage_yy
protected

Property Documentation

◆ xx

unsafe float MR.Const_SymMatrix2f.xx
get

zero matrix by default

◆ xy

unsafe float MR.Const_SymMatrix2f.xy
get

zero matrix by default

◆ yy

unsafe float MR.Const_SymMatrix2f.yy
get

zero matrix by default


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