MeshLib C Docs
Loading...
Searching...
No Matches
MRSymMatrix2.h File Reference
#include <MRCMesh/MRVector2.h>
#include <MRCMisc/common.h>
#include <MRCMisc/exports.h>
#include <stdbool.h>
#include <stddef.h>

Go to the source code of this file.

Typedefs

typedef struct MR_Matrix2d MR_Matrix2d
 
typedef struct MR_Matrix2f MR_Matrix2f
 
typedef struct MR_SymMatrix2b MR_SymMatrix2b
 
typedef struct MR_SymMatrix2i MR_SymMatrix2i
 
typedef struct MR_SymMatrix2i64 MR_SymMatrix2i64
 
typedef struct MR_SymMatrix2f MR_SymMatrix2f
 
typedef struct MR_SymMatrix2d MR_SymMatrix2d
 

Functions

MRC_API const bool * MR_SymMatrix2b_Get_xx (const MR_SymMatrix2b *_this)
 
MRC_API void MR_SymMatrix2b_Set_xx (MR_SymMatrix2b *_this, bool value)
 
MRC_API bool * MR_SymMatrix2b_GetMutable_xx (MR_SymMatrix2b *_this)
 
MRC_API const bool * MR_SymMatrix2b_Get_xy (const MR_SymMatrix2b *_this)
 
MRC_API void MR_SymMatrix2b_Set_xy (MR_SymMatrix2b *_this, bool value)
 
MRC_API bool * MR_SymMatrix2b_GetMutable_xy (MR_SymMatrix2b *_this)
 
MRC_API const bool * MR_SymMatrix2b_Get_yy (const MR_SymMatrix2b *_this)
 
MRC_API void MR_SymMatrix2b_Set_yy (MR_SymMatrix2b *_this, bool value)
 
MRC_API bool * MR_SymMatrix2b_GetMutable_yy (MR_SymMatrix2b *_this)
 
MRC_API MR_SymMatrix2bMR_SymMatrix2b_DefaultConstruct (void)
 
MRC_API MR_SymMatrix2bMR_SymMatrix2b_DefaultConstructArray (size_t num_elems)
 
MRC_API const MR_SymMatrix2bMR_SymMatrix2b_OffsetPtr (const MR_SymMatrix2b *ptr, ptrdiff_t i)
 
MRC_API MR_SymMatrix2bMR_SymMatrix2b_OffsetMutablePtr (MR_SymMatrix2b *ptr, ptrdiff_t i)
 
MRC_API MR_SymMatrix2bMR_SymMatrix2b_ConstructFromAnother (const MR_SymMatrix2b *_other)
 
MRC_API void MR_SymMatrix2b_Destroy (const MR_SymMatrix2b *_this)
 Destroys a heap-allocated instance of MR_SymMatrix2b. Does nothing if the pointer is null.
 
MRC_API void MR_SymMatrix2b_DestroyArray (const MR_SymMatrix2b *_this)
 Destroys a heap-allocated array of MR_SymMatrix2b. Does nothing if the pointer is null.
 
MRC_API MR_SymMatrix2bMR_SymMatrix2b_AssignFromAnother (MR_SymMatrix2b *_this, const MR_SymMatrix2b *_other)
 
MRC_API MR_SymMatrix2bMR_SymMatrix2b_identity (void)
 
MRC_API MR_SymMatrix2bMR_SymMatrix2b_diagonal (bool diagVal)
 
MRC_API bool MR_SymMatrix2b_trace (const MR_SymMatrix2b *_this)
 
MRC_API bool MR_SymMatrix2b_normSq (const MR_SymMatrix2b *_this)
 
MRC_API bool MR_SymMatrix2b_det (const MR_SymMatrix2b *_this)
 
MRC_API MR_SymMatrix2bMR_SymMatrix2b_inverse_0 (const MR_SymMatrix2b *_this)
 
MRC_API MR_SymMatrix2bMR_SymMatrix2b_inverse_1 (const MR_SymMatrix2b *_this, bool det)
 
MRC_API MR_SymMatrix2bMR_SymMatrix2b_add_assign (MR_SymMatrix2b *_this, const MR_SymMatrix2b *b)
 
MRC_API MR_SymMatrix2bMR_SymMatrix2b_sub_assign (MR_SymMatrix2b *_this, const MR_SymMatrix2b *b)
 
MRC_API MR_SymMatrix2bMR_SymMatrix2b_mul_assign (MR_SymMatrix2b *_this, bool b)
 
MRC_API MR_SymMatrix2bMR_SymMatrix2b_div_assign (MR_SymMatrix2b *_this, bool b)
 
MRC_API const int * MR_SymMatrix2i_Get_xx (const MR_SymMatrix2i *_this)
 
MRC_API void MR_SymMatrix2i_Set_xx (MR_SymMatrix2i *_this, int value)
 
MRC_API int * MR_SymMatrix2i_GetMutable_xx (MR_SymMatrix2i *_this)
 
MRC_API const int * MR_SymMatrix2i_Get_xy (const MR_SymMatrix2i *_this)
 
MRC_API void MR_SymMatrix2i_Set_xy (MR_SymMatrix2i *_this, int value)
 
MRC_API int * MR_SymMatrix2i_GetMutable_xy (MR_SymMatrix2i *_this)
 
MRC_API const int * MR_SymMatrix2i_Get_yy (const MR_SymMatrix2i *_this)
 
MRC_API void MR_SymMatrix2i_Set_yy (MR_SymMatrix2i *_this, int value)
 
MRC_API int * MR_SymMatrix2i_GetMutable_yy (MR_SymMatrix2i *_this)
 
MRC_API MR_SymMatrix2iMR_SymMatrix2i_DefaultConstruct (void)
 
MRC_API MR_SymMatrix2iMR_SymMatrix2i_DefaultConstructArray (size_t num_elems)
 
MRC_API const MR_SymMatrix2iMR_SymMatrix2i_OffsetPtr (const MR_SymMatrix2i *ptr, ptrdiff_t i)
 
MRC_API MR_SymMatrix2iMR_SymMatrix2i_OffsetMutablePtr (MR_SymMatrix2i *ptr, ptrdiff_t i)
 
MRC_API MR_SymMatrix2iMR_SymMatrix2i_ConstructFromAnother (const MR_SymMatrix2i *_other)
 
MRC_API void MR_SymMatrix2i_Destroy (const MR_SymMatrix2i *_this)
 Destroys a heap-allocated instance of MR_SymMatrix2i. Does nothing if the pointer is null.
 
MRC_API void MR_SymMatrix2i_DestroyArray (const MR_SymMatrix2i *_this)
 Destroys a heap-allocated array of MR_SymMatrix2i. Does nothing if the pointer is null.
 
MRC_API MR_SymMatrix2iMR_SymMatrix2i_AssignFromAnother (MR_SymMatrix2i *_this, const MR_SymMatrix2i *_other)
 
MRC_API MR_SymMatrix2iMR_SymMatrix2i_identity (void)
 
MRC_API MR_SymMatrix2iMR_SymMatrix2i_diagonal (int diagVal)
 
MRC_API int MR_SymMatrix2i_trace (const MR_SymMatrix2i *_this)
 
MRC_API int MR_SymMatrix2i_normSq (const MR_SymMatrix2i *_this)
 
MRC_API int MR_SymMatrix2i_det (const MR_SymMatrix2i *_this)
 
MRC_API MR_SymMatrix2iMR_SymMatrix2i_inverse_0 (const MR_SymMatrix2i *_this)
 
MRC_API MR_SymMatrix2iMR_SymMatrix2i_inverse_1 (const MR_SymMatrix2i *_this, int det)
 
MRC_API MR_SymMatrix2iMR_SymMatrix2i_add_assign (MR_SymMatrix2i *_this, const MR_SymMatrix2i *b)
 
MRC_API MR_SymMatrix2iMR_SymMatrix2i_sub_assign (MR_SymMatrix2i *_this, const MR_SymMatrix2i *b)
 
MRC_API MR_SymMatrix2iMR_SymMatrix2i_mul_assign (MR_SymMatrix2i *_this, int b)
 
MRC_API MR_SymMatrix2iMR_SymMatrix2i_div_assign (MR_SymMatrix2i *_this, int b)
 
MRC_API const MR_int64_tMR_SymMatrix2i64_Get_xx (const MR_SymMatrix2i64 *_this)
 
MRC_API void MR_SymMatrix2i64_Set_xx (MR_SymMatrix2i64 *_this, MR_int64_t value)
 
MRC_API MR_int64_tMR_SymMatrix2i64_GetMutable_xx (MR_SymMatrix2i64 *_this)
 
MRC_API const MR_int64_tMR_SymMatrix2i64_Get_xy (const MR_SymMatrix2i64 *_this)
 
MRC_API void MR_SymMatrix2i64_Set_xy (MR_SymMatrix2i64 *_this, MR_int64_t value)
 
MRC_API MR_int64_tMR_SymMatrix2i64_GetMutable_xy (MR_SymMatrix2i64 *_this)
 
MRC_API const MR_int64_tMR_SymMatrix2i64_Get_yy (const MR_SymMatrix2i64 *_this)
 
MRC_API void MR_SymMatrix2i64_Set_yy (MR_SymMatrix2i64 *_this, MR_int64_t value)
 
MRC_API MR_int64_tMR_SymMatrix2i64_GetMutable_yy (MR_SymMatrix2i64 *_this)
 
MRC_API MR_SymMatrix2i64MR_SymMatrix2i64_DefaultConstruct (void)
 
MRC_API MR_SymMatrix2i64MR_SymMatrix2i64_DefaultConstructArray (size_t num_elems)
 
MRC_API const MR_SymMatrix2i64MR_SymMatrix2i64_OffsetPtr (const MR_SymMatrix2i64 *ptr, ptrdiff_t i)
 
