On 11/05/2018 06:31 PM, Patrick Dupre wrote:
On 11/05/2018 05:32 PM, Patrick Dupre wrote:
sqrt_pi = sqrt (pi)
z (x, y) = x + I * y
w (z) = faddeeva (z) / sqrt_pi # Normalized
plot real (w (z (x, 1))
Good luck.
How do you initialize pi?
_______________________________________________
I do not have.
I={0,1}
sqrt_pi = sqrt (pi)
z (x, y) = x + I * y
w (z) = faddeeva (z) / sqrt_pi # Normalized
plot real (w (z (x, 1)))
works like a charm.
OK, let's try again. Does the language you're using have pi as a built
in constant, or do you have to define a variable and give it a value?
In the latter case, what value do you give it? It's more than idle
curiosity, as some ways to give it a value are more precise than others.
_______________________________________________
users mailing list -- users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to users-leave@xxxxxxxxxxxxxxxxxxxxxxx
Fedora Code of Conduct: https://getfedora.org/code-of-conduct.html
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/users@xxxxxxxxxxxxxxxxxxxxxxx