Re: [Scilab-users] Complex input to a function

2023-08-01 Thread Dang Ngoc Chan, Christophe
ean2) = zeta_3(reals(boolean2), n(boolean2)) etc. De : users De la part de Lester Anderson Envoyé : mardi 18 juillet 2023 09:58 À : International users mailing list for Scilab. Objet : Re: [Scilab-users] Complex input to a function I managed to sort the problem by reordering the functions and it no

Re: [Scilab-users] Complex input to a function

2023-07-19 Thread Lester Anderson
I managed to sort the problem by reordering the functions and it now seems to work. If anyone can see a more efficient method I would be most interested. Added the option to check for a complex input and values in the critical strip. Works as a reasonable approximation, but not as numerically pr

[Scilab-users] Complex input to a function

2023-07-19 Thread Lester Anderson
Hello, I have made a function to approximate the Riemann Zeta Function (see attached), but complex input only works by directly calling zeta_3(s,n). Calling zeta((0.5 + 3*%i),1e6) gives an error message: "Complex comparison not supported. Please define %s_2_s_custom() or check your code." For e