Name:

taylorrecursions controls the number of recursion steps when applying Taylor's rule.

Library names:

void sollya_lib_set_taylorrecursions_and_print(sollya_obj_t) void sollya_lib_set_taylorrecursions(sollya_obj_t) sollya_obj_t sollya_lib_get_taylorrecursions()

Usage:

taylorrecursions = n : integer -> void taylorrecursions = n ! : integer -> void taylorrecursions : integer

Parameters:

Description:

Example 1:

   > f=exp(x);
   > p=remez(f,3,[0;1]);
   > taylorrecursions=0;
   The number of recursions for Taylor evaluation has been set to 0.
   > evaluate(f-p, [0;1]);
   [-0.46839364816268368775174657814112460243249079671039;0.46947781754646820647293019728402934746974652584671]
   > taylorrecursions=1;
   The number of recursions for Taylor evaluation has been set to 1.
   > evaluate(f-p, [0;1]);
   [-0.138131114954063839905475752120786856031651747712954;0.13921528433784835862665937126369160106890747684927]
See also: hopitalrecursions, evaluate, infnorm
Go back to the list of commands