Name:
relative
indicates a relative error for
externalplot
,
fpminimax
or
supnorm
Library names:
sollya_obj_t sollya_lib_relative()
int sollya_lib_is_relative(sollya_obj_t)
Usage:
relative
:
absolute|relative
Description:
The use of
relative
in the command
externalplot
indicates that during plotting in
externalplot
a relative error is to be considered.
See
externalplot
for details.
Used with
fpminimax
,
relative
indicates that
fpminimax
must try to minimize the relative error.
See
fpminimax
for details.
When given in argument to
supnorm
,
relative
indicates that a relative error is to be considered for supremum norm computation.
See
supnorm
for details.
Example 1:
> bashexecute("gcc -fPIC -c externalplotexample.c");
> bashexecute("gcc -shared -o externalplotexample externalplotexample.o -lgmp -lmpfr");
> externalplot("./externalplotexample",relative,exp(x),[-1/2;1/2],12,perturb);
See also:
externalplot
,
fpminimax
,
absolute
,
bashexecute
,
supnorm
Go back to the list of commands