MRC_API MR_SymMatrix2i64MR_SymMatrix2i64_OffsetMutablePtr (MR_SymMatrix2i64 *ptr, ptrdiff_t i)
 
MRC_API MR_SymMatrix2i64MR_SymMatrix2i64_ConstructFromAnother (const MR_SymMatrix2i64 *_other)
 
MRC_API void MR_SymMatrix2i64_Destroy (const MR_SymMatrix2i64 *_this)
 Destroys a heap-allocated instance of MR_SymMatrix2i64. Does nothing if the pointer is null.
 
MRC_API void MR_SymMatrix2i64_DestroyArray (const MR_SymMatrix2i64 *_this)
 Destroys a heap-allocated array of MR_SymMatrix2i64. Does nothing if the pointer is null.
 
MRC_API MR_SymMatrix2i64MR_SymMatrix2i64_AssignFromAnother (MR_SymMatrix2i64 *_this, const MR_SymMatrix2i64 *_other)
 
MRC_API MR_SymMatrix2i64MR_SymMatrix2i64_identity (void)
 
MRC_API MR_SymMatrix2i64MR_SymMatrix2i64_diagonal (MR_int64_t diagVal)
 
MRC_API MR_int64_t MR_SymMatrix2i64_trace (const MR_SymMatrix2i64 *_this)
 
MRC_API MR_int64_t MR_SymMatrix2i64_normSq (const MR_SymMatrix2i64 *_this)
 
MRC_API MR_int64_t MR_SymMatrix2i64_det (const MR_SymMatrix2i64 *_this)
 
MRC_API MR_SymMatrix2i64MR_SymMatrix2i64_inverse_0 (const MR_SymMatrix2i64 *_this)
 
MRC_API MR_SymMatrix2i64MR_SymMatrix2i64_inverse_1 (const MR_SymMatrix2i64 *_this, MR_int64_t det)
 
MRC_API MR_SymMatrix2i64MR_SymMatrix2i64_add_assign (MR_SymMatrix2i64 *_this, const MR_SymMatrix2i64 *b)
 
MRC_API MR_SymMatrix2i64MR_SymMatrix2i64_sub_assign (MR_SymMatrix2i64 *_this, const MR_SymMatrix2i64 *b)
 
MRC_API MR_SymMatrix2i64MR_SymMatrix2i64_mul_assign (MR_SymMatrix2i64 *_this, MR_int64_t b)
 
MRC_API MR_SymMatrix2i64MR_SymMatrix2i64_div_assign (MR_SymMatrix2i64 *_this, MR_int64_t b)
 
MRC_API const float * MR_SymMatrix2f_Get_xx (const MR_SymMatrix2f *_this)
 
MRC_API void MR_SymMatrix2f_Set_xx (MR_SymMatrix2f *_this, float value)
 
MRC_API float * MR_SymMatrix2f_GetMutable_xx (MR_SymMatrix2f *_this)
 
MRC_API const float * MR_SymMatrix2f_Get_xy (const MR_SymMatrix2f *_this)
 
MRC_API void MR_SymMatrix2f_Set_xy (MR_SymMatrix2f *_this, float value)
 
MRC_API float * MR_SymMatrix2f_GetMutable_xy (MR_SymMatrix2f *_this)
 
MRC_API const float * MR_SymMatrix2f_Get_yy (const MR_SymMatrix2f *_this)
 
MRC_API void MR_SymMatrix2f_Set_yy (MR_SymMatrix2f *_this, float value)
 
MRC_API float * MR_SymMatrix2f_GetMutable_yy (MR_SymMatrix2f *_this)
 
MRC_API MR_SymMatrix2fMR_SymMatrix2f_DefaultConstruct (void)
 
MRC_API MR_SymMatrix2fMR_SymMatrix2f_DefaultConstructArray (size_t num_elems)
 
MRC_API const MR_SymMatrix2fMR_SymMatrix2f_OffsetPtr (const MR_SymMatrix2f *ptr, ptrdiff_t i)
 
MRC_API MR_SymMatrix2fMR_SymMatrix2f_OffsetMutablePtr (MR_SymMatrix2f *ptr, ptrdiff_t i)
 
MRC_API MR_SymMatrix2fMR_SymMatrix2f_ConstructFromAnother (const MR_SymMatrix2f *_other)
 
MRC_API void MR_SymMatrix2f_Destroy (const MR_SymMatrix2f *_this)
 Destroys a heap-allocated instance of MR_SymMatrix2f. Does nothing if the pointer is null.
 
MRC_API void MR_SymMatrix2f_DestroyArray (const MR_SymMatrix2f *_this)
 Destroys a heap-allocated array of MR_SymMatrix2f. Does nothing if the pointer is null.
 
MRC_API MR_SymMatrix2fMR_SymMatrix2f_AssignFromAnother (MR_SymMatrix2f *_this, const MR_SymMatrix2f *_other)
 
MRC_API MR_SymMatrix2fMR_SymMatrix2f_identity (void)
 
MRC_API MR_SymMatrix2fMR_SymMatrix2f_diagonal (float diagVal)
 
MRC_API float MR_SymMatrix2f_trace (const MR_SymMatrix2f *_this)
 
MRC_API float MR_SymMatrix2f_normSq (const MR_SymMatrix2f *_this)
 
MRC_API float MR_SymMatrix2f_det (const MR_SymMatrix2f *_this)
 
MRC_API MR_SymMatrix2fMR_SymMatrix2f_inverse_0 (const MR_SymMatrix2f *_this)
 
MRC_API MR_SymMatrix2fMR_SymMatrix2f_inverse_1 (const MR_SymMatrix2f *_this, float det)
 
MRC_API MR_SymMatrix2fMR_SymMatrix2f_add_assign (MR_SymMatrix2f *_this, const MR_SymMatrix2f *b)
 
MRC_API MR_SymMatrix2fMR_SymMatrix2f_sub_assign (MR_SymMatrix2f *_this, const MR_SymMatrix2f *b)
 
MRC_API MR_SymMatrix2fMR_SymMatrix2f_mul_assign (MR_SymMatrix2f *_this, float b)
 
MRC_API MR_SymMatrix2fMR_SymMatrix2f_div_assign (MR_SymMatrix2f *_this, float b)
 
MRC_API MR_Vector2f MR_SymMatrix2f_eigens (const MR_SymMatrix2f *_this, MR_Matrix2f *eigenvectors)
 
MRC_API MR_Vector2f MR_SymMatrix2f_eigenvector (const MR_SymMatrix2f *_this, float eigenvalue)
 
MRC_API MR_Vector2f MR_SymMatrix2f_maxEigenvector (const MR_SymMatrix2f *_this)
 
MRC_API MR_SymMatrix2fMR_SymMatrix2f_pseudoinverse (const MR_SymMatrix2f *_this, const float *tol, int *rank, MR_Vector2f *space)
 
MRC_API const double * MR_SymMatrix2d_Get_xx (const MR_SymMatrix2d *_this)
 
MRC_API void MR_SymMatrix2d_Set_xx (MR_SymMatrix2d *_this, double value)
 
MRC_API double * MR_SymMatrix2d_GetMutable_xx (MR_SymMatrix2d *_this)
 
MRC_API const double * MR_SymMatrix2d_Get_xy (const MR_SymMatrix2d *_this)
 
MRC_API void MR_SymMatrix2d_Set_xy (MR_SymMatrix2d *_this, double value)
 
MRC_API double * MR_SymMatrix2d_GetMutable_xy (MR_SymMatrix2d *_this)
 
MRC_API const double * MR_SymMatrix2d_Get_yy (const MR_SymMatrix2d *_this)
 
MRC_API void MR_SymMatrix2d_Set_yy (MR_SymMatrix2d *_this, double value)
 
MRC_API double * MR_SymMatrix2d_GetMutable_yy (MR_SymMatrix2d *_this)
 
MRC_API MR_SymMatrix2dMR_SymMatrix2d_DefaultConstruct (void)
 
MRC_API MR_SymMatrix2dMR_SymMatrix2d_DefaultConstructArray (size_t num_elems)
 
MRC_API const MR_SymMatrix2dMR_SymMatrix2d_OffsetPtr (const MR_SymMatrix2d *ptr, ptrdiff_t i)
 
MRC_API MR_SymMatrix2dMR_SymMatrix2d_OffsetMutablePtr (MR_SymMatrix2d *ptr, ptrdiff_t i)
 
MRC_API MR_SymMatrix2dMR_SymMatrix2d_ConstructFromAnother (const MR_SymMatrix2d *_other)
 
MRC_API void MR_SymMatrix2d_Destroy (const MR_SymMatrix2d *_this)
 Destroys a heap-allocated instance of MR_SymMatrix2d. Does nothing if the pointer is null.
 
MRC_API void MR_SymMatrix2d_DestroyArray (const MR_SymMatrix2d *_this)
 Destroys a heap-allocated array of MR_SymMatrix2d. Does nothing if the pointer is null.
 
MRC_API MR_SymMatrix2dMR_SymMatrix2d_AssignFromAnother (MR_SymMatrix2d *_this, const MR_SymMatrix2d *_other)
 
MRC_API MR_SymMatrix2dMR_SymMatrix2d_identity (void)
 
MRC_API MR_SymMatrix2dMR_SymMatrix2d_diagonal (double diagVal)
 
MRC_API double MR_SymMatrix2d_trace (const MR_SymMatrix2d *_this)
 
MRC_API double MR_SymMatrix2d_normSq (const MR_SymMatrix2d *_this)
 
MRC_API double MR_SymMatrix2d_det (const MR_SymMatrix2d *_this)
 
MRC_API MR_SymMatrix2dMR_SymMatrix2d_inverse_0 (const MR_SymMatrix2d *_this)
 
MRC_API MR_SymMatrix2dMR_SymMatrix2d_inverse_1 (const MR_SymMatrix2d *_this, double det)
 
