Révision 287
pobysoC-4.0/src/pobyso.c (revision 287) | ||
---|---|---|
39 | 39 |
sollya_lib_autoprint(objSo, NULL); |
40 | 40 |
} /* End pobyso_autoprint. */ |
41 | 41 |
|
42 |
/* @see pobyso.h#pobyso_clear_obj */ |
|
43 |
void |
|
44 |
pobyso_clear_obj(sollya_obj_t objSo) |
|
45 |
{ |
|
46 |
if (objSo == NULL) {return;} |
|
47 |
sollya_lib_clear_obj(objSo); |
|
48 |
} /* End pobyso_clear_obj. */ |
|
49 |
|
|
42 | 50 |
/* @see pobyso.h#pobyso_dirty_find_zeros */ |
43 | 51 |
mpfr_t* |
44 | 52 |
pobyso_dirty_find_zeros_bounds(pobyso_func_exp_t funcExpSo, |
pobysoC-4.0/src/pobyso.h (revision 287) | ||
---|---|---|
70 | 70 |
void |
71 | 71 |
pobyso_autoprint_v(va_list va); |
72 | 72 |
|
73 |
/** A very thin wrapper around the sollya_lib_clear_obj |
|
74 |
* function. |
|
75 |
* @param objSo: the Sollya object to free. |
|
76 |
*/ |
|
77 |
void |
|
78 |
pobyso_clear_obj(sollya_obj_t objSo); |
|
79 |
|
|
73 | 80 |
/** |
74 | 81 |
* A wrapper around the Sollya dirtyfindzeros function. |
75 | 82 |
* Find the numerical values of the zeroes of the funcExpSo expression over |
... | ... | |
110 | 117 |
*@param functionSo : the function to evaluate; |
111 | 118 |
*@param argumentMp : the argument used for the evaluation; |
112 | 119 |
*@param evalutionMp: the result of the evaluation. |
113 |
*@return 0 if 0K, 1 in case of a "generic" error, POBYSO_UNFAITHFULL if the |
|
114 |
* result is the mean of the two bound of the range encompassing it |
|
115 |
* and POBYSO_NAN if the result of the evaluation is not a number. |
|
120 |
*@return 0 if 0K, 1 in case of a "generic" error or POBYSO_UNFAITHFULL |
|
121 |
* if the result is the mean of the two bound of the range |
|
122 |
* encompassing it and POBYSO_NAN if the result of the evaluation |
|
123 |
* is not a number. |
|
116 | 124 |
*/ |
117 | 125 |
int |
118 | 126 |
pobyso_evaluate_constant(pobyso_func_exp_t functionSo, |
... | ... | |
306 | 314 |
/** |
307 | 315 |
* Faithful evaluation of an expression. |
308 | 316 |
* |
309 |
* @param faitufulEvaluation - holds the result, must be "inited" by the
|
|
317 |
* @param faithfulEvaluation - holds the result, must be "inited" by the
|
|
310 | 318 |
* caller; |
311 | 319 |
*/ |
312 | 320 |
int |
Formats disponibles : Unified diff