Révision 133 pobysoC-4.0/src/pobyso.h

pobyso.h (revision 133)
68 68
void
69 69
pobyso_autoprint_v(sollya_obj_t soObj, va_list va);
70 70

  
71
/**
72
 * Check if a sollya object is a constant expression.
73
 * @return 1 if true and zero otherwise
74
 */
75
int
76
pobyso_is_constant_expression(sollya_obj_t obj_to_text);
71 77

  
72

  
73 78
/**
74
 * Parse a string to create a Sollya object.
75
 * A very thin wrapper around the sollya_lib_parse_string() function.
76
 * If the final ";" is forgotten in the expression, it is added by the
77
 * function.
78
 * @return a Sollya expression if successes, a Sollya error if fails.
79
 * Create a Sollya monomial from a Sollya constant,
80
 * the coefficient, and an integer, the exponent
81
 * @return a Sollya functional expression if successes, or a Sollya error
82
 * if fails.
79 83
 */
80
pobyso_error_t
81
pobyso_parse(const char* expression);
84
sollya_obj_t
85
pobyso_new_monomial(pobyso_func_exp_t coefficient, long degree);
82 86

  
83 87
/**
84 88
 * A wrapper around the Sollya Remez function.
......
88 92
 * A very thin wrapper around the sollya_lib_parse_string() function.
89 93
 * If the final ";" is forgotten in the expression, it is added by the
90 94
 * function.
91
 * @return a Sollya functional expression if successes, a Sollya error if fails.
95
 * @return a Sollya functional expression if successes, or a Sollya error
96
 * if fails.
92 97
 */
93 98
pobyso_error_t
94 99
pobyso_parse_string(const char* expression);

Formats disponibles : Unified diff