MRC_API MR_SymMatrix2dMR_SymMatrix2d_add_assign (MR_SymMatrix2d *_this, const MR_SymMatrix2d *b)
 
MRC_API MR_SymMatrix2dMR_SymMatrix2d_sub_assign (MR_SymMatrix2d *_this, const MR_SymMatrix2d *b)
 
MRC_API MR_SymMatrix2dMR_SymMatrix2d_mul_assign (MR_SymMatrix2d *_this, double b)
 
MRC_API MR_SymMatrix2dMR_SymMatrix2d_div_assign (MR_SymMatrix2d *_this, double b)
 
MRC_API MR_Vector2d MR_SymMatrix2d_eigens (const MR_SymMatrix2d *_this, MR_Matrix2d *eigenvectors)
 
MRC_API MR_Vector2d MR_SymMatrix2d_eigenvector (const MR_SymMatrix2d *_this, double eigenvalue)
 
MRC_API MR_Vector2d MR_SymMatrix2d_maxEigenvector (const MR_SymMatrix2d *_this)
 
MRC_API MR_SymMatrix2dMR_SymMatrix2d_pseudoinverse (const MR_SymMatrix2d *_this, const double *tol, int *rank, MR_Vector2d *space)
 

Typedef Documentation

◆ MR_Matrix2d

typedef struct MR_Matrix2d MR_Matrix2d

◆ MR_Matrix2f

typedef struct MR_Matrix2f MR_Matrix2f

◆ MR_SymMatrix2b

symmetric 2x2 matrix Generated from class MR::SymMatrix2b. Supported MR_PassBy modes: MR_PassBy_DefaultConstruct, MR_PassBy_Copy, MR_PassBy_Move (and MR_PassBy_DefaultArgument and MR_PassBy_NoObject if supported by the callee).

◆ MR_SymMatrix2d

symmetric 2x2 matrix Generated from class MR::SymMatrix2d. Supported MR_PassBy modes: MR_PassBy_DefaultConstruct, MR_PassBy_Copy, MR_PassBy_Move (and MR_PassBy_DefaultArgument and MR_PassBy_NoObject if supported by the callee).

◆ MR_SymMatrix2f

symmetric 2x2 matrix Generated from class MR::SymMatrix2f. Supported MR_PassBy modes: MR_PassBy_DefaultConstruct, MR_PassBy_Copy, MR_PassBy_Move (and MR_PassBy_DefaultArgument and MR_PassBy_NoObject if supported by the callee).

◆ MR_SymMatrix2i

symmetric 2x2 matrix Generated from class MR::SymMatrix2i. Supported MR_PassBy modes: MR_PassBy_DefaultConstruct, MR_PassBy_Copy, MR_PassBy_Move (and MR_PassBy_DefaultArgument and MR_PassBy_NoObject if supported by the callee).

◆ MR_SymMatrix2i64

symmetric 2x2 matrix Generated from class MR::SymMatrix2i64. Supported MR_PassBy modes: MR_PassBy_DefaultConstruct, MR_PassBy_Copy, MR_PassBy_Move (and MR_PassBy_DefaultArgument and MR_PassBy_NoObject if supported by the callee).

Function Documentation

◆ MR_SymMatrix2b_add_assign()

MRC_API MR_SymMatrix2b * MR_SymMatrix2b_add_assign ( MR_SymMatrix2b * _this,
const MR_SymMatrix2b * b )

Generated from method MR::SymMatrix2b::operator+=. Parameter _this can not be null. It is a single object. Parameter b can not be null. It is a single object. The returned pointer will never be null. It is non-owning, do NOT destroy it.

◆ MR_SymMatrix2b_AssignFromAnother()

MRC_API MR_SymMatrix2b * MR_SymMatrix2b_AssignFromAnother ( MR_SymMatrix2b * _this,
const MR_SymMatrix2b * _other )

Generated from method MR::SymMatrix2b::operator=. Parameter _this can not be null. It is a single object. Parameter _other can not be null. It is a single object. The reference to things referred to by the parameter _other (if any) might be preserved in this object. The returned pointer will never be null. It is non-owning, do NOT destroy it. When this function is called, this object will drop any object references it had previously.

◆ MR_SymMatrix2b_ConstructFromAnother()

MRC_API MR_SymMatrix2b * MR_SymMatrix2b_ConstructFromAnother ( const MR_SymMatrix2b * _other)

Generated from constructor MR::SymMatrix2b::SymMatrix2b. Parameter _other can not be null. It is a single object. The reference to things referred to by the parameter _other (if any) might be preserved in the constructed object. Never returns null. Returns an instance allocated on the heap! Must call MR_SymMatrix2b_Destroy() to free it when you're done using it.

◆ MR_SymMatrix2b_DefaultConstruct()

MRC_API MR_SymMatrix2b * MR_SymMatrix2b_DefaultConstruct ( void )

Constructs an empty (default-constructed) instance. Never returns null. Returns an instance allocated on the heap! Must call MR_SymMatrix2b_Destroy() to free it when you're done using it.

◆ MR_SymMatrix2b_DefaultConstructArray()

MRC_API MR_SymMatrix2b * MR_SymMatrix2b_DefaultConstructArray ( size_t num_elems)

Constructs an array of empty (default-constructed) instances, of the specified size. Will never return null. The array must be destroyed using MR_SymMatrix2b_DestroyArray(). Use MR_SymMatrix2b_OffsetMutablePtr() and MR_SymMatrix2b_OffsetPtr() to access the array elements.

◆ MR_SymMatrix2b_Destroy()

MRC_API void MR_SymMatrix2b_Destroy ( const MR_SymMatrix2b * _this)

Destroys a heap-allocated instance of MR_SymMatrix2b. Does nothing if the pointer is null.

◆ MR_SymMatrix2b_DestroyArray()

MRC_API void MR_SymMatrix2b_DestroyArray ( const MR_SymMatrix2b * _this)

Destroys a heap-allocated array of MR_SymMatrix2b. Does nothing if the pointer is null.

◆ MR_SymMatrix2b_det()

MRC_API bool MR_SymMatrix2b_det ( const MR_SymMatrix2b * _this)

computes determinant of the matrix Generated from method MR::SymMatrix2b::det. Parameter _this can not be null. It is a single object.

◆ MR_SymMatrix2b_diagonal()

MRC_API MR_SymMatrix2b * MR_SymMatrix2b_diagonal ( bool diagVal)

Generated from method MR::SymMatrix2b::diagonal. Never returns null. Returns an instance allocated on the heap! Must call MR_SymMatrix2b_Destroy() to free it when you're done using it.

◆ MR_SymMatrix2b_div_assign()

MRC_API MR_SymMatrix2b * MR_SymMatrix2b_div_assign ( MR_SymMatrix2b * _this,
bool b )

Generated from method MR::SymMatrix2b::operator/=. Parameter _this can not be null. It is a single object. The returned pointer will never be null. It is non-owning, do NOT destroy it.

◆ MR_SymMatrix2b_Get_xx()

MRC_API const bool * MR_SymMatrix2b_Get_xx ( const MR_SymMatrix2b * _this)

zero matrix by default Returns a pointer to a member variable of class MR::SymMatrix2b named xx. Parameter _this can not be null. It is a single object. The returned pointer will never be null. It is non-owning, do NOT destroy it.

◆ MR_SymMatrix2b_Get_xy()

MRC_API const bool * MR_SymMatrix2b_Get_xy ( const MR_SymMatrix2b * _this)

zero matrix by default Returns a pointer to a member variable of class MR::SymMatrix2b named xy. Parameter _this can not be null. It is a single object. The returned pointer will never be null. It is non-owning, do NOT destroy it.

◆ MR_SymMatrix2b_Get_yy()

MRC_API const bool * MR_SymMatrix2b_Get_yy ( const MR_SymMatrix2b * _this)

zero matrix by default Returns a pointer to a member variable of class MR::SymMatrix2b named yy. Parameter _this can not be null. It is a single object. The returned pointer will never be null. It is non-owning, do NOT destroy it.

◆ MR_SymMatrix2b_GetMutable_xx()

MRC_API bool * MR_SymMatrix2b_GetMutable_xx ( MR_SymMatrix2b * _this)

zero matrix by default Returns a mutable pointer to a member variable of class MR::SymMatrix2b named xx. Parameter _this can not be null. It is a single object. The returned pointer will never be null. It is non-owning, do NOT destroy it.

◆ MR_SymMatrix2b_GetMutable_xy()

MRC_API bool * MR_SymMatrix2b_GetMutable_xy ( MR_SymMatrix2b * _this)

zero matrix by default Returns a mutable pointer to a member variable of class MR::SymMatrix2b named xy. Parameter _this can not be null. It is a single object. The returned pointer will never be null. It is non-owning, do NOT destroy it.

◆ MR_SymMatrix2b_GetMutable_yy()

MRC_API bool * MR_SymMatrix2b_GetMutable_yy ( MR_SymMatrix2b * _this)

zero matrix by default Returns a mutable pointer to a member variable of class MR::SymMatrix2b named yy. Parameter _this can not be null. It is a single object. The returned pointer will never be null. It is non-owning, do NOT destroy it.

◆ MR_SymMatrix2b_identity()

MRC_API MR_SymMatrix2b * MR_SymMatrix2b_identity ( void )

Generated from method MR::SymMatrix2b::identity. Never returns null. Returns an instance allocated on the heap! Must call MR_SymMatrix2b_Destroy() to free it when you're done using it.

◆ MR_SymMatrix2b_inverse_0()

MRC_API MR_SymMatrix2b * MR_SymMatrix2b_inverse_0 ( const MR_SymMatrix2b * _this)

computes inverse matrix Generated from method MR::SymMatrix2b::inverse. Parameter _this can not be null. It is a single object. Never returns null. Returns an instance allocated on the heap! Must call MR_SymMatrix2b_Destroy() to free it when you're done using it.

◆ MR_SymMatrix2b_inverse_1()

