Révision 130
pobysoC-4.0/src/pobyso.h (revision 130) | ||
---|---|---|
21 | 21 |
|
22 | 22 |
/* Typedefs to make code more readable. */ |
23 | 23 |
typedef sollya_obj_t pobyso_error_t; |
24 |
typedef sollya_obj_t pobyso_function_t;
|
|
24 |
typedef sollya_obj_t pobyso_func_exp_t;
|
|
25 | 25 |
typedef sollya_obj_t pobyso_precision_t; |
26 | 26 |
typedef sollya_obj_t pobyso_range_t; |
27 | 27 |
|
... | ... | |
82 | 82 |
* A very thin wrapper around the sollya_lib_parse_string() function. |
83 | 83 |
* If the final ";" is forgotten in the expression, it is added by the |
84 | 84 |
* function. |
85 |
* @return a Sollya expression if successes, a Sollya error if fails. |
|
85 |
* @return a Sollya functional expression if successes, a Sollya error if fails.
|
|
86 | 86 |
*/ |
87 | 87 |
pobyso_error_t |
88 | 88 |
pobyso_parse_string(const char* expression); |
... | ... | |
92 | 92 |
* base. |
93 | 93 |
*/ |
94 | 94 |
|
95 |
pobyso_function_t
|
|
96 |
pobyso_remez_canonical_monomials_base(pobyso_function_t function,
|
|
95 |
pobyso_func_exp_t
|
|
96 |
pobyso_remez_canonical_monomials_base(pobyso_func_exp_t function,
|
|
97 | 97 |
long int degree, |
98 | 98 |
pobyso_range_t interval, |
99 |
pobyso_function_t weight,
|
|
99 |
pobyso_func_exp_t weight,
|
|
100 | 100 |
double quality, |
101 | 101 |
pobyso_range_t bounds); |
102 | 102 |
|
... | ... | |
105 | 105 |
* base. |
106 | 106 |
*/ |
107 | 107 |
|
108 |
pobyso_function_t
|
|
109 |
pobyso_remez_sparse_monomials_base(pobyso_function_t);
|
|
108 |
pobyso_func_exp_t
|
|
109 |
pobyso_remez_sparse_monomials_base(pobyso_func_exp_t);
|
|
110 | 110 |
|
111 | 111 |
/** |
112 | 112 |
* A wrapper around the Sollya Remez function with the canonical monomials |
113 | 113 |
* base. |
114 | 114 |
*/ |
115 | 115 |
|
116 |
pobyso_function_t
|
|
117 |
pobyso_remez_arbitrary_base(pobyso_function_t);
|
|
116 |
pobyso_func_exp_t
|
|
117 |
pobyso_remez_arbitrary_base(pobyso_func_exp_t);
|
|
118 | 118 |
|
119 | 119 |
|
120 | 120 |
|
pobysoC-4.0/src/pobyso.c (revision 130) | ||
---|---|---|
43 | 43 |
} /* End pobyso_autoprint. */ |
44 | 44 |
|
45 | 45 |
/* @see pobyso.h#pobyso_parse*/ |
46 |
pobyso_function_t
|
|
46 |
pobyso_func_exp_t
|
|
47 | 47 |
pobyso_parse(const char* expression) |
48 | 48 |
{ |
49 | 49 |
int expressionLength, i; |
... | ... | |
129 | 129 |
} /* pobyso_parse_string */ |
130 | 130 |
|
131 | 131 |
/* @see pobyso.h#pobyso_parse_string*/ |
132 |
pobyso_function_t
|
|
132 |
pobyso_func_exp_t
|
|
133 | 133 |
pobyso_parse_string(const char* expression) |
134 | 134 |
{ |
135 | 135 |
int expressionLength, i; |
pobysoC-4.0/src/Makefile (revision 130) | ||
---|---|---|
1 | 1 |
CC = gcc |
2 | 2 |
CFLAGS = -Wall -g |
3 | 3 |
#CFLAGS = -Wall -g -I /warehouse/storres/root/include |
4 |
LDLIB = -Wl,--verbose -lmpfr -lgmp -lm -lfplll -lsollya
|
|
4 |
LDLIB = -Wl, -lmpfr -lgmp -lm -lfplll -lsollya |
|
5 | 5 |
|
6 | 6 |
OBJS = pobyso.o |
7 | 7 |
INCS = pobyso.h |
Formats disponibles : Unified diff