any python module to calculate sin, cos, arctan?
--
http://mail.python.org/mailman/listinfo/python-list
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
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
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
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
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.
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
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
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
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
10 matches
Mail list logo