Révision 149 pobysoC-4.0/src/pobyso.c
pobyso.c (revision 149) | ||
---|---|---|
632 | 632 |
return monomialSo; |
633 | 633 |
} /* End pobyso_new_monomial. */ |
634 | 634 |
|
635 |
/* @see pobyso.h#pobyso_parse_string*/ |
|
635 |
/* @see pobyso.h#pobyso_off */ |
|
636 |
pobyso_on_off_t |
|
637 |
pobyso_off() |
|
638 |
{ |
|
639 |
return sollya_lib_off(); |
|
640 |
} /* End pobyso_off. */ |
|
641 |
|
|
642 |
/* @see pobyso.h#pobyso_off */ |
|
643 |
pobyso_on_off_t |
|
644 |
pobyso_on() |
|
645 |
{ |
|
646 |
return sollya_lib_on(); |
|
647 |
} /* End pobyso_on. */ |
|
648 |
|
|
649 |
|
|
650 |
/* @see pobyso.h#pobyso_parse_string */ |
|
636 | 651 |
pobyso_func_exp_t |
637 | 652 |
pobyso_parse_string(const char* expression) |
638 | 653 |
{ |
... | ... | |
726 | 741 |
return NULL; |
727 | 742 |
} /* pobyso_parse_string */ |
728 | 743 |
|
744 |
/** @see pobyso.h#pobyso_range_from_bounds */ |
|
745 |
pobyso_range_t |
|
746 |
pobyso_range_from_bounds(mpfr_t lowerBound, mpfr_t upperBound) |
|
747 |
{ |
|
748 |
/* Supferficial check of arguments. */ |
|
749 |
if (mpfr_cmp(lowerBound, upperBound) > 0) |
|
750 |
{ |
|
751 |
return(NULL); |
|
752 |
} |
|
753 |
return(sollya_lib_range_from_bounds(lowerBound, upperBound)); |
|
754 |
} |
|
755 |
|
|
729 | 756 |
pobyso_func_exp_t |
730 | 757 |
pobyso_remez_canonical_monomials_base(pobyso_func_exp_t function, |
731 | 758 |
long int degree, |
Formats disponibles : Unified diff