any python module to calculate sin, cos, arctan?

2005-11-08 Thread Shi Mu
any python module to calculate sin, cos, arctan? -- http://mail.python.org/mailman/listinfo/python-list

Re: any python module to calculate sin, cos, arctan?

2005-11-08 Thread Dennis Benzinger
Shi Mu schrieb: > any python module to calculate sin, cos, arctan? Yes. Use the math module or the cmath module if you need mathematical functions for complex numbers. Bye, Dennis -- http://mail.python.org/mailman/listinfo/python-list

Re: any python module to calculate sin, cos, arctan?

2005-11-08 Thread Simon Brunning
On 08/11/05, Shi Mu <[EMAIL PROTECTED]> wrote: > any python module to calculate sin, cos, arctan? <http://docs.python.org/lib/module-math.html> I seem to be posting loads of links to the docs today... -- Cheers, Simon B, [EMAIL PROTECTED], http://www.brunningonline.net/simon

Re: any python module to calculate sin, cos, arctan?

2005-11-08 Thread Juho Schultz
Shi Mu wrote: > any python module to calculate sin, cos, arctan? math There are two versions of arctan: atan and atan2. atan2(y,x) does the quadrant selection you do not get from atan(y/x) -- http://mail.python.org/mailman/listinfo/python-list

Re: any python module to calculate sin, cos, arctan?

2005-11-08 Thread Mikael Olofsson
Shi Mu wrote: > any python module to calculate sin, cos, arctan? Try module math. Or cmath if you want the functions to be aware of complex numbers. /MiO -- http://mail.python.org/mailman/listinfo/python-list

Re: any python module to calculate sin, cos, arctan?

2005-11-08 Thread Raymond L. Buvel
Shi Mu wrote: > any python module to calculate sin, cos, arctan? The other answers in this thread point you to the standard modules. If you need arbitrary precision floating point versions of these functions check out: http://calcrpnpy.sourceforge.net/clnumManual.html -- http://mail.python.

Re: any python module to calculate sin, cos, arctan?

2005-11-08 Thread Matt Feinstein
On Tue, 08 Nov 2005 12:30:35 GMT, "Raymond L. Buvel" <[EMAIL PROTECTED]> wrote: >Shi Mu wrote: >> any python module to calculate sin, cos, arctan? > >The other answers in this thread point you to the standard modules. If >you need arbitrary precision floating

Re: any python module to calculate sin, cos, arctan?

2005-11-08 Thread Robert Kern
Matt Feinstein wrote: > On Tue, 08 Nov 2005 12:30:35 GMT, "Raymond L. Buvel" > <[EMAIL PROTECTED]> wrote: >>http://calcrpnpy.sourceforge.net/clnumManual.html > > Unless you're using Windows. Why? Have you tried compiling it and failed? -- Robert Kern [EMAIL PROTECTED] "In the fields of hell w

Re: any python module to calculate sin, cos, arctan?

2005-11-08 Thread Matt Feinstein
On Tue, 08 Nov 2005 06:43:51 -0800, Robert Kern <[EMAIL PROTECTED]> wrote: >Matt Feinstein wrote: >> On Tue, 08 Nov 2005 12:30:35 GMT, "Raymond L. Buvel" >> <[EMAIL PROTECTED]> wrote: > >>>http://calcrpnpy.sourceforge.net/clnumManual.html >> >> Unless you're using Windows. > >Why? Have you tried

Re: any python module to calculate sin, cos, arctan?

2005-11-08 Thread Robert Kern
Matt Feinstein wrote: > On Tue, 08 Nov 2005 06:43:51 -0800, Robert Kern > <[EMAIL PROTECTED]> wrote: > >>Matt Feinstein wrote: >> >>>On Tue, 08 Nov 2005 12:30:35 GMT, "Raymond L. Buvel" >>><[EMAIL PROTECTED]> wrote: >> http://calcrpnpy.sourceforge.net/clnumManual.html >>> >>>Unless you're usin