What is the simplest method to get a vector result?

fl rxjwg98 at gmail.com
Fri Jul 25 19:08:38 EDT 2014


On Thursday, July 24, 2014 9:49:14 AM UTC-4, Vlastimil Brom wrote:
> 2014-07-24 14:53 GMT+02:00 fl <rxj..98 at gmail.com>:
> internally):
> http://mpmath.org/
> Using the sensible defaults, the plotting of a function can be as simple as:
> 
> mpmath.plot(mpmath.sin)
> 
> As for your original question, you can use a library designed for
> working with this data:
> http://www.numpy.org/
> 
> numpy.arange(100) * numpy.pi
> 
> 
> hth,
> 
>    vbr

I want to use your reply about numpy, but I find only the following works:

import numpy as numpy

Do you have other ways to import? (I find the above import a little more letters)

Thanks,



More information about the Python-list mailing list