MeshLib C Docs
Loading...
Searching...
No Matches
MRBestFitPolynomial.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 <stdbool.h>
7#include <stddef.h>
8
9#ifdef __cplusplus
10extern "C" {
11#endif
12
13typedef struct MR_std_optional_double MR_std_optional_double; // Defined in `#include <MRCMisc/std_optional_double.h>`.
14typedef struct MR_std_optional_float MR_std_optional_float; // Defined in `#include <MRCMisc/std_optional_float.h>`.
17typedef struct MR_std_vector_double MR_std_vector_double; // Defined in `#include <MRCMisc/std_vector_double.h>`.
18typedef struct MR_std_vector_float MR_std_vector_float; // Defined in `#include <MRCMisc/std_vector_float.h>`.
19
20
21// Please note that these template classes are explicitly instantiated in the corresponding .cpp files.
22// The following degrees are instantiated: [2; 6].
26
27// Please note that these template classes are explicitly instantiated in the corresponding .cpp files.
28// The following degrees are instantiated: [2; 6].
32
33// Please note that these template classes are explicitly instantiated in the corresponding .cpp files.
34// The following degrees are instantiated: [2; 6].
38
39// Please note that these template classes are explicitly instantiated in the corresponding .cpp files.
40// The following degrees are instantiated: [2; 6].
44
45// Please note that these template classes are explicitly instantiated in the corresponding .cpp files.
46// The following degrees are instantiated: [2; 6].
50
51// Please note that these template classes are explicitly instantiated in the corresponding .cpp files.
52// The following degrees are instantiated: [2; 6].
56
57// Please note that these template classes are explicitly instantiated in the corresponding .cpp files.
58// The following degrees are instantiated: [2; 6].
62
63// Please note that these template classes are explicitly instantiated in the corresponding .cpp files.
64// The following degrees are instantiated: [2; 6].
68
69// Please note that these template classes are explicitly instantiated in the corresponding .cpp files.
70// The following degrees are instantiated: [2; 6].
74
75// Please note that these template classes are explicitly instantiated in the corresponding .cpp files.
76// The following degrees are instantiated: [2; 6].
80
81// Please note that these template classes are explicitly instantiated in the corresponding .cpp files.
82// The following degrees are instantiated: [2; 6].
86
87// Please note that these template classes are explicitly instantiated in the corresponding .cpp files.
88// The following degrees are instantiated: [2; 6].
92
93// Please note that these template classes are explicitly instantiated in the corresponding .cpp files.
94// The following degrees are instantiated: [2; 6].
98
99// Please note that these template classes are explicitly instantiated in the corresponding .cpp files.
100// The following degrees are instantiated: [2; 6].
104
109
114
116MRC_API bool MR_canSolvePolynomial(MR_uint64_t degree);
117
119MRC_API bool MR_canMinimizePolynomial(MR_uint64_t degree);
120
123MRC_API const MR_uint64_t *MR_Polynomial_float_0_Get_n(void);
124
128
133
137
141
147
150
153
161
164MRC_API float MR_Polynomial_float_0_call(const MR_Polynomial_float_0 *_this, float x);
165
170
173MRC_API float MR_Polynomial_float_0_intervalMin(const MR_Polynomial_float_0 *_this, float a, float b);
174
177MRC_API const MR_uint64_t *MR_Polynomial_float_1_Get_n(void);
178
182
187
191
195
201
204
207
215
218MRC_API float MR_Polynomial_float_1_call(const MR_Polynomial_float_1 *_this, float x);
219
224
229
232MRC_API float MR_Polynomial_float_1_intervalMin(const MR_Polynomial_float_1 *_this, float a, float b);
233
236MRC_API const MR_uint64_t *MR_Polynomial_float_2_Get_n(void);
237
241
246
250
254
260
263
266
274
277MRC_API float MR_Polynomial_float_2_call(const MR_Polynomial_float_2 *_this, float x);
278
283
288
291MRC_API float MR_Polynomial_float_2_intervalMin(const MR_Polynomial_float_2 *_this, float a, float b);
292
295MRC_API const MR_uint64_t *MR_Polynomial_float_3_Get_n(void);
296
300
305
309
313
319
322
325
333
336MRC_API float MR_Polynomial_float_3_call(const MR_Polynomial_float_3 *_this, float x);
337
342
347
350MRC_API float MR_Polynomial_float_3_intervalMin(const MR_Polynomial_float_3 *_this, float a, float b);
351
354MRC_API const MR_uint64_t *MR_Polynomial_float_4_Get_n(void);
355
359
364
368
372
378
381
384
392
395MRC_API float MR_Polynomial_float_4_call(const MR_Polynomial_float_4 *_this, float x);
396
401
406
409MRC_API float MR_Polynomial_float_4_intervalMin(const MR_Polynomial_float_4 *_this, float a, float b);
410
413MRC_API const MR_uint64_t *MR_Polynomial_float_5_Get_n(void);
414
418
423
427
431
437
440
443
451
454MRC_API float MR_Polynomial_float_5_call(const MR_Polynomial_float_5 *_this, float x);
455
460
463MRC_API float MR_Polynomial_float_5_intervalMin(const MR_Polynomial_float_5 *_this, float a, float b);
464
467MRC_API const MR_uint64_t *MR_Polynomial_float_6_Get_n(void);
468
472
477
481
485
491
494
497
505
508MRC_API float MR_Polynomial_float_6_call(const MR_Polynomial_float_6 *_this, float x);
509
514
517MRC_API const MR_uint64_t *MR_Polynomial_double_0_Get_n(void);
518
522
527
531
535
541
544
547
555
558MRC_API double MR_Polynomial_double_0_call(const MR_Polynomial_double_0 *_this, double x);
559
564
567MRC_API double MR_Polynomial_double_0_intervalMin(const MR_Polynomial_double_0 *_this, double a, double b);
568
571MRC_API const MR_uint64_t *MR_Polynomial_double_1_Get_n(void);
572
576
581
585
589
595
598
601
609
612MRC_API double MR_Polynomial_double_1_call(const MR_Polynomial_double_1 *_this, double x);
613
618
623
626MRC_API double MR_Polynomial_double_1_intervalMin(const MR_Polynomial_double_1 *_this, double a, double b);
627
630MRC_API const MR_uint64_t *MR_Polynomial_double_2_Get_n(void);
631
635
640
644
648
654
657
660
668
671MRC_API double MR_Polynomial_double_2_call(const MR_Polynomial_double_2 *_this, double x);
672
677
682
685MRC_API double MR_Polynomial_double_2_intervalMin(const MR_Polynomial_double_2 *_this, double a, double b);
686
689MRC_API const MR_uint64_t *MR_Polynomial_double_3_Get_n(void);
690
694
699
703
707
713
716
719
727
730MRC_API double MR_Polynomial_double_3_call(const MR_Polynomial_double_3 *_this, double x);
731
736
741
744MRC_API double MR_Polynomial_double_3_intervalMin(const MR_Polynomial_double_3 *_this, double a, double b);
745
748MRC_API const MR_uint64_t *MR_Polynomial_double_4_Get_n(void);
749
753
758
762
766
772
775
778
786
789MRC_API double MR_Polynomial_double_4_call(const MR_Polynomial_double_4 *_this, double x);
790
795
800
803MRC_API double MR_Polynomial_double_4_intervalMin(const MR_Polynomial_double_4 *_this, double a, double b);
804
807MRC_API const MR_uint64_t *MR_Polynomial_double_5_Get_n(void);
808
812
817
821
825
831
834
837
845
848MRC_API double MR_Polynomial_double_5_call(const MR_Polynomial_double_5 *_this, double x);
849
854
857MRC_API double MR_Polynomial_double_5_intervalMin(const MR_Polynomial_double_5 *_this, double a, double b);
858
861MRC_API const MR_uint64_t *MR_Polynomial_double_6_Get_n(void);
862
866
871
875
879
885
888
891
899
902MRC_API double MR_Polynomial_double_6_call(const MR_Polynomial_double_6 *_this, double x);
903
908
914
921
927
933
937
941
944
947
955
959
964
969
975
982
988
994
998
1002
1005
1008
1016
1020
1025
1030
1031#ifdef __cplusplus
1032} // extern "C"
1033#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 const MR_uint64_t * MR_Polynomial_float_6_Get_n(void)
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:103
struct MR_Polynomial_double_0 MR_Polynomial_double_0
Definition MRBestFitPolynomial.h:67
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 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 MR_Polynomial_float_2 * MR_Polynomial_float_2_DefaultConstruct(void)
MRC_API const MR_uint64_t * MR_Polynomial_double_1_Get_n(void)
MRC_API MR_Polynomial_float_3 * MR_Polynomial_float_3_DefaultConstruct(void)
MRC_API const MR_uint64_t * MR_Polynomial_float_5_Get_n(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 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 bool MR_canMinimizePolynomial(MR_uint64_t degree)
Generated from function MR::canMinimizePolynomial<MR_uint64_t>.
MRC_API float MR_Polynomial_float_0_call(const MR_Polynomial_float_0 *_this, float x)
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:73
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 const MR_uint64_t * MR_Polynomial_double_2_Get_n(void)
MRC_API MR_Polynomial_float_6 * MR_Polynomial_float_6_ConstructFromAnother(const MR_Polynomial_float_6 *_other)
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 bool MR_canSolvePolynomial(MR_uint64_t degree)
Generated from function MR::canSolvePolynomial<MR_uint64_t>.
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:16
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:79
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 const MR_uint64_t * MR_Polynomial_float_4_Get_n(void)
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 const MR_uint64_t * MR_Polynomial_double_0_Get_n(void)
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:85
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 MR_uint64_t * MR_Polynomial_double_6_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:31
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:14
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 const MR_uint64_t * MR_Polynomial_double_5_Get_n(void)
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 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:49
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 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 const MR_uint64_t * MR_Polynomial_float_1_Get_n(void)
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 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 const MR_uint64_t * MR_Polynomial_double_3_Get_n(void)
MRC_API MR_PolynomialWrapper_double * MR_PolynomialWrapper_double_ConstructFromAnother(const MR_PolynomialWrapper_double *_other)
MRC_API const MR_uint64_t * MR_Polynomial_float_3_Get_n(void)
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 const MR_uint64_t * MR_Polynomial_float_0_Get_n(void)
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:61
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:97
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:108
struct MR_Polynomial_float_5 MR_Polynomial_float_5
Definition MRBestFitPolynomial.h:55
MRC_API const MR_Polynomial_double_5 * MR_Polynomial_double_5_OffsetPtr(const MR_Polynomial_double_5 *ptr, ptrdiff_t i)
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:43
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:15
MRC_API MR_Polynomial_double_0 * MR_Polynomial_double_0_DefaultConstructArray(size_t num_elems)
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:113
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 const MR_uint64_t * MR_Polynomial_double_4_Get_n(void)
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 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 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:13
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 MR_uint64_t * MR_Polynomial_float_2_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:91
struct MR_std_vector_double MR_std_vector_double
Definition MRBestFitPolynomial.h:17
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:25
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:37
struct MR_std_vector_float MR_std_vector_float
Definition MRPdf.h:27