Post Reply 
A little help understanding math....
12-17-2013, 03:04 PM (This post was last modified: 12-19-2013 12:17 AM by Thomas Klemm.)
Post: #4
RE: A little help understanding math....
One of the reasons I use Python is that it comes with "batteries included". Until now I never had to install additional Python modules. Thus stackoverflow or some Python related forums might be more helpful. And then I'm not familiar with Windows.


To my surprise numpy is already installed. You just have to import it:

>>> import numpy as np

>>> import numpy.polynomial.polynomial as P
>>> P.polyroots((1,-1,-1))
array([-1.61803399,  0.61803399])

I've just skimmed through the Python Scientific lecture notes but it appears to give a nice introduction.
Find all posts by this user
Quote this message in a reply
Post Reply 

Messages In This Thread
RE: A little help understanding math.... - Thomas Klemm - 12-17-2013 03:04 PM

User(s) browsing this thread: 1 Guest(s)