MRC_API MR_SymMatrix2b * MR_SymMatrix2b_inverse_1 ( const MR_SymMatrix2b * _this,
bool det )

computes inverse matrix given determinant of this Generated from method MR::SymMatrix2b::inverse. Parameter _this can not be null. It is a single object. Never returns null. Returns an instance allocated on the heap! Must call MR_SymMatrix2b_Destroy() to free it when you're done using it.

◆ MR_SymMatrix2b_mul_assign()

MRC_API MR_SymMatrix2b * MR_SymMatrix2b_mul_assign ( MR_SymMatrix2b * _this,
bool b )

Generated from method MR::SymMatrix2b::operator*=. Parameter _this can not be null. It is a single object. The returned pointer will never be null. It is non-owning, do NOT destroy it.

◆ MR_SymMatrix2b_normSq()

MRC_API bool MR_SymMatrix2b_normSq ( const MR_SymMatrix2b * _this)

computes the squared norm of the matrix, which is equal to the sum of 4 squared elements Generated from method MR::SymMatrix2b::normSq. Parameter _this can not be null. It is a single object.

◆ MR_SymMatrix2b_OffsetMutablePtr()

MRC_API MR_SymMatrix2b * MR_SymMatrix2b_OffsetMutablePtr ( MR_SymMatrix2b * ptr,
ptrdiff_t i )

Offsets a pointer to an array element by i positions (not bytes). Use only if you're certain that the pointer points to an array element. The reference to the parameter ptr might be preserved in the return value.

◆ MR_SymMatrix2b_OffsetPtr()

MRC_API const MR_SymMatrix2b * MR_SymMatrix2b_OffsetPtr ( const MR_SymMatrix2b * ptr,
ptrdiff_t i )

Offsets a pointer to an array element by i positions (not bytes). Use only if you're certain that the pointer points to an array element. The reference to the parameter ptr might be preserved in the return value.

◆ MR_SymMatrix2b_Set_xx()

MRC_API void MR_SymMatrix2b_Set_xx ( MR_SymMatrix2b * _this,
bool value )

zero matrix by default Modifies a member variable of class MR::SymMatrix2b named xx. Parameter _this can not be null. It is a single object. When this function is called, this object will drop object references it had previously in xx.

◆ MR_SymMatrix2b_Set_xy()

MRC_API void MR_SymMatrix2b_Set_xy ( MR_SymMatrix2b * _this,
bool value )

zero matrix by default Modifies a member variable of class MR::SymMatrix2b named xy. Parameter _this can not be null. It is a single object. When this function is called, this object will drop object references it had previously in xy.

◆ MR_SymMatrix2b_Set_yy()

MRC_API void MR_SymMatrix2b_Set_yy ( MR_SymMatrix2b * _this,
bool value )

zero matrix by default Modifies a member variable of class MR::SymMatrix2b named yy. Parameter _this can not be null. It is a single object. When this function is called, this object will drop object references it had previously in yy.

◆ MR_SymMatrix2b_sub_assign()

MRC_API MR_SymMatrix2b * MR_SymMatrix2b_sub_assign ( MR_SymMatrix2b * _this,
const MR_SymMatrix2b * b )

Generated from method MR::SymMatrix2b::operator-=. Parameter _this can not be null. It is a single object. Parameter b can not be null. It is a single object. The returned pointer will never be null. It is non-owning, do NOT destroy it.

◆ MR_SymMatrix2b_trace()

MRC_API bool MR_SymMatrix2b_trace ( const MR_SymMatrix2b * _this)

computes trace of the matrix Generated from method MR::SymMatrix2b::trace. Parameter _this can not be null. It is a single object.

◆ MR_SymMatrix2d_add_assign()

MRC_API MR_SymMatrix2d * MR_SymMatrix2d_add_assign ( MR_SymMatrix2d * _this,
const MR_SymMatrix2d * b )

Generated from method MR::SymMatrix2d::operator+=. Parameter _this can not be null. It is a single object. Parameter b can not be null. It is a single object. The returned pointer will never be null. It is non-owning, do NOT destroy it.

◆ MR_SymMatrix2d_AssignFromAnother()

MRC_API MR_SymMatrix2d * MR_SymMatrix2d_AssignFromAnother ( MR_SymMatrix2d * _this,
const MR_SymMatrix2d * _other )

Generated from method MR::SymMatrix2d::operator=. Parameter _this can not be null. It is a single object. Parameter _other can not be null. It is a single object. The reference to things referred to by the parameter _other (if any) might be preserved in this object. The returned pointer will never be null. It is non-owning, do NOT destroy it. When this function is called, this object will drop any object references it had previously.

◆ MR_SymMatrix2d_ConstructFromAnother()

MRC_API MR_SymMatrix2d * MR_SymMatrix2d_ConstructFromAnother ( const MR_SymMatrix2d * _other)

Generated from constructor MR::SymMatrix2d::SymMatrix2d. Parameter _other can not be null. It is a single object. The reference to things referred to by the parameter _other (if any) might be preserved in the constructed object. Never returns null. Returns an instance allocated on the heap! Must call MR_SymMatrix2d_Destroy() to free it when you're done using it.

◆ MR_SymMatrix2d_DefaultConstruct()

MRC_API MR_SymMatrix2d * MR_SymMatrix2d_DefaultConstruct ( void )

Constructs an empty (default-constructed) instance. Never returns null. Returns an instance allocated on the heap! Must call MR_SymMatrix2d_Destroy() to free it when you're done using it.

◆ MR_SymMatrix2d_DefaultConstructArray()

MRC_API MR_SymMatrix2d * MR_SymMatrix2d_DefaultConstructArray ( size_t num_elems)

Constructs an array of empty (default-constructed) instances, of the specified size. Will never return null. The array must be destroyed using MR_SymMatrix2d_DestroyArray(). Use MR_SymMatrix2d_OffsetMutablePtr() and MR_SymMatrix2d_OffsetPtr() to access the array elements.

◆ MR_SymMatrix2d_Destroy()

MRC_API void MR_SymMatrix2d_Destroy ( const MR_SymMatrix2d * _this)

Destroys a heap-allocated instance of MR_SymMatrix2d. Does nothing if the pointer is null.

◆ MR_SymMatrix2d_DestroyArray()

MRC_API void MR_SymMatrix2d_DestroyArray ( const MR_SymMatrix2d * _this)

Destroys a heap-allocated array of MR_SymMatrix2d. Does nothing if the pointer is null.

◆ MR_SymMatrix2d_det()

MRC_API double MR_SymMatrix2d_det ( const MR_SymMatrix2d * _this)

computes determinant of the matrix Generated from method MR::SymMatrix2d::det. Parameter _this can not be null. It is a single object.

◆ MR_SymMatrix2d_diagonal()

MRC_API MR_SymMatrix2d * MR_SymMatrix2d_diagonal ( double diagVal)

Generated from method MR::SymMatrix2d::diagonal. Never returns null. Returns an instance allocated on the heap! Must call MR_SymMatrix2d_Destroy() to free it when you're done using it.

◆ MR_SymMatrix2d_div_assign()

MRC_API MR_SymMatrix2d * MR_SymMatrix2d_div_assign ( MR_SymMatrix2d * _this,
double b )

Generated from method MR::SymMatrix2d::operator/=. Parameter _this can not be null. It is a single object. The returned pointer will never be null. It is non-owning, do NOT destroy it.

◆ MR_SymMatrix2d_eigens()

