MeshLib C Docs
Loading...
Searching...
No Matches
MRMatrix.h
Go to the documentation of this file.
1#pragma once
2
3#include <MRCMisc/common.h>
4#include <MRCMisc/exports.h>
5
6#include <stddef.h>
7
8#ifdef __cplusplus
9extern "C" {
10#endif
11
12typedef struct MR_RectIndexer MR_RectIndexer; // Defined in `#include <MRCMesh/MRRectIndexer.h>`.
13typedef struct MR_std_vector_float MR_std_vector_float; // Defined in `#include <MRCMisc/std_vector_float.h>`.
14
15
22
26
31
34
37
41
44
48
52
55
58
63
69
74
79
84
89
95
99
103
107
111
116
117#ifdef __cplusplus
118} // extern "C"
119#endif
struct MR_std_vector_float MR_std_vector_float
Definition MRBestFit.h:27
struct MR_RectIndexer MR_RectIndexer
Definition MRDistanceMap.h:22
struct MR_Matrix_float MR_Matrix_float
Definition MRDistanceMap.h:17
MRC_API float * MR_Matrix_float_call_2(MR_Matrix_float *_this, MR_uint64_t row, MR_uint64_t col)
MRC_API void MR_Matrix_float_clear(MR_Matrix_float *_this)
MRC_API MR_Matrix_float * MR_Matrix_float_getSubMatrix(MR_Matrix_float *_this, MR_uint64_t startRow, MR_uint64_t nRow, MR_uint64_t startCol, MR_uint64_t nCol)
MRC_API MR_Matrix_float * MR_Matrix_float_AssignFromAnother(MR_Matrix_float *_this, MR_PassBy _other_pass_by, MR_Matrix_float *_other)
MRC_API MR_uint64_t MR_Matrix_float_getColsNum(const MR_Matrix_float *_this)
MRC_API MR_Matrix_float * MR_Matrix_float_ConstructFromAnother(MR_PassBy _other_pass_by, MR_Matrix_float *_other)
MRC_API void MR_Matrix_float_fill(MR_Matrix_float *_this, float val)
MRC_API MR_Matrix_float * MR_Matrix_float_DefaultConstruct(void)
MRC_API MR_Matrix_float * MR_Matrix_float_OffsetMutablePtr(MR_Matrix_float *ptr, ptrdiff_t i)
Offsets a pointer to an array element by i positions (not bytes). Use only if you're certain that the...
MRC_API void MR_Matrix_float_Destroy(const MR_Matrix_float *_this)
Destroys a heap-allocated instance of MR_Matrix_float. Does nothing if the pointer is null.
MRC_API MR_Matrix_float * MR_Matrix_float_DefaultConstructArray(size_t num_elems)
MRC_API void MR_Matrix_float_DestroyArray(const MR_Matrix_float *_this)
Destroys a heap-allocated array of MR_Matrix_float. Does nothing if the pointer is null.
MRC_API MR_Matrix_float * MR_Matrix_float_transposed(const MR_Matrix_float *_this)
MRC_API const MR_RectIndexer * MR_Matrix_float_UpcastTo_MR_RectIndexer(const MR_Matrix_float *object)
MRC_API const float * MR_Matrix_float_call_const_1(const MR_Matrix_float *_this, MR_uint64_t i)
MRC_API MR_uint64_t MR_Matrix_float_getRowsNum(const MR_Matrix_float *_this)
MRC_API const MR_Matrix_float * MR_Matrix_float_OffsetPtr(const MR_Matrix_float *ptr, ptrdiff_t i)
Offsets a pointer to an array element by i positions (not bytes). Use only if you're certain that the...
MRC_API MR_RectIndexer * MR_Matrix_float_MutableUpcastTo_MR_RectIndexer(MR_Matrix_float *object)
Upcasts an instance of MR::Matrix<float> to its base class MR::RectIndexer.
MRC_API MR_Matrix_float * MR_Matrix_float_Construct(MR_uint64_t numRows, MR_uint64_t numCols)
MRC_API float * MR_Matrix_float_call_1(MR_Matrix_float *_this, MR_uint64_t i)
MRC_API const float * MR_Matrix_float_call_const_2(const MR_Matrix_float *_this, MR_uint64_t row, MR_uint64_t col)
MRC_API const MR_std_vector_float * MR_Matrix_float_data(const MR_Matrix_float *_this)
MR_PassBy
Definition common.h:19
uint64_t MR_uint64_t
Definition common.h:14
#define MRC_API
Definition exports.h:11