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

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

Inheritance diagram for MR.Const_SymMatrix2d:

Classes

struct  _Underlying

Public Member Functions

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

Protected Member Functions

virtual unsafe void Dispose (bool disposing)

Protected Attributes

unsafe double * __ref_storage_xx
unsafe double * __ref_storage_xy
unsafe double * __ref_storage_yy

Properties

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

Detailed Description

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

Constructor & Destructor Documentation

◆ Const_SymMatrix2d() [1/3]

unsafe MR.Const_SymMatrix2d.Const_SymMatrix2d ( )
inline

Constructs an empty (default-constructed) instance.

◆ Const_SymMatrix2d() [2/3]

unsafe MR.Const_SymMatrix2d.Const_SymMatrix2d ( MR.Const_SymMatrix2d _other)
inline

Generated from constructor MR.SymMatrix2d.SymMatrix2d.

◆ Const_SymMatrix2d() [3/3]

MR.Const_SymMatrix2d.Const_SymMatrix2d ( SymMatrix2d _other)
inline

Generated from constructor MR.SymMatrix2d.SymMatrix2d.

Member Function Documentation

◆ det()

unsafe double MR.Const_SymMatrix2d.det ( )
inline

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

◆ diagonal()

unsafe MR.SymMatrix2d MR.Const_SymMatrix2d.diagonal ( double diagVal)
inlinestatic

Generated from method MR.SymMatrix2d.diagonal.

◆ Dispose() [1/2]

virtual void MR.Const_SymMatrix2d.Dispose ( )
inlinevirtual

◆ Dispose() [2/2]

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

◆ eigens()

unsafe MR.Vector2d MR.Const_SymMatrix2d.eigens ( MR.Misc.InOut< MR.Matrix2d >? 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.SymMatrix2d.eigens.

◆ eigenvector()

unsafe MR.Vector2d MR.Const_SymMatrix2d.eigenvector ( double eigenvalue)
inline

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

◆ identity()

unsafe MR.SymMatrix2d MR.Const_SymMatrix2d.identity ( )
inlinestatic

Generated from method MR.SymMatrix2d.identity.

◆ inverse() [1/2]

unsafe MR.SymMatrix2d MR.Const_SymMatrix2d.inverse ( )
inline

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

◆ inverse() [2/2]

unsafe MR.SymMatrix2d MR.Const_SymMatrix2d.inverse ( double det)
inline

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

◆ maxEigenvector()

unsafe MR.Vector2d MR.Const_SymMatrix2d.maxEigenvector ( )
inline

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

◆ normSq()

unsafe double MR.Const_SymMatrix2d.normSq ( )
inline

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

◆ pseudoinverse()

unsafe MR.SymMatrix2d MR.Const_SymMatrix2d.pseudoinverse ( double? tol = null,
MR.Misc.InOut< int >? rank = null,
MR.Misc.InOut< MR.Vector2d >? 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.SymMatrix2d.pseudoinverse. Parameter tol defaults to std::numeric_limits&lt;double&gt;::epsilon().

◆ trace()

unsafe double MR.Const_SymMatrix2d.trace ( )
inline

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

Member Data Documentation

◆ __ref_storage_xx

unsafe double* MR.Const_SymMatrix2d.__ref_storage_xx
protected

◆ __ref_storage_xy

unsafe double* MR.Const_SymMatrix2d.__ref_storage_xy
protected

◆ __ref_storage_yy

unsafe double* MR.Const_SymMatrix2d.__ref_storage_yy
protected

Property Documentation

◆ xx

unsafe double MR.Const_SymMatrix2d.xx
get

zero matrix by default

◆ xy

unsafe double MR.Const_SymMatrix2d.xy
get

zero matrix by default

◆ yy

unsafe double MR.Const_SymMatrix2d.yy
get

zero matrix by default


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