MRC_API MR_Vector2d MR_SymMatrix2d_eigens ( const MR_SymMatrix2d * _this,
MR_Matrix2d * 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::SymMatrix2d::eigens. Parameter _this can not be null. It is a single object. Parameter eigenvectors defaults to a null pointer in C++.

◆ MR_SymMatrix2d_eigenvector()

MRC_API MR_Vector2d MR_SymMatrix2d_eigenvector ( const MR_SymMatrix2d * _this,
double eigenvalue )

computes not-unit eigenvector corresponding to a not-repeating eigenvalue Generated from method MR::SymMatrix2d::eigenvector. Parameter _this can not be null. It is a single object.

◆ MR_SymMatrix2d_Get_xx()

MRC_API const double * MR_SymMatrix2d_Get_xx ( const MR_SymMatrix2d * _this)

zero matrix by default Returns a pointer to a member variable of class MR::SymMatrix2d named xx. Parameter _this can not be null. It is a single object. The returned pointer will never be null. It is non-owning, do NOT destroy it.

◆ MR_SymMatrix2d_Get_xy()

MRC_API const double * MR_SymMatrix2d_Get_xy ( const MR_SymMatrix2d * _this)

zero matrix by default Returns a pointer to a member variable of class MR::SymMatrix2d named xy. Parameter _this can not be null. It is a single object. The returned pointer will never be null. It is non-owning, do NOT destroy it.

◆ MR_SymMatrix2d_Get_yy()

MRC_API const double * MR_SymMatrix2d_Get_yy ( const MR_SymMatrix2d * _this)

zero matrix by default Returns a pointer to a member variable of class MR::SymMatrix2d named yy. Parameter _this can not be null. It is a single object. The returned pointer will never be null. It is non-owning, do NOT destroy it.

◆ MR_SymMatrix2d_GetMutable_xx()

MRC_API double * MR_SymMatrix2d_GetMutable_xx ( MR_SymMatrix2d * _this)

zero matrix by default Returns a mutable pointer to a member variable of class MR::SymMatrix2d named xx. Parameter _this can not be null. It is a single object. The returned pointer will never be null. It is non-owning, do NOT destroy it.

◆ MR_SymMatrix2d_GetMutable_xy()

MRC_API double * MR_SymMatrix2d_GetMutable_xy ( MR_SymMatrix2d * _this)

zero matrix by default Returns a mutable pointer to a member variable of class MR::SymMatrix2d named xy. Parameter _this can not be null. It is a single object. The returned pointer will never be null. It is non-owning, do NOT destroy it.

◆ MR_SymMatrix2d_GetMutable_yy()

MRC_API double * MR_SymMatrix2d_GetMutable_yy ( MR_SymMatrix2d * _this)

zero matrix by default Returns a mutable pointer to a member variable of class MR::SymMatrix2d named yy. Parameter _this can not be null. It is a single object. The returned pointer will never be null. It is non-owning, do NOT destroy it.

◆ MR_SymMatrix2d_identity()

MRC_API MR_SymMatrix2d * MR_SymMatrix2d_identity ( void )

Generated from method MR::SymMatrix2d::identity. Never returns null. Returns an instance allocated on the heap! Must call MR_SymMatrix2d_Destroy() to free it when you're done using it.

◆ MR_SymMatrix2d_inverse_0()

MRC_API MR_SymMatrix2d * MR_SymMatrix2d_inverse_0 ( const MR_SymMatrix2d * _this)

computes inverse matrix Generated from method MR::SymMatrix2d::inverse. Parameter _this can not be null. It is a single object. Never returns null. Returns an instance allocated on the heap! Must call MR_SymMatrix2d_Destroy() to free it when you're done using it.

◆ MR_SymMatrix2d_inverse_1()

MRC_API MR_SymMatrix2d * MR_SymMatrix2d_inverse_1 ( const MR_SymMatrix2d * _this,
double det )

computes inverse matrix given determinant of this Generated from method MR::SymMatrix2d::inverse. Parameter _this can not be null. It is a single object. Never returns null. Returns an instance allocated on the heap! Must call MR_SymMatrix2d_Destroy() to free it when you're done using it.

◆ MR_SymMatrix2d_maxEigenvector()

MRC_API MR_Vector2d MR_SymMatrix2d_maxEigenvector ( const MR_SymMatrix2d * _this)

computes not-unit eigenvector corresponding to maximum eigenvalue Generated from method MR::SymMatrix2d::maxEigenvector. Parameter _this can not be null. It is a single object.

◆ MR_SymMatrix2d_mul_assign()

MRC_API MR_SymMatrix2d * MR_SymMatrix2d_mul_assign ( MR_SymMatrix2d * _this,
double b )

Generated from method MR::SymMatrix2d::operator*=. Parameter _this can not be null. It is a single object. The returned pointer will never be null. It is non-owning, do NOT destroy it.

◆ MR_SymMatrix2d_normSq()

MRC_API double MR_SymMatrix2d_normSq ( const MR_SymMatrix2d * _this)

computes the squared norm of the matrix, which is equal to the sum of 4 squared elements Generated from method MR::SymMatrix2d::normSq. Parameter _this can not be null. It is a single object.

◆ MR_SymMatrix2d_OffsetMutablePtr()

MRC_API MR_SymMatrix2d * MR_SymMatrix2d_OffsetMutablePtr ( MR_SymMatrix2d * ptr,
ptrdiff_t i )

Offsets a pointer to an array element by i positions (not bytes). Use only if you're certain that the pointer points to an array element. The reference to the parameter ptr might be preserved in the return value.

◆ MR_SymMatrix2d_OffsetPtr()

MRC_API const MR_SymMatrix2d * MR_SymMatrix2d_OffsetPtr ( const MR_SymMatrix2d * ptr,
ptrdiff_t i )

Offsets a pointer to an array element by i positions (not bytes). Use only if you're certain that the pointer points to an array element. The reference to the parameter ptr might be preserved in the return value.

◆ MR_SymMatrix2d_pseudoinverse()

MRC_API MR_SymMatrix2d * MR_SymMatrix2d_pseudoinverse ( const MR_SymMatrix2d * _this,
const double * tol,
int * rank,
MR_Vector2d * 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: zero vector Generated from method MR::SymMatrix2d::pseudoinverse. Parameter _this can not be null. It is a single object. Parameter tol has a default argument: std::numeric_limits<double>::epsilon(), pass a null pointer to use it. Parameter rank defaults to a null pointer in C++. Parameter space defaults to a null pointer in C++. Never returns null. Returns an instance allocated on the heap! Must call MR_SymMatrix2d_Destroy() to free it when you're done using it.

◆ MR_SymMatrix2d_Set_xx()

MRC_API void MR_SymMatrix2d_Set_xx ( MR_SymMatrix2d * _this,
double value )

zero matrix by default Modifies a member variable of class MR::SymMatrix2d named xx. Parameter _this can not be null. It is a single object. When this function is called, this object will drop object references it had previously in xx.

◆ MR_SymMatrix2d_Set_xy()

MRC_API void MR_SymMatrix2d_Set_xy ( MR_SymMatrix2d * _this,
double value )

zero matrix by default Modifies a member variable of class MR::SymMatrix2d named xy. Parameter _this can not be null. It is a single object. When this function is called, this object will drop object references it had previously in xy.

◆ MR_SymMatrix2d_Set_yy()

MRC_API void MR_SymMatrix2d_Set_yy ( MR_SymMatrix2d * _this,
double value )

zero matrix by default Modifies a member variable of class MR::SymMatrix2d named yy. Parameter _this can not be null. It is a single object. When this function is called, this object will drop object references it had previously in yy.

◆ MR_SymMatrix2d_sub_assign()

MRC_API MR_SymMatrix2d * MR_SymMatrix2d_sub_assign ( MR_SymMatrix2d * _this,
const MR_SymMatrix2d * b )

Generated from method MR::SymMatrix2d::operator-=. Parameter _this can not be null. It is a single object. Parameter b can not be null. It is a single object. The returned pointer will never be null. It is non-owning, do NOT destroy it.

◆ MR_SymMatrix2d_trace()

MRC_API double MR_SymMatrix2d_trace ( const MR_SymMatrix2d * _this)

computes trace of the matrix Generated from method MR::SymMatrix2d::trace. Parameter _this can not be null. It is a single object.

◆ MR_SymMatrix2f_add_assign()

MRC_API MR_SymMatrix2f * MR_SymMatrix2f_add_assign ( MR_SymMatrix2f * _this,
const MR_SymMatrix2f * b )

Generated from method MR::SymMatrix2f::operator+=. Parameter _this can not be null. It is a single object. Parameter b can not be null. It is a single object. The returned pointer will never be null. It is non-owning, do NOT destroy it.

◆ MR_SymMatrix2f_AssignFromAnother()

MRC_API MR_SymMatrix2f * MR_SymMatrix2f_AssignFromAnother ( MR_SymMatrix2f * _this,
const MR_SymMatrix2f * _other )

Generated from method MR::SymMatrix2f::operator=. Parameter _this can not be null. It is a single object. Parameter _other can not be null. It is a single object. The reference to things referred to by the parameter _other (if any) might be preserved in this object. The returned pointer will never be null. It is non-owning, do NOT destroy it. When this function is called, this object will drop any object references it had previously.

◆ MR_SymMatrix2f_ConstructFromAnother()

MRC_API MR_SymMatrix2f * MR_SymMatrix2f_ConstructFromAnother ( const MR_SymMatrix2f * _other)

Generated from constructor MR::SymMatrix2f::SymMatrix2f. Parameter _other can not be null. It is a single object. The reference to things referred to by the parameter _other (if any) might be preserved in the constructed object. Never returns null. Returns an instance allocated on the heap! Must call MR_SymMatrix2f_Destroy() to free it when you're done using it.

◆ MR_SymMatrix2f_DefaultConstruct()

MRC_API MR_SymMatrix2f * MR_SymMatrix2f_DefaultConstruct ( void )

Constructs an empty (default-constructed) instance. Never returns null. Returns an instance allocated on the heap! Must call MR_SymMatrix2f_Destroy() to free it when you're done using it.

◆ MR_SymMatrix2f_DefaultConstructArray()

MRC_API MR_SymMatrix2f * MR_SymMatrix2f_DefaultConstructArray ( size_t num_elems)

Constructs an array of empty (default-constructed) instances, of the specified size. Will never return null. The array must be destroyed using MR_SymMatrix2f_DestroyArray(). Use MR_SymMatrix2f_OffsetMutablePtr() and MR_SymMatrix2f_OffsetPtr() to access the array elements.

◆ MR_SymMatrix2f_Destroy()

MRC_API void MR_SymMatrix2f_Destroy ( const MR_SymMatrix2f * _this)

Destroys a heap-allocated instance of MR_SymMatrix2f. Does nothing if the pointer is null.

◆ MR_SymMatrix2f_DestroyArray()

MRC_API void MR_SymMatrix2f_DestroyArray ( const MR_SymMatrix2f * _this)

Destroys a heap-allocated array of MR_SymMatrix2f. Does nothing if the pointer is null.

◆ MR_SymMatrix2f_det()

MRC_API float MR_SymMatrix2f_det ( const MR_SymMatrix2f * _this)

computes determinant of the matrix Generated from method MR::SymMatrix2f::det. Parameter _this can not be null. It is a single object.

◆ MR_SymMatrix2f_diagonal()

MRC_API MR_SymMatrix2f * MR_SymMatrix2f_diagonal ( float diagVal)

Generated from method MR::SymMatrix2f::diagonal. Never returns null. Returns an instance allocated on the heap! Must call MR_SymMatrix2f_Destroy() to free it when you're done using it.

◆ MR_SymMatrix2f_div_assign()

MRC_API MR_SymMatrix2f * MR_SymMatrix2f_div_assign ( MR_SymMatrix2f * _this,
float b )

Generated from method MR::SymMatrix2f::operator/=. Parameter _this can not be null. It is a single object. The returned pointer will never be null. It is non-owning, do NOT destroy it.

◆ MR_SymMatrix2f_eigens()

MRC_API MR_Vector2f MR_SymMatrix2f_eigens ( const MR_SymMatrix2f * _this,
MR_Matrix2f * 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::SymMatrix2f::eigens. Parameter _this can not be null. It is a single object. Parameter eigenvectors defaults to a null pointer in C++.

◆ MR_SymMatrix2f_eigenvector()

MRC_API MR_Vector2f MR_SymMatrix2f_eigenvector ( const MR_SymMatrix2f * _this,
float eigenvalue )

computes not-unit eigenvector corresponding to a not-repeating eigenvalue Generated from method MR::SymMatrix2f::eigenvector. Parameter _this can not be null. It is a single object.

◆ MR_SymMatrix2f_Get_xx()

MRC_API const float * MR_SymMatrix2f_Get_xx ( const MR_SymMatrix2f * _this)

zero matrix by default Returns a pointer to a member variable of class MR::SymMatrix2f named xx. Parameter _this can not be null. It is a single object. The returned pointer will never be null. It is non-owning, do NOT destroy it.

◆ MR_SymMatrix2f_Get_xy()

MRC_API const float * MR_SymMatrix2f_Get_xy ( const MR_SymMatrix2f * _this)

zero matrix by default Returns a pointer to a member variable of class MR::SymMatrix2f named xy. Parameter _this can not be null. It is a single object. The returned pointer will never be null. It is non-owning, do NOT destroy it.

◆ MR_SymMatrix2f_Get_yy()

MRC_API const float * MR_SymMatrix2f_Get_yy ( const MR_SymMatrix2f * _this)

zero matrix by default Returns a pointer to a member variable of class MR::SymMatrix2f named yy. Parameter _this can not be null. It is a single object. The returned pointer will never be null. It is non-owning, do NOT destroy it.

◆ MR_SymMatrix2f_GetMutable_xx()

MRC_API float * MR_SymMatrix2f_GetMutable_xx ( MR_SymMatrix2f * _this)

zero matrix by default Returns a mutable pointer to a member variable of class MR::SymMatrix2f named xx. Parameter _this can not be null. It is a single object. The returned pointer will never be null. It is non-owning, do NOT destroy it.

◆ MR_SymMatrix2f_GetMutable_xy()

MRC_API float * MR_SymMatrix2f_GetMutable_xy ( MR_SymMatrix2f * _this)

zero matrix by default Returns a mutable pointer to a member variable of class MR::SymMatrix2f named xy. Parameter _this can not be null. It is a single object. The returned pointer will never be null. It is non-owning, do NOT destroy it.

◆ MR_SymMatrix2f_GetMutable_yy()

MRC_API float * MR_SymMatrix2f_GetMutable_yy ( MR_SymMatrix2f * _this)

zero matrix by default Returns a mutable pointer to a member variable of class MR::SymMatrix2f named yy. Parameter _this can not be null. It is a single object. The returned pointer will never be null. It is non-owning, do NOT destroy it.

◆ MR_SymMatrix2f_identity()

MRC_API MR_SymMatrix2f * MR_SymMatrix2f_identity ( void )

Generated from method MR::SymMatrix2f::identity. Never returns null. Returns an instance allocated on the heap! Must call MR_SymMatrix2f_Destroy() to free it when you're done using it.

◆ MR_SymMatrix2f_inverse_0()

MRC_API MR_SymMatrix2f * MR_SymMatrix2f_inverse_0 ( const MR_SymMatrix2f * _this)

computes inverse matrix Generated from method MR::SymMatrix2f::inverse. Parameter _this can not be null. It is a single object. Never returns null. Returns an instance allocated on the heap! Must call MR_SymMatrix2f_Destroy() to free it when you're done using it.

◆ MR_SymMatrix2f_inverse_1()

MRC_API MR_SymMatrix2f * MR_SymMatrix2f_inverse_1 ( const MR_SymMatrix2f * _this,
float det )

computes inverse matrix given determinant of this Generated from method MR::SymMatrix2f::inverse. Parameter _this can not be null. It is a single object. Never returns null. Returns an instance allocated on the heap! Must call MR_SymMatrix2f_Destroy() to free it when you're done using it.

◆ MR_SymMatrix2f_maxEigenvector()

MRC_API MR_Vector2f MR_SymMatrix2f_maxEigenvector ( const MR_SymMatrix2f * _this)

computes not-unit eigenvector corresponding to maximum eigenvalue Generated from method MR::SymMatrix2f::maxEigenvector. Parameter _this can not be null. It is a single object.

◆ MR_SymMatrix2f_mul_assign()

MRC_API MR_SymMatrix2f * MR_SymMatrix2f_mul_assign ( MR_SymMatrix2f * _this,
float b )

Generated from method MR::SymMatrix2f::operator*=. Parameter _this can not be null. It is a single object. The returned pointer will never be null. It is non-owning, do NOT destroy it.

◆ MR_SymMatrix2f_normSq()

MRC_API float MR_SymMatrix2f_normSq ( const MR_SymMatrix2f * _this)

computes the squared norm of the matrix, which is equal to the sum of 4 squared elements Generated from method MR::SymMatrix2f::normSq. Parameter _this can not be null. It is a single object.

◆ MR_SymMatrix2f_OffsetMutablePtr()

MRC_API MR_SymMatrix2f * MR_SymMatrix2f_OffsetMutablePtr ( MR_SymMatrix2f * ptr,
ptrdiff_t i )

Offsets a pointer to an array element by i positions (not bytes). Use only if you're certain that the pointer points to an array element. The reference to the parameter ptr might be preserved in the return value.

◆ MR_SymMatrix2f_OffsetPtr()

MRC_API const MR_SymMatrix2f * MR_SymMatrix2f_OffsetPtr ( const MR_SymMatrix2f * ptr,
ptrdiff_t i )

Offsets a pointer to an array element by i positions (not bytes). Use only if you're certain that the pointer points to an array element. The reference to the parameter ptr might be preserved in the return value.

◆ MR_SymMatrix2f_pseudoinverse()

MRC_API MR_SymMatrix2f * MR_SymMatrix2f_pseudoinverse ( const MR_SymMatrix2f * _this,
const float * tol,
int * rank,
MR_Vector2f * 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: zero vector Generated from method MR::SymMatrix2f::pseudoinverse. Parameter _this can not be null. It is a single object. Parameter tol has a default argument: std::numeric_limits<float>::epsilon(), pass a null pointer to use it. Parameter rank defaults to a null pointer in C++. Parameter space defaults to a null pointer in C++. Never returns null. Returns an instance allocated on the heap! Must call MR_SymMatrix2f_Destroy() to free it when you're done using it.

◆ MR_SymMatrix2f_Set_xx()

MRC_API void MR_SymMatrix2f_Set_xx ( MR_SymMatrix2f * _this,
float value )

zero matrix by default Modifies a member variable of class MR::SymMatrix2f named xx. Parameter _this can not be null. It is a single object. When this function is called, this object will drop object references it had previously in xx.

◆ MR_SymMatrix2f_Set_xy()

MRC_API void MR_SymMatrix2f_Set_xy ( MR_SymMatrix2f * _this,
float value )

zero matrix by default Modifies a member variable of class MR::SymMatrix2f named xy. Parameter _this can not be null. It is a single object. When this function is called, this object will drop object references it had previously in xy.

◆ MR_SymMatrix2f_Set_yy()

MRC_API void MR_SymMatrix2f_Set_yy ( MR_SymMatrix2f * _this,
float value )

zero matrix by default Modifies a member variable of class MR::SymMatrix2f named yy. Parameter _this can not be null. It is a single object. When this function is called, this object will drop object references it had previously in yy.

◆ MR_SymMatrix2f_sub_assign()

MRC_API MR_SymMatrix2f * MR_SymMatrix2f_sub_assign ( MR_SymMatrix2f * _this,
const MR_SymMatrix2f * b )

Generated from method MR::SymMatrix2f::operator-=. Parameter _this can not be null. It is a single object. Parameter b can not be null. It is a single object. The returned pointer will never be null. It is non-owning, do NOT destroy it.

◆ MR_SymMatrix2f_trace()

MRC_API float MR_SymMatrix2f_trace ( const MR_SymMatrix2f * _this)

computes trace of the matrix Generated from method MR::SymMatrix2f::trace. Parameter _this can not be null. It is a single object.

◆ MR_SymMatrix2i64_add_assign()

MRC_API MR_SymMatrix2i64 * MR_SymMatrix2i64_add_assign ( MR_SymMatrix2i64 * _this,
const MR_SymMatrix2i64 * b )

Generated from method MR::SymMatrix2i64::operator+=. Parameter _this can not be null. It is a single object. Parameter b can not be null. It is a single object. The returned pointer will never be null. It is non-owning, do NOT destroy it.

◆ MR_SymMatrix2i64_AssignFromAnother()

MRC_API MR_SymMatrix2i64 * MR_SymMatrix2i64_AssignFromAnother ( MR_SymMatrix2i64 * _this,
const MR_SymMatrix2i64 * _other )

Generated from method MR::SymMatrix2i64::operator=. Parameter _this can not be null. It is a single object. Parameter _other can not be null. It is a single object. The reference to things referred to by the parameter _other (if any) might be preserved in this object. The returned pointer will never be null. It is non-owning, do NOT destroy it. When this function is called, this object will drop any object references it had previously.

◆ MR_SymMatrix2i64_ConstructFromAnother()

MRC_API MR_SymMatrix2i64 * MR_SymMatrix2i64_ConstructFromAnother ( const MR_SymMatrix2i64 * _other)

Generated from constructor MR::SymMatrix2i64::SymMatrix2i64. Parameter _other can not be null. It is a single object. The reference to things referred to by the parameter _other (if any) might be preserved in the constructed object. Never returns null. Returns an instance allocated on the heap! Must call MR_SymMatrix2i64_Destroy() to free it when you're done using it.

◆ MR_SymMatrix2i64_DefaultConstruct()

MRC_API MR_SymMatrix2i64 * MR_SymMatrix2i64_DefaultConstruct ( void )

Constructs an empty (default-constructed) instance. Never returns null. Returns an instance allocated on the heap! Must call MR_SymMatrix2i64_Destroy() to free it when you're done using it.

◆ MR_SymMatrix2i64_DefaultConstructArray()

MRC_API MR_SymMatrix2i64 * MR_SymMatrix2i64_DefaultConstructArray ( size_t num_elems)

Constructs an array of empty (default-constructed) instances, of the specified size. Will never return null. The array must be destroyed using MR_SymMatrix2i64_DestroyArray(). Use MR_SymMatrix2i64_OffsetMutablePtr() and MR_SymMatrix2i64_OffsetPtr() to access the array elements.

◆ MR_SymMatrix2i64_Destroy()

MRC_API void MR_SymMatrix2i64_Destroy ( const MR_SymMatrix2i64 * _this)

Destroys a heap-allocated instance of MR_SymMatrix2i64. Does nothing if the pointer is null.

◆ MR_SymMatrix2i64_DestroyArray()

MRC_API void MR_SymMatrix2i64_DestroyArray ( const MR_SymMatrix2i64 * _this)

Destroys a heap-allocated array of MR_SymMatrix2i64. Does nothing if the pointer is null.

◆ MR_SymMatrix2i64_det()

MRC_API MR_int64_t MR_SymMatrix2i64_det ( const MR_SymMatrix2i64 * _this)

computes determinant of the matrix Generated from method MR::SymMatrix2i64::det. Parameter _this can not be null. It is a single object.

◆ MR_SymMatrix2i64_diagonal()

MRC_API MR_SymMatrix2i64 * MR_SymMatrix2i64_diagonal ( MR_int64_t diagVal)

Generated from method MR::SymMatrix2i64::diagonal. Never returns null. Returns an instance allocated on the heap! Must call MR_SymMatrix2i64_Destroy() to free it when you're done using it.

◆ MR_SymMatrix2i64_div_assign()

MRC_API MR_SymMatrix2i64 * MR_SymMatrix2i64_div_assign ( MR_SymMatrix2i64 * _this,
MR_int64_t b )

Generated from method MR::SymMatrix2i64::operator/=. Parameter _this can not be null. It is a single object. The returned pointer will never be null. It is non-owning, do NOT destroy it.

◆ MR_SymMatrix2i64_Get_xx()

MRC_API const MR_int64_t * MR_SymMatrix2i64_Get_xx ( const MR_SymMatrix2i64 * _this)

zero matrix by default Returns a pointer to a member variable of class MR::SymMatrix2i64 named xx. Parameter _this can not be null. It is a single object. The returned pointer will never be null. It is non-owning, do NOT destroy it.

◆ MR_SymMatrix2i64_Get_xy()

MRC_API const MR_int64_t * MR_SymMatrix2i64_Get_xy ( const MR_SymMatrix2i64 * _this)

zero matrix by default Returns a pointer to a member variable of class MR::SymMatrix2i64 named xy. Parameter _this can not be null. It is a single object. The returned pointer will never be null. It is non-owning, do NOT destroy it.

◆ MR_SymMatrix2i64_Get_yy()

MRC_API const MR_int64_t * MR_SymMatrix2i64_Get_yy ( const MR_SymMatrix2i64 * _this)

zero matrix by default Returns a pointer to a member variable of class MR::SymMatrix2i64 named yy. Parameter _this can not be null. It is a single object. The returned pointer will never be null. It is non-owning, do NOT destroy it.

◆ MR_SymMatrix2i64_GetMutable_xx()

MRC_API MR_int64_t * MR_SymMatrix2i64_GetMutable_xx ( MR_SymMatrix2i64 * _this)

zero matrix by default Returns a mutable pointer to a member variable of class MR::SymMatrix2i64 named xx. Parameter _this can not be null. It is a single object. The returned pointer will never be null. It is non-owning, do NOT destroy it.

◆ MR_SymMatrix2i64_GetMutable_xy()

MRC_API MR_int64_t * MR_SymMatrix2i64_GetMutable_xy ( MR_SymMatrix2i64 * _this)

zero matrix by default Returns a mutable pointer to a member variable of class MR::SymMatrix2i64 named xy. Parameter _this can not be null. It is a single object. The returned pointer will never be null. It is non-owning, do NOT destroy it.

◆ MR_SymMatrix2i64_GetMutable_yy()

MRC_API MR_int64_t * MR_SymMatrix2i64_GetMutable_yy ( MR_SymMatrix2i64 * _this)

zero matrix by default Returns a mutable pointer to a member variable of class MR::SymMatrix2i64 named yy. Parameter _this can not be null. It is a single object. The returned pointer will never be null. It is non-owning, do NOT destroy it.

◆ MR_SymMatrix2i64_identity()

MRC_API MR_SymMatrix2i64 * MR_SymMatrix2i64_identity ( void )

Generated from method MR::SymMatrix2i64::identity. Never returns null. Returns an instance allocated on the heap! Must call MR_SymMatrix2i64_Destroy() to free it when you're done using it.

◆ MR_SymMatrix2i64_inverse_0()

MRC_API MR_SymMatrix2i64 * MR_SymMatrix2i64_inverse_0 ( const MR_SymMatrix2i64 * _this)

computes inverse matrix Generated from method MR::SymMatrix2i64::inverse. Parameter _this can not be null. It is a single object. Never returns null. Returns an instance allocated on the heap! Must call MR_SymMatrix2i64_Destroy() to free it when you're done using it.

◆ MR_SymMatrix2i64_inverse_1()

MRC_API MR_SymMatrix2i64 * MR_SymMatrix2i64_inverse_1 ( const MR_SymMatrix2i64 * _this,
MR_int64_t det )

computes inverse matrix given determinant of this Generated from method MR::SymMatrix2i64::inverse. Parameter _this can not be null. It is a single object. Never returns null. Returns an instance allocated on the heap! Must call MR_SymMatrix2i64_Destroy() to free it when you're done using it.

◆ MR_SymMatrix2i64_mul_assign()

MRC_API MR_SymMatrix2i64 * MR_SymMatrix2i64_mul_assign ( MR_SymMatrix2i64 * _this,
MR_int64_t b )

Generated from method MR::SymMatrix2i64::operator*=. Parameter _this can not be null. It is a single object. The returned pointer will never be null. It is non-owning, do NOT destroy it.

◆ MR_SymMatrix2i64_normSq()

MRC_API MR_int64_t MR_SymMatrix2i64_normSq ( const MR_SymMatrix2i64 * _this)

computes the squared norm of the matrix, which is equal to the sum of 4 squared elements Generated from method MR::SymMatrix2i64::normSq. Parameter _this can not be null. It is a single object.

◆ MR_SymMatrix2i64_OffsetMutablePtr()

MRC_API MR_SymMatrix2i64 * MR_SymMatrix2i64_OffsetMutablePtr ( MR_SymMatrix2i64 * ptr,
ptrdiff_t i )

Offsets a pointer to an array element by i positions (not bytes). Use only if you're certain that the pointer points to an array element. The reference to the parameter ptr might be preserved in the return value.

◆ MR_SymMatrix2i64_OffsetPtr()

MRC_API const MR_SymMatrix2i64 * MR_SymMatrix2i64_OffsetPtr ( const MR_SymMatrix2i64 * ptr,
ptrdiff_t i )

Offsets a pointer to an array element by i positions (not bytes). Use only if you're certain that the pointer points to an array element. The reference to the parameter ptr might be preserved in the return value.

◆ MR_SymMatrix2i64_Set_xx()

MRC_API void MR_SymMatrix2i64_Set_xx ( MR_SymMatrix2i64 * _this,
MR_int64_t value )

zero matrix by default Modifies a member variable of class MR::SymMatrix2i64 named xx. Parameter _this can not be null. It is a single object. The reference to the parameter value might be preserved in this object in element xx. When this function is called, this object will drop object references it had previously in xx.

◆ MR_SymMatrix2i64_Set_xy()

MRC_API void MR_SymMatrix2i64_Set_xy ( MR_SymMatrix2i64 * _this,
MR_int64_t value )

zero matrix by default Modifies a member variable of class MR::SymMatrix2i64 named xy. Parameter _this can not be null. It is a single object. The reference to the parameter value might be preserved in this object in element xy. When this function is called, this object will drop object references it had previously in xy.

◆ MR_SymMatrix2i64_Set_yy()

MRC_API void MR_SymMatrix2i64_Set_yy ( MR_SymMatrix2i64 * _this,
MR_int64_t value )

zero matrix by default Modifies a member variable of class MR::SymMatrix2i64 named yy. Parameter _this can not be null. It is a single object. The reference to the parameter value might be preserved in this object in element yy. When this function is called, this object will drop object references it had previously in yy.

◆ MR_SymMatrix2i64_sub_assign()

MRC_API MR_SymMatrix2i64 * MR_SymMatrix2i64_sub_assign ( MR_SymMatrix2i64 * _this,
const MR_SymMatrix2i64 * b )

Generated from method MR::SymMatrix2i64::operator-=. Parameter _this can not be null. It is a single object. Parameter b can not be null. It is a single object. The returned pointer will never be null. It is non-owning, do NOT destroy it.

◆ MR_SymMatrix2i64_trace()

MRC_API MR_int64_t MR_SymMatrix2i64_trace ( const MR_SymMatrix2i64 * _this)

computes trace of the matrix Generated from method MR::SymMatrix2i64::trace. Parameter _this can not be null. It is a single object.

◆ MR_SymMatrix2i_add_assign()

MRC_API MR_SymMatrix2i * MR_SymMatrix2i_add_assign ( MR_SymMatrix2i * _this,
const MR_SymMatrix2i * b )

Generated from method MR::SymMatrix2i::operator+=. Parameter _this can not be null. It is a single object. Parameter b can not be null. It is a single object. The returned pointer will never be null. It is non-owning, do NOT destroy it.

◆ MR_SymMatrix2i_AssignFromAnother()

MRC_API MR_SymMatrix2i * MR_SymMatrix2i_AssignFromAnother ( MR_SymMatrix2i * _this,
const MR_SymMatrix2i * _other )

Generated from method MR::SymMatrix2i::operator=. Parameter _this can not be null. It is a single object. Parameter _other can not be null. It is a single object. The reference to things referred to by the parameter _other (if any) might be preserved in this object. The returned pointer will never be null. It is non-owning, do NOT destroy it. When this function is called, this object will drop any object references it had previously.

◆ MR_SymMatrix2i_ConstructFromAnother()

MRC_API MR_SymMatrix2i * MR_SymMatrix2i_ConstructFromAnother ( const MR_SymMatrix2i * _other)

Generated from constructor MR::SymMatrix2i::SymMatrix2i. Parameter _other can not be null. It is a single object. The reference to things referred to by the parameter _other (if any) might be preserved in the constructed object. Never returns null. Returns an instance allocated on the heap! Must call MR_SymMatrix2i_Destroy() to free it when you're done using it.

◆ MR_SymMatrix2i_DefaultConstruct()

MRC_API MR_SymMatrix2i * MR_SymMatrix2i_DefaultConstruct ( void )

Constructs an empty (default-constructed) instance. Never returns null. Returns an instance allocated on the heap! Must call MR_SymMatrix2i_Destroy() to free it when you're done using it.

◆ MR_SymMatrix2i_DefaultConstructArray()

MRC_API MR_SymMatrix2i * MR_SymMatrix2i_DefaultConstructArray ( size_t num_elems)

Constructs an array of empty (default-constructed) instances, of the specified size. Will never return null. The array must be destroyed using MR_SymMatrix2i_DestroyArray(). Use MR_SymMatrix2i_OffsetMutablePtr() and MR_SymMatrix2i_OffsetPtr() to access the array elements.

◆ MR_SymMatrix2i_Destroy()

MRC_API void MR_SymMatrix2i_Destroy ( const MR_SymMatrix2i * _this)

Destroys a heap-allocated instance of MR_SymMatrix2i. Does nothing if the pointer is null.

◆ MR_SymMatrix2i_DestroyArray()

MRC_API void MR_SymMatrix2i_DestroyArray ( const MR_SymMatrix2i * _this)

Destroys a heap-allocated array of MR_SymMatrix2i. Does nothing if the pointer is null.

◆ MR_SymMatrix2i_det()

MRC_API int MR_SymMatrix2i_det ( const MR_SymMatrix2i * _this)

computes determinant of the matrix Generated from method MR::SymMatrix2i::det. Parameter _this can not be null. It is a single object.

◆ MR_SymMatrix2i_diagonal()

MRC_API MR_SymMatrix2i * MR_SymMatrix2i_diagonal ( int diagVal)

Generated from method MR::SymMatrix2i::diagonal. Never returns null. Returns an instance allocated on the heap! Must call MR_SymMatrix2i_Destroy() to free it when you're done using it.

◆ MR_SymMatrix2i_div_assign()

MRC_API MR_SymMatrix2i * MR_SymMatrix2i_div_assign ( MR_SymMatrix2i * _this,
int b )

Generated from method MR::SymMatrix2i::operator/=. Parameter _this can not be null. It is a single object. The returned pointer will never be null. It is non-owning, do NOT destroy it.

◆ MR_SymMatrix2i_Get_xx()

MRC_API const int * MR_SymMatrix2i_Get_xx ( const MR_SymMatrix2i * _this)

zero matrix by default Returns a pointer to a member variable of class MR::SymMatrix2i named xx. Parameter _this can not be null. It is a single object. The returned pointer will never be null. It is non-owning, do NOT destroy it.

◆ MR_SymMatrix2i_Get_xy()

MRC_API const int * MR_SymMatrix2i_Get_xy ( const MR_SymMatrix2i * _this)

zero matrix by default Returns a pointer to a member variable of class MR::SymMatrix2i named xy. Parameter _this can not be null. It is a single object. The returned pointer will never be null. It is non-owning, do NOT destroy it.

◆ MR_SymMatrix2i_Get_yy()

MRC_API const int * MR_SymMatrix2i_Get_yy ( const MR_SymMatrix2i * _this)

zero matrix by default Returns a pointer to a member variable of class MR::SymMatrix2i named yy. Parameter _this can not be null. It is a single object. The returned pointer will never be null. It is non-owning, do NOT destroy it.

◆ MR_SymMatrix2i_GetMutable_xx()

MRC_API int * MR_SymMatrix2i_GetMutable_xx ( MR_SymMatrix2i * _this)

zero matrix by default Returns a mutable pointer to a member variable of class MR::SymMatrix2i named xx. Parameter _this can not be null. It is a single object. The returned pointer will never be null. It is non-owning, do NOT destroy it.

◆ MR_SymMatrix2i_GetMutable_xy()

MRC_API int * MR_SymMatrix2i_GetMutable_xy ( MR_SymMatrix2i * _this)

zero matrix by default Returns a mutable pointer to a member variable of class MR::SymMatrix2i named xy. Parameter _this can not be null. It is a single object. The returned pointer will never be null. It is non-owning, do NOT destroy it.

◆ MR_SymMatrix2i_GetMutable_yy()

MRC_API int * MR_SymMatrix2i_GetMutable_yy ( MR_SymMatrix2i * _this)

zero matrix by default Returns a mutable pointer to a member variable of class MR::SymMatrix2i named yy. Parameter _this can not be null. It is a single object. The returned pointer will never be null. It is non-owning, do NOT destroy it.

◆ MR_SymMatrix2i_identity()

MRC_API MR_SymMatrix2i * MR_SymMatrix2i_identity ( void )

Generated from method MR::SymMatrix2i::identity. Never returns null. Returns an instance allocated on the heap! Must call MR_SymMatrix2i_Destroy() to free it when you're done using it.

◆ MR_SymMatrix2i_inverse_0()

MRC_API MR_SymMatrix2i * MR_SymMatrix2i_inverse_0 ( const MR_SymMatrix2i * _this)

computes inverse matrix Generated from method MR::SymMatrix2i::inverse. Parameter _this can not be null. It is a single object. Never returns null. Returns an instance allocated on the heap! Must call MR_SymMatrix2i_Destroy() to free it when you're done using it.

◆ MR_SymMatrix2i_inverse_1()

MRC_API MR_SymMatrix2i * MR_SymMatrix2i_inverse_1 ( const MR_SymMatrix2i * _this,
int det )

computes inverse matrix given determinant of this Generated from method MR::SymMatrix2i::inverse. Parameter _this can not be null. It is a single object. Never returns null. Returns an instance allocated on the heap! Must call MR_SymMatrix2i_Destroy() to free it when you're done using it.

◆ MR_SymMatrix2i_mul_assign()

MRC_API MR_SymMatrix2i * MR_SymMatrix2i_mul_assign ( MR_SymMatrix2i * _this,
int b )

Generated from method MR::SymMatrix2i::operator*=. Parameter _this can not be null. It is a single object. The returned pointer will never be null. It is non-owning, do NOT destroy it.

◆ MR_SymMatrix2i_normSq()

MRC_API int MR_SymMatrix2i_normSq ( const MR_SymMatrix2i * _this)

computes the squared norm of the matrix, which is equal to the sum of 4 squared elements Generated from method MR::SymMatrix2i::normSq. Parameter _this can not be null. It is a single object.

◆ MR_SymMatrix2i_OffsetMutablePtr()

MRC_API MR_SymMatrix2i * MR_SymMatrix2i_OffsetMutablePtr ( MR_SymMatrix2i * ptr,
ptrdiff_t i )

Offsets a pointer to an array element by i positions (not bytes). Use only if you're certain that the pointer points to an array element. The reference to the parameter ptr might be preserved in the return value.

◆ MR_SymMatrix2i_OffsetPtr()

MRC_API const MR_SymMatrix2i * MR_SymMatrix2i_OffsetPtr ( const MR_SymMatrix2i * ptr,
ptrdiff_t i )

Offsets a pointer to an array element by i positions (not bytes). Use only if you're certain that the pointer points to an array element. The reference to the parameter ptr might be preserved in the return value.

◆ MR_SymMatrix2i_Set_xx()

MRC_API void MR_SymMatrix2i_Set_xx ( MR_SymMatrix2i * _this,
int value )

zero matrix by default Modifies a member variable of class MR::SymMatrix2i named xx. Parameter _this can not be null. It is a single object. When this function is called, this object will drop object references it had previously in xx.

◆ MR_SymMatrix2i_Set_xy()

MRC_API void MR_SymMatrix2i_Set_xy ( MR_SymMatrix2i * _this,
int value )

zero matrix by default Modifies a member variable of class MR::SymMatrix2i named xy. Parameter _this can not be null. It is a single object. When this function is called, this object will drop object references it had previously in xy.

◆ MR_SymMatrix2i_Set_yy()

MRC_API void MR_SymMatrix2i_Set_yy ( MR_SymMatrix2i * _this,
int value )

zero matrix by default Modifies a member variable of class MR::SymMatrix2i named yy. Parameter _this can not be null. It is a single object. When this function is called, this object will drop object references it had previously in yy.

◆ MR_SymMatrix2i_sub_assign()

MRC_API MR_SymMatrix2i * MR_SymMatrix2i_sub_assign ( MR_SymMatrix2i * _this,
const MR_SymMatrix2i * b )

Generated from method MR::SymMatrix2i::operator-=. Parameter _this can not be null. It is a single object. Parameter b can not be null. It is a single object. The returned pointer will never be null. It is non-owning, do NOT destroy it.

◆ MR_SymMatrix2i_trace()

MRC_API int MR_SymMatrix2i_trace ( const MR_SymMatrix2i * _this)

computes trace of the matrix Generated from method MR::SymMatrix2i::trace. Parameter _this can not be null. It is a single object.