Re: Testing gnuplot with libcerf

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



> 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.

I am sorry for the confusion.
I use gnuplot
_______________________________________________
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



[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [EPEL Devel]     [Fedora Magazine]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Desktop]     [Fedora Fonts]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Fedora Sparc]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux