MeshLib C Docs
Loading...
Searching...
No Matches
MRBestFitPolynomial.h
Go to the documentation of this file.
1#pragma once
2
3#include <MRCMisc/exports.h>
4
5#include <stdbool.h>
6#include <stddef.h>
7
8#ifdef __cplusplus
9extern "C" {
10#endif
11
12typedef struct MR_std_optional_double MR_std_optional_double; // Defined in `#include <MRCMisc/std_optional_double.h>`.
13typedef struct MR_std_optional_float MR_std_optional_float; // Defined in `#include <MRCMisc/std_optional_float.h>`.
16typedef struct MR_std_vector_double MR_std_vector_double; // Defined in `#include <MRCMisc/std_vector_double.h>`.
17typedef struct MR_std_vector_float MR_std_vector_float; // Defined in `#include <MRCMisc/std_vector_float.h>`.
18
19
20// Please note that these template classes are explicitly instantiated in the corresponding .cpp files.
21// The following degrees are instantiated: [2; 6].
25
26// Please note that these template classes are explicitly instantiated in the corresponding .cpp files.
27// The following degrees are instantiated: [2; 6].
31
32// Please note that these template classes are explicitly instantiated in the corresponding .cpp files.
33// The following degrees are instantiated: [2; 6].
37
38// Please note that these template classes are explicitly instantiated in the corresponding .cpp files.
39// The following degrees are instantiated: [2; 6].
43
44// Please note that these template classes are explicitly instantiated in the corresponding .cpp files.
45// The following degrees are instantiated: [2; 6].
49
50// Please note that these template classes are explicitly instantiated in the corresponding .cpp files.
51// The following degrees are instantiated: [2; 6].
55
56// Please note that these template classes are explicitly instantiated in the corresponding .cpp files.
57// The following degrees are instantiated: [2; 6].
61
62// Please note that these template classes are explicitly instantiated in the corresponding .cpp files.
63// The following degrees are instantiated: [2; 6].
67
68// Please note that these template classes are explicitly instantiated in the corresponding .cpp files.
69// The following degrees are instantiated: [2; 6].
73
74// Please note that these template classes are explicitly instantiated in the corresponding .cpp files.
75// The following degrees are instantiated: [2; 6].
79
80// Please note that these template classes are explicitly instantiated in the corresponding .cpp files.
81// The following degrees are instantiated: [2; 6].
85
86// Please note that these template classes are explicitly instantiated in the corresponding .cpp files.
87// The following degrees are instantiated: [2; 6].
91
92// Please note that these template classes are explicitly instantiated in the corresponding .cpp files.
93// The following degrees are instantiated: [2; 6].
97
98// Please note that these template classes are explicitly instantiated in the corresponding .cpp files.
99// The following degrees are instantiated: [2; 6].
103
108
113
115MRC_API bool MR_canSolvePolynomial(size_t degree);
116
119
123
127
132
136
140
146
149
152
160
164
169
173
177
181
186
190
194
200
203
206
214
218
223
228
232
236
240
245
249
253
259
262
265
273
277
282
287
291
295
299
304
308
312
318
321
324
332
336
341
346
350
354
358
363
367
371
377
380
383
391
395
400
405
409
413
417
422
426
430
436
439
442
450
454
459
463
467
471
476
480
484
490
493
496
504
508
513
517
521
526
530
534
540
543
546
554
558
563
567
571
575
580
584
588
594
597
600
608
612
617
622
626
630
634
639
643
647
653
656
659
667
671
676
681
685
689
693
698
702
706
712
715
718
726
730
735
740
744
748
752
757
761
765
771
774
777
785
789
794
799
803
807
811
816
820
824
830
833
836
844
848
853
857
861
865
870
874
878
884
887
890
898
902
907
913
920
926
932
936
940
943
946
954
958
963
968
974
981
987
993
997
1001
1004
1007
1015
1019
1024
1029
1030#ifdef __cplusplus
1031} // extern "C"
1032#endif
MRC_API void MR_Polynomial_float_3_DestroyArray(const MR_Polynomial_float_3 *_this)
Destroys a heap-allocated array of MR_Polynomial_float_3. Does nothing if the pointer is null.
MRC_API MR_Polynomial_float_5 * MR_Polynomial_float_5_DefaultConstructArray(size_t num_elems)
MRC_API double MR_Polynomial_double_3_call(const MR_Polynomial_double_3 *_this, double x)
MRC_API MR_Polynomial_double_4 * MR_Polynomial_double_4_AssignFromAnother(MR_Polynomial_double_4 *_this, const MR_Polynomial_double_4 *_other)
MRC_API MR_Polynomial_float_1 * MR_Polynomial_float_1_OffsetMutablePtr(MR_Polynomial_float_1 *ptr, ptrdiff_t i)
struct MR_Polynomial_double_6 MR_Polynomial_double_6
Definition MRBestFitPolynomial.h:102
struct MR_Polynomial_double_0 MR_Polynomial_double_0
Definition MRBestFitPolynomial.h:66
MRC_API MR_Polynomial_double_2 * MR_Polynomial_double_2_DefaultConstructArray(size_t num_elems)
MRC_API MR_Polynomial_float_4 * MR_Polynomial_float_4_ConstructFromAnother(const MR_Polynomial_float_4 *_other)
MRC_API MR_std_vector_double * MR_Polynomial_double_2_solve(const MR_Polynomial_double_2 *_this, double tol)
MRC_API MR_Polynomial_float_1 * MR_Polynomial_float_1_ConstructFromAnother(const MR_Polynomial_float_1 *_other)
MRC_API MR_Polynomial_double_1 * MR_Polynomial_double_1_DefaultConstruct(void)
MRC_API const size_t * MR_Polynomial_float_6_Get_n(void)
MRC_API void MR_Polynomial_double_3_DestroyArray(const MR_Polynomial_double_3 *_this)
Destroys a heap-allocated array of MR_Polynomial_double_3. Does nothing if the pointer is null.
MRC_API void MR_Polynomial_double_0_DestroyArray(const MR_Polynomial_double_0 *_this)
Destroys a heap-allocated array of MR_Polynomial_double_0. Does nothing if the pointer is null.
MRC_API const size_t * MR_Polynomial_double_2_Get_n(void)
MRC_API MR_Polynomial_float_2 * MR_Polynomial_float_2_DefaultConstruct(void)
MRC_API MR_Polynomial_float_3 * MR_Polynomial_float_3_DefaultConstruct(void)
MRC_API MR_Polynomial_double_6 * MR_Polynomial_double_6_DefaultConstructArray(size_t num_elems)
MRC_API MR_Polynomial_double_5 * MR_Polynomial_double_5_OffsetMutablePtr(MR_Polynomial_double_5 *ptr, ptrdiff_t i)
MRC_API const MR_Polynomial_double_2 * MR_Polynomial_double_2_OffsetPtr(const MR_Polynomial_double_2 *ptr, ptrdiff_t i)
MRC_API MR_Polynomial_double_3 * MR_Polynomial_double_3_OffsetMutablePtr(MR_Polynomial_double_3 *ptr, ptrdiff_t i)
MRC_API const size_t * MR_Polynomial_float_0_Get_n(void)
MRC_API void MR_Polynomial_float_6_Destroy(const MR_Polynomial_float_6 *_this)
Destroys a heap-allocated instance of MR_Polynomial_float_6. Does nothing if the pointer is null.
MRC_API MR_Polynomial_float_6 * MR_Polynomial_float_6_OffsetMutablePtr(MR_Polynomial_float_6 *ptr, ptrdiff_t i)
MRC_API float MR_Polynomial_float_0_call(const MR_Polynomial_float_0 *_this, float x)
MRC_API const size_t * MR_Polynomial_float_2_Get_n(void)
MRC_API float MR_Polynomial_float_2_intervalMin(const MR_Polynomial_float_2 *_this, float a, float b)
struct MR_Polynomial_double_1 MR_Polynomial_double_1
Definition MRBestFitPolynomial.h:72
MRC_API MR_Polynomial_float_4 * MR_Polynomial_float_4_DefaultConstruct(void)
MRC_API MR_Polynomial_double_2 * MR_Polynomial_double_2_DefaultConstruct(void)
MRC_API MR_Polynomial_float_0 * MR_Polynomial_float_0_AssignFromAnother(MR_Polynomial_float_0 *_this, const MR_Polynomial_float_0 *_other)
MRC_API MR_Polynomial_float_0 * MR_Polynomial_float_0_DefaultConstructArray(size_t num_elems)
MRC_API MR_Polynomial_float_6 * MR_Polynomial_float_6_ConstructFromAnother(const MR_Polynomial_float_6 *_other)
MRC_API const size_t * MR_Polynomial_double_3_Get_n(void)
MRC_API void MR_Polynomial_double_5_DestroyArray(const MR_Polynomial_double_5 *_this)
Destroys a heap-allocated array of MR_Polynomial_double_5. Does nothing if the pointer is null.
MRC_API MR_Polynomial_double_2 * MR_Polynomial_double_2_OffsetMutablePtr(MR_Polynomial_double_2 *ptr, ptrdiff_t i)
MRC_API const size_t * MR_Polynomial_double_6_Get_n(void)
MRC_API void MR_Polynomial_float_2_DestroyArray(const MR_Polynomial_float_2 *_this)
Destroys a heap-allocated array of MR_Polynomial_float_2. Does nothing if the pointer is null.
struct MR_std_variant_MR_Polynomial_float_0_MR_Polynomial_float_1_MR_Polynomial_float_2_MR_Polynomial_float_3_MR_Polynomial_float_4_MR_Polynomial_float_5_MR_Polynomial_float_6 MR_std_variant_MR_Polynomial_float_0_MR_Polynomial_float_1_MR_Polynomial_float_2_MR_Polynomial_float_3_MR_Polynomial_float_4_MR_Polynomial_float_5_MR_Polynomial_float_6
Definition MRBestFitPolynomial.h:15
MRC_API float MR_Polynomial_float_5_intervalMin(const MR_Polynomial_float_5 *_this, float a, float b)
struct MR_Polynomial_double_2 MR_Polynomial_double_2
Definition MRBestFitPolynomial.h:78
MRC_API void MR_Polynomial_float_2_Destroy(const MR_Polynomial_float_2 *_this)
Destroys a heap-allocated instance of MR_Polynomial_float_2. Does nothing if the pointer is null.
MRC_API void MR_Polynomial_float_0_DestroyArray(const MR_Polynomial_float_0 *_this)
Destroys a heap-allocated array of MR_Polynomial_float_0. Does nothing if the pointer is null.
MRC_API MR_Polynomial_double_6 * MR_Polynomial_double_6_AssignFromAnother(MR_Polynomial_double_6 *_this, const MR_Polynomial_double_6 *_other)
MRC_API void MR_Polynomial_float_5_DestroyArray(const MR_Polynomial_float_5 *_this)
Destroys a heap-allocated array of MR_Polynomial_float_5. Does nothing if the pointer is null.
MRC_API MR_Polynomial_float_0 * MR_Polynomial_float_1_deriv(const MR_Polynomial_float_1 *_this)
MRC_API MR_Polynomial_float_2 * MR_Polynomial_float_2_ConstructFromAnother(const MR_Polynomial_float_2 *_other)
MRC_API MR_Polynomial_double_4 * MR_Polynomial_double_5_deriv(const MR_Polynomial_double_5 *_this)
MRC_API MR_PolynomialWrapper_float * MR_PolynomialWrapper_float_AssignFromAnother(MR_PolynomialWrapper_float *_this, const MR_PolynomialWrapper_float *_other)
MRC_API MR_Polynomial_float_4 * MR_Polynomial_float_4_OffsetMutablePtr(MR_Polynomial_float_4 *ptr, ptrdiff_t i)
MRC_API double MR_Polynomial_double_4_intervalMin(const MR_Polynomial_double_4 *_this, double a, double b)
MRC_API void MR_PolynomialWrapper_float_Destroy(const MR_PolynomialWrapper_float *_this)
Destroys a heap-allocated instance of MR_PolynomialWrapper_float. Does nothing if the pointer is null...
MRC_API MR_Polynomial_double_4 * MR_Polynomial_double_4_DefaultConstruct(void)
struct MR_Polynomial_double_3 MR_Polynomial_double_3
Definition MRBestFitPolynomial.h:84
MRC_API MR_Polynomial_double_0 * MR_Polynomial_double_0_ConstructFromAnother(const MR_Polynomial_double_0 *_other)
MRC_API MR_Polynomial_double_3 * MR_Polynomial_double_3_DefaultConstructArray(size_t num_elems)
MRC_API MR_Polynomial_double_5 * MR_Polynomial_double_5_AssignFromAnother(MR_Polynomial_double_5 *_this, const MR_Polynomial_double_5 *_other)
MRC_API MR_Polynomial_double_6 * MR_Polynomial_double_6_OffsetMutablePtr(MR_Polynomial_double_6 *ptr, ptrdiff_t i)
MRC_API MR_Polynomial_double_5 * MR_Polynomial_double_6_deriv(const MR_Polynomial_double_6 *_this)
MRC_API MR_Polynomial_float_3 * MR_Polynomial_float_4_deriv(const MR_Polynomial_float_4 *_this)
MRC_API MR_Polynomial_float_5 * MR_Polynomial_float_5_OffsetMutablePtr(MR_Polynomial_float_5 *ptr, ptrdiff_t i)
MRC_API MR_std_vector_float * MR_Polynomial_float_3_solve(const MR_Polynomial_float_3 *_this, float tol)
MRC_API MR_Polynomial_float_4 * MR_Polynomial_float_4_DefaultConstructArray(size_t num_elems)
MRC_API MR_Polynomial_float_5 * MR_Polynomial_float_5_DefaultConstruct(void)
MRC_API MR_std_vector_double * MR_Polynomial_double_1_solve(const MR_Polynomial_double_1 *_this, double tol)
MRC_API MR_Polynomial_float_3 * MR_Polynomial_float_3_OffsetMutablePtr(MR_Polynomial_float_3 *ptr, ptrdiff_t i)
MRC_API void MR_Polynomial_double_4_DestroyArray(const MR_Polynomial_double_4 *_this)
Destroys a heap-allocated array of MR_Polynomial_double_4. Does nothing if the pointer is null.
MRC_API void MR_PolynomialWrapper_float_DestroyArray(const MR_PolynomialWrapper_float *_this)
Destroys a heap-allocated array of MR_PolynomialWrapper_float. Does nothing if the pointer is null.
MRC_API const MR_Polynomial_float_0 * MR_Polynomial_float_0_OffsetPtr(const MR_Polynomial_float_0 *ptr, ptrdiff_t i)
MRC_API MR_Polynomial_float_2 * MR_Polynomial_float_2_AssignFromAnother(MR_Polynomial_float_2 *_this, const MR_Polynomial_float_2 *_other)
MRC_API MR_Polynomial_float_5 * MR_Polynomial_float_6_deriv(const MR_Polynomial_float_6 *_this)
MRC_API float MR_Polynomial_float_0_intervalMin(const MR_Polynomial_float_0 *_this, float a, float b)
MRC_API const size_t * MR_Polynomial_float_1_Get_n(void)
MRC_API void MR_Polynomial_double_1_DestroyArray(const MR_Polynomial_double_1 *_this)
Destroys a heap-allocated array of MR_Polynomial_double_1. Does nothing if the pointer is null.
struct MR_Polynomial_float_1 MR_Polynomial_float_1
Definition MRBestFitPolynomial.h:30
MRC_API MR_Polynomial_double_6 * MR_Polynomial_double_6_ConstructFromAnother(const MR_Polynomial_double_6 *_other)
MRC_API MR_Polynomial_double_1 * MR_Polynomial_double_1_DefaultConstructArray(size_t num_elems)
MRC_API MR_Polynomial_double_6 * MR_Polynomial_double_6_DefaultConstruct(void)
struct MR_std_optional_float MR_std_optional_float
Definition MRBestFitPolynomial.h:13
MRC_API MR_PolynomialWrapper_float * MR_PolynomialWrapper_float_OffsetMutablePtr(MR_PolynomialWrapper_float *ptr, ptrdiff_t i)
MRC_API void MR_Polynomial_float_0_Destroy(const MR_Polynomial_float_0 *_this)
Destroys a heap-allocated instance of MR_Polynomial_float_0. Does nothing if the pointer is null.
MRC_API float MR_Polynomial_float_1_intervalMin(const MR_Polynomial_float_1 *_this, float a, float b)
MRC_API MR_std_vector_float * MR_Polynomial_float_4_solve(const MR_Polynomial_float_4 *_this, float tol)
MRC_API void MR_PolynomialWrapper_double_DestroyArray(const MR_PolynomialWrapper_double *_this)
Destroys a heap-allocated array of MR_PolynomialWrapper_double. Does nothing if the pointer is null.
MRC_API double MR_Polynomial_double_0_intervalMin(const MR_Polynomial_double_0 *_this, double a, double b)
MRC_API const MR_Polynomial_float_3 * MR_Polynomial_float_3_OffsetPtr(const MR_Polynomial_float_3 *ptr, ptrdiff_t i)
MRC_API const size_t * MR_Polynomial_float_5_Get_n(void)
MRC_API bool MR_canSolvePolynomial(size_t degree)
Generated from function MR::canSolvePolynomial<size_t>.
MRC_API double MR_Polynomial_double_2_intervalMin(const MR_Polynomial_double_2 *_this, double a, double b)
MRC_API const MR_Polynomial_float_2 * MR_Polynomial_float_2_OffsetPtr(const MR_Polynomial_float_2 *ptr, ptrdiff_t i)
MRC_API MR_Polynomial_float_3 * MR_Polynomial_float_3_ConstructFromAnother(const MR_Polynomial_float_3 *_other)
MRC_API void MR_Polynomial_float_3_Destroy(const MR_Polynomial_float_3 *_this)
Destroys a heap-allocated instance of MR_Polynomial_float_3. Does nothing if the pointer is null.
struct MR_Polynomial_float_4 MR_Polynomial_float_4
Definition MRBestFitPolynomial.h:48
MRC_API void MR_Polynomial_double_2_DestroyArray(const MR_Polynomial_double_2 *_this)
Destroys a heap-allocated array of MR_Polynomial_double_2. Does nothing if the pointer is null.
MRC_API double MR_Polynomial_double_5_intervalMin(const MR_Polynomial_double_5 *_this, double a, double b)
MRC_API MR_Polynomial_float_4 * MR_Polynomial_float_5_deriv(const MR_Polynomial_float_5 *_this)
MRC_API MR_PolynomialWrapper_float * MR_PolynomialWrapper_float_ConstructFromAnother(const MR_PolynomialWrapper_float *_other)
MRC_API float MR_Polynomial_float_2_call(const MR_Polynomial_float_2 *_this, float x)
MRC_API MR_Polynomial_double_1 * MR_Polynomial_double_1_AssignFromAnother(MR_Polynomial_double_1 *_this, const MR_Polynomial_double_1 *_other)
MRC_API MR_std_vector_double * MR_Polynomial_double_4_solve(const MR_Polynomial_double_4 *_this, double tol)
MRC_API void MR_Polynomial_float_5_Destroy(const MR_Polynomial_float_5 *_this)
Destroys a heap-allocated instance of MR_Polynomial_float_5. Does nothing if the pointer is null.
MRC_API MR_Polynomial_double_4 * MR_Polynomial_double_4_OffsetMutablePtr(MR_Polynomial_double_4 *ptr, ptrdiff_t i)
MRC_API MR_Polynomial_float_3 * MR_Polynomial_float_3_DefaultConstructArray(size_t num_elems)
MRC_API void MR_Polynomial_double_1_Destroy(const MR_Polynomial_double_1 *_this)
Destroys a heap-allocated instance of MR_Polynomial_double_1. Does nothing if the pointer is null.
MRC_API const MR_std_variant_MR_Polynomial_double_0_MR_Polynomial_double_1_MR_Polynomial_double_2_MR_Polynomial_double_3_MR_Polynomial_double_4_MR_Polynomial_double_5_MR_Polynomial_double_6 * MR_PolynomialWrapper_double_Get_poly(const MR_PolynomialWrapper_double *_this)
MRC_API const size_t * MR_Polynomial_double_0_Get_n(void)
MRC_API const MR_PolynomialWrapper_float * MR_PolynomialWrapper_float_OffsetPtr(const MR_PolynomialWrapper_float *ptr, ptrdiff_t i)
MRC_API MR_Polynomial_float_4 * MR_Polynomial_float_4_AssignFromAnother(MR_Polynomial_float_4 *_this, const MR_Polynomial_float_4 *_other)
MRC_API MR_Polynomial_double_0 * MR_Polynomial_double_0_DefaultConstruct(void)
MRC_API float MR_Polynomial_float_3_call(const MR_Polynomial_float_3 *_this, float x)
MRC_API const MR_Polynomial_double_0 * MR_Polynomial_double_0_OffsetPtr(const MR_Polynomial_double_0 *ptr, ptrdiff_t i)
MRC_API MR_Polynomial_float_0 * MR_Polynomial_float_0_DefaultConstruct(void)
MRC_API MR_Polynomial_double_5 * MR_Polynomial_double_5_DefaultConstructArray(size_t num_elems)
MRC_API MR_std_optional_float * MR_PolynomialWrapper_float_intervalMin(const MR_PolynomialWrapper_float *_this, float a, float b)
MRC_API bool MR_canMinimizePolynomial(size_t degree)
Generated from function MR::canMinimizePolynomial<size_t>.
MRC_API MR_Polynomial_float_6 * MR_Polynomial_float_6_AssignFromAnother(MR_Polynomial_float_6 *_this, const MR_Polynomial_float_6 *_other)
MRC_API MR_Polynomial_float_0 * MR_Polynomial_float_0_deriv(const MR_Polynomial_float_0 *_this)
MRC_API void MR_Polynomial_float_4_Destroy(const MR_Polynomial_float_4 *_this)
Destroys a heap-allocated instance of MR_Polynomial_float_4. Does nothing if the pointer is null.
MRC_API void MR_PolynomialWrapper_float_Set_poly(MR_PolynomialWrapper_float *_this, const MR_std_variant_MR_Polynomial_float_0_MR_Polynomial_float_1_MR_Polynomial_float_2_MR_Polynomial_float_3_MR_Polynomial_float_4_MR_Polynomial_float_5_MR_Polynomial_float_6 *value)
MRC_API double MR_PolynomialWrapper_double_call(const MR_PolynomialWrapper_double *_this, double x)
MRC_API MR_Polynomial_float_2 * MR_Polynomial_float_3_deriv(const MR_Polynomial_float_3 *_this)
MRC_API MR_std_variant_MR_Polynomial_double_0_MR_Polynomial_double_1_MR_Polynomial_double_2_MR_Polynomial_double_3_MR_Polynomial_double_4_MR_Polynomial_double_5_MR_Polynomial_double_6 * MR_PolynomialWrapper_double_GetMutable_poly(MR_PolynomialWrapper_double *_this)
MRC_API MR_Polynomial_double_4 * MR_Polynomial_double_4_ConstructFromAnother(const MR_Polynomial_double_4 *_other)
MRC_API MR_PolynomialWrapper_double * MR_PolynomialWrapper_double_ConstructFromAnother(const MR_PolynomialWrapper_double *_other)
MRC_API MR_Polynomial_double_2 * MR_Polynomial_double_2_ConstructFromAnother(const MR_Polynomial_double_2 *_other)
MRC_API MR_std_vector_float * MR_Polynomial_float_1_solve(const MR_Polynomial_float_1 *_this, float tol)
MRC_API void MR_Polynomial_double_2_Destroy(const MR_Polynomial_double_2 *_this)
Destroys a heap-allocated instance of MR_Polynomial_double_2. Does nothing if the pointer is null.
MRC_API void MR_Polynomial_double_0_Destroy(const MR_Polynomial_double_0 *_this)
Destroys a heap-allocated instance of MR_Polynomial_double_0. Does nothing if the pointer is null.
MRC_API const MR_std_variant_MR_Polynomial_float_0_MR_Polynomial_float_1_MR_Polynomial_float_2_MR_Polynomial_float_3_MR_Polynomial_float_4_MR_Polynomial_float_5_MR_Polynomial_float_6 * MR_PolynomialWrapper_float_Get_poly(const MR_PolynomialWrapper_float *_this)
MRC_API MR_Polynomial_double_0 * MR_Polynomial_double_0_OffsetMutablePtr(MR_Polynomial_double_0 *ptr, ptrdiff_t i)
MRC_API MR_Polynomial_double_3 * MR_Polynomial_double_3_AssignFromAnother(MR_Polynomial_double_3 *_this, const MR_Polynomial_double_3 *_other)
MRC_API MR_Polynomial_float_2 * MR_Polynomial_float_2_OffsetMutablePtr(MR_Polynomial_float_2 *ptr, ptrdiff_t i)
MRC_API MR_Polynomial_double_5 * MR_Polynomial_double_5_DefaultConstruct(void)
MRC_API void MR_PolynomialWrapper_double_Set_poly(MR_PolynomialWrapper_double *_this, const MR_std_variant_MR_Polynomial_double_0_MR_Polynomial_double_1_MR_Polynomial_double_2_MR_Polynomial_double_3_MR_Polynomial_double_4_MR_Polynomial_double_5_MR_Polynomial_double_6 *value)
MRC_API MR_Polynomial_double_1 * MR_Polynomial_double_1_ConstructFromAnother(const MR_Polynomial_double_1 *_other)
MRC_API float MR_Polynomial_float_4_intervalMin(const MR_Polynomial_float_4 *_this, float a, float b)
MRC_API MR_Polynomial_float_6 * MR_Polynomial_float_6_DefaultConstructArray(size_t num_elems)
MRC_API void MR_Polynomial_double_5_Destroy(const MR_Polynomial_double_5 *_this)
Destroys a heap-allocated instance of MR_Polynomial_double_5. Does nothing if the pointer is null.
MRC_API MR_Polynomial_double_3 * MR_Polynomial_double_3_ConstructFromAnother(const MR_Polynomial_double_3 *_other)
MRC_API MR_Polynomial_double_1 * MR_Polynomial_double_2_deriv(const MR_Polynomial_double_2 *_this)
MRC_API double MR_Polynomial_double_5_call(const MR_Polynomial_double_5 *_this, double x)
MRC_API MR_Polynomial_double_3 * MR_Polynomial_double_4_deriv(const MR_Polynomial_double_4 *_this)
MRC_API MR_Polynomial_float_1 * MR_Polynomial_float_1_DefaultConstruct(void)
MRC_API void MR_Polynomial_float_4_DestroyArray(const MR_Polynomial_float_4 *_this)
Destroys a heap-allocated array of MR_Polynomial_float_4. Does nothing if the pointer is null.
MRC_API float MR_Polynomial_float_6_call(const MR_Polynomial_float_6 *_this, float x)
MRC_API MR_PolynomialWrapper_double * MR_PolynomialWrapper_double_AssignFromAnother(MR_PolynomialWrapper_double *_this, const MR_PolynomialWrapper_double *_other)
MRC_API MR_Polynomial_float_1 * MR_Polynomial_float_1_DefaultConstructArray(size_t num_elems)
MRC_API double MR_Polynomial_double_1_call(const MR_Polynomial_double_1 *_this, double x)
MRC_API float MR_Polynomial_float_3_intervalMin(const MR_Polynomial_float_3 *_this, float a, float b)
MRC_API void MR_Polynomial_double_4_Destroy(const MR_Polynomial_double_4 *_this)
Destroys a heap-allocated instance of MR_Polynomial_double_4. Does nothing if the pointer is null.
MRC_API MR_std_optional_double * MR_PolynomialWrapper_double_intervalMin(const MR_PolynomialWrapper_double *_this, double a, double b)
struct MR_Polynomial_float_6 MR_Polynomial_float_6
Definition MRBestFitPolynomial.h:60
MRC_API const MR_Polynomial_double_1 * MR_Polynomial_double_1_OffsetPtr(const MR_Polynomial_double_1 *ptr, ptrdiff_t i)
struct MR_Polynomial_double_5 MR_Polynomial_double_5
Definition MRBestFitPolynomial.h:96
MRC_API float MR_Polynomial_float_5_call(const MR_Polynomial_float_5 *_this, float x)
MRC_API float MR_Polynomial_float_1_call(const MR_Polynomial_float_1 *_this, float x)
struct MR_PolynomialWrapper_float MR_PolynomialWrapper_float
Definition MRBestFitPolynomial.h:107
struct MR_Polynomial_float_5 MR_Polynomial_float_5
Definition MRBestFitPolynomial.h:54
MRC_API const MR_Polynomial_double_5 * MR_Polynomial_double_5_OffsetPtr(const MR_Polynomial_double_5 *ptr, ptrdiff_t i)
MRC_API const size_t * MR_Polynomial_double_5_Get_n(void)
MRC_API MR_PolynomialWrapper_double * MR_PolynomialWrapper_double_deriv(const MR_PolynomialWrapper_double *_this)
MRC_API void MR_Polynomial_float_1_Destroy(const MR_Polynomial_float_1 *_this)
Destroys a heap-allocated instance of MR_Polynomial_float_1. Does nothing if the pointer is null.
MRC_API double MR_Polynomial_double_3_intervalMin(const MR_Polynomial_double_3 *_this, double a, double b)
struct MR_Polynomial_float_3 MR_Polynomial_float_3
Definition MRBestFitPolynomial.h:42
MRC_API double MR_Polynomial_double_6_call(const MR_Polynomial_double_6 *_this, double x)
MRC_API double MR_Polynomial_double_1_intervalMin(const MR_Polynomial_double_1 *_this, double a, double b)
MRC_API void MR_Polynomial_float_6_DestroyArray(const MR_Polynomial_float_6 *_this)
Destroys a heap-allocated array of MR_Polynomial_float_6. Does nothing if the pointer is null.
MRC_API MR_Polynomial_double_2 * MR_Polynomial_double_3_deriv(const MR_Polynomial_double_3 *_this)
struct MR_std_variant_MR_Polynomial_double_0_MR_Polynomial_double_1_MR_Polynomial_double_2_MR_Polynomial_double_3_MR_Polynomial_double_4_MR_Polynomial_double_5_MR_Polynomial_double_6 MR_std_variant_MR_Polynomial_double_0_MR_Polynomial_double_1_MR_Polynomial_double_2_MR_Polynomial_double_3_MR_Polynomial_double_4_MR_Polynomial_double_5_MR_Polynomial_double_6
Definition MRBestFitPolynomial.h:14
MRC_API MR_Polynomial_double_0 * MR_Polynomial_double_0_DefaultConstructArray(size_t num_elems)
MRC_API const size_t * MR_Polynomial_float_3_Get_n(void)
MRC_API MR_Polynomial_float_1 * MR_Polynomial_float_2_deriv(const MR_Polynomial_float_2 *_this)
struct MR_PolynomialWrapper_double MR_PolynomialWrapper_double
Definition MRBestFitPolynomial.h:112
MRC_API MR_Polynomial_double_4 * MR_Polynomial_double_4_DefaultConstructArray(size_t num_elems)
MRC_API MR_std_variant_MR_Polynomial_float_0_MR_Polynomial_float_1_MR_Polynomial_float_2_MR_Polynomial_float_3_MR_Polynomial_float_4_MR_Polynomial_float_5_MR_Polynomial_float_6 * MR_PolynomialWrapper_float_GetMutable_poly(MR_PolynomialWrapper_float *_this)
MRC_API MR_Polynomial_double_0 * MR_Polynomial_double_0_AssignFromAnother(MR_Polynomial_double_0 *_this, const MR_Polynomial_double_0 *_other)
MRC_API MR_Polynomial_double_2 * MR_Polynomial_double_2_AssignFromAnother(MR_Polynomial_double_2 *_this, const MR_Polynomial_double_2 *_other)
MRC_API void MR_PolynomialWrapper_double_Destroy(const MR_PolynomialWrapper_double *_this)
Destroys a heap-allocated instance of MR_PolynomialWrapper_double. Does nothing if the pointer is nul...
MRC_API MR_Polynomial_float_5 * MR_Polynomial_float_5_AssignFromAnother(MR_Polynomial_float_5 *_this, const MR_Polynomial_float_5 *_other)
MRC_API double MR_Polynomial_double_4_call(const MR_Polynomial_double_4 *_this, double x)
MRC_API MR_Polynomial_double_3 * MR_Polynomial_double_3_DefaultConstruct(void)
MRC_API MR_Polynomial_double_5 * MR_Polynomial_double_5_ConstructFromAnother(const MR_Polynomial_double_5 *_other)
MRC_API const size_t * MR_Polynomial_double_4_Get_n(void)
MRC_API double MR_Polynomial_double_2_call(const MR_Polynomial_double_2 *_this, double x)
MRC_API const MR_Polynomial_float_4 * MR_Polynomial_float_4_OffsetPtr(const MR_Polynomial_float_4 *ptr, ptrdiff_t i)
MRC_API const size_t * MR_Polynomial_double_1_Get_n(void)
MRC_API void MR_Polynomial_double_6_Destroy(const MR_Polynomial_double_6 *_this)
Destroys a heap-allocated instance of MR_Polynomial_double_6. Does nothing if the pointer is null.
MRC_API MR_PolynomialWrapper_float * MR_PolynomialWrapper_float_deriv(const MR_PolynomialWrapper_float *_this)
MRC_API MR_Polynomial_float_3 * MR_Polynomial_float_3_AssignFromAnother(MR_Polynomial_float_3 *_this, const MR_Polynomial_float_3 *_other)
MRC_API const MR_Polynomial_float_1 * MR_Polynomial_float_1_OffsetPtr(const MR_Polynomial_float_1 *ptr, ptrdiff_t i)
MRC_API const MR_Polynomial_double_6 * MR_Polynomial_double_6_OffsetPtr(const MR_Polynomial_double_6 *ptr, ptrdiff_t i)
MRC_API void MR_Polynomial_double_3_Destroy(const MR_Polynomial_double_3 *_this)
Destroys a heap-allocated instance of MR_Polynomial_double_3. Does nothing if the pointer is null.
MRC_API MR_Polynomial_double_0 * MR_Polynomial_double_0_deriv(const MR_Polynomial_double_0 *_this)
MRC_API MR_Polynomial_float_1 * MR_Polynomial_float_1_AssignFromAnother(MR_Polynomial_float_1 *_this, const MR_Polynomial_float_1 *_other)
struct MR_std_optional_double MR_std_optional_double
Definition MRBestFitPolynomial.h:12
MRC_API MR_Polynomial_float_0 * MR_Polynomial_float_0_ConstructFromAnother(const MR_Polynomial_float_0 *_other)
MRC_API double MR_Polynomial_double_0_call(const MR_Polynomial_double_0 *_this, double x)
MRC_API const size_t * MR_Polynomial_float_4_Get_n(void)
MRC_API const MR_Polynomial_float_6 * MR_Polynomial_float_6_OffsetPtr(const MR_Polynomial_float_6 *ptr, ptrdiff_t i)
MRC_API MR_std_vector_double * MR_Polynomial_double_3_solve(const MR_Polynomial_double_3 *_this, double tol)
MRC_API MR_Polynomial_double_0 * MR_Polynomial_double_1_deriv(const MR_Polynomial_double_1 *_this)
MRC_API void MR_Polynomial_float_1_DestroyArray(const MR_Polynomial_float_1 *_this)
Destroys a heap-allocated array of MR_Polynomial_float_1. Does nothing if the pointer is null.
MRC_API const MR_Polynomial_double_4 * MR_Polynomial_double_4_OffsetPtr(const MR_Polynomial_double_4 *ptr, ptrdiff_t i)
MRC_API const MR_Polynomial_float_5 * MR_Polynomial_float_5_OffsetPtr(const MR_Polynomial_float_5 *ptr, ptrdiff_t i)
MRC_API MR_std_vector_float * MR_Polynomial_float_2_solve(const MR_Polynomial_float_2 *_this, float tol)
MRC_API MR_Polynomial_double_1 * MR_Polynomial_double_1_OffsetMutablePtr(MR_Polynomial_double_1 *ptr, ptrdiff_t i)
MRC_API MR_Polynomial_float_5 * MR_Polynomial_float_5_ConstructFromAnother(const MR_Polynomial_float_5 *_other)
struct MR_Polynomial_double_4 MR_Polynomial_double_4
Definition MRBestFitPolynomial.h:90
struct MR_std_vector_double MR_std_vector_double
Definition MRBestFitPolynomial.h:16
MRC_API void MR_Polynomial_double_6_DestroyArray(const MR_Polynomial_double_6 *_this)
Destroys a heap-allocated array of MR_Polynomial_double_6. Does nothing if the pointer is null.
MRC_API MR_PolynomialWrapper_double * MR_PolynomialWrapper_double_OffsetMutablePtr(MR_PolynomialWrapper_double *ptr, ptrdiff_t i)
MRC_API float MR_PolynomialWrapper_float_call(const MR_PolynomialWrapper_float *_this, float x)
MRC_API float MR_Polynomial_float_4_call(const MR_Polynomial_float_4 *_this, float x)
MRC_API MR_Polynomial_float_0 * MR_Polynomial_float_0_OffsetMutablePtr(MR_Polynomial_float_0 *ptr, ptrdiff_t i)
MRC_API const MR_Polynomial_double_3 * MR_Polynomial_double_3_OffsetPtr(const MR_Polynomial_double_3 *ptr, ptrdiff_t i)
struct MR_Polynomial_float_0 MR_Polynomial_float_0
Definition MRBestFitPolynomial.h:24
MRC_API const MR_PolynomialWrapper_double * MR_PolynomialWrapper_double_OffsetPtr(const MR_PolynomialWrapper_double *ptr, ptrdiff_t i)
MRC_API MR_Polynomial_float_6 * MR_Polynomial_float_6_DefaultConstruct(void)
MRC_API MR_Polynomial_float_2 * MR_Polynomial_float_2_DefaultConstructArray(size_t num_elems)
struct MR_Polynomial_float_2 MR_Polynomial_float_2
Definition MRBestFitPolynomial.h:36
struct MR_std_vector_float MR_std_vector_float
Definition MRPdf.h:27
#define MRC_API
Definition include/MRCMisc/exports.h:11