[Scilab-users] error 26 Too complex recursion!

Dang, Christophe Christophe.Dang at sidel.com
Mon Mar 4 17:04:35 CET 2013


Hello, 

De la part de haasejos
Envoyé : lundi 4 mars 2013 16:05

> Scilab prints the errormessage "error 26 Too complex recursion!"
> What should be changed to succeed? 

After a few tries,
I have the feeling that f is redefined

-->disp(f)
 
[gg2]=f(xi)

if you replace f by sin in g2, this solevs the problem
(but then you have a problem of convergence).

Note that you should place f before g2 (as g2 calls f),

and you can simplify you code with

f = sin

(but this does not improve the behaviour...)

-- 
Christophe Dang Ngoc Chan
Mechanical calculation engineer
This e-mail may contain confidential and/or privileged information. If you are not the intended recipient (or have received this e-mail in error), please notify the sender immediately and destroy this e-mail. Any unauthorized copying, disclosure or distribution of the material in this e-mail is strictly forbidden.





More information about the users mailing list