Thank you sir... thank you very much.
On Wed, Apr 6, 2011 at 9:36 PM, Christopher Barker wrote:
> On 4/6/11 6:24 AM, Alan G Isaac wrote:
> > http://docs.scipy.org/doc/numpy/reference/generated/numpy.round_.html
>
> simple enough, of course, but just to be clear:
>
> In [1
On Thu, Apr 7, 2011 at 11:01 AM, Bruce Southey wrote:
> Hi,
> I tend to get files left behind for 32-bit versions of Python 3.1 and
> Python3.2 usually after I have ran the tests and then immediately try
> to uninstall it using the Windows uninstaller via control panel.
>
> With Python 3.1 files
Hi,
I tend to get files left behind for 32-bit versions of Python 3.1 and
Python3.2 usually after I have ran the tests and then immediately try
to uninstall it using the Windows uninstaller via control panel.
With Python 3.1 files are left behind have the '.pyd' suffix:
C:\Python31\Lib\site-pack
On 2011-04-05 Vicent Mas said:
> Hi,
>
> I'm trying to install numpy1.5.1 in a virtual environment
> (virtualenv-1.5.1) on my debian testing box. I'm using python 2.7
> installed from a debian package.
>
> [...]
>
> Doing the same with python2.6 (also from debian package) works just fine.
> Cou
On Wed, Apr 6, 2011 at 8:08 PM, Ralf Gommers
wrote:
> On Tue, Apr 5, 2011 at 11:17 PM, Vicent Mas wrote:
>> Hi,
>>
>> I'm trying to install numpy1.5.1 in a virtual environment (virtualenv-1.5.1)
>> on my debian testing box. I'm using python 2.7 installed from a debian
>> package.
>>
>> This is wh
On Tue, Apr 5, 2011 at 11:17 PM, Vicent Mas wrote:
> Hi,
>
> I'm trying to install numpy1.5.1 in a virtual environment (virtualenv-1.5.1)
> on my debian testing box. I'm using python 2.7 installed from a debian
> package.
>
> This is what I get:
>
> (venv2.7)vmas@rachael$ python setup.py install
>
On 4/6/11 6:24 AM, Alan G Isaac wrote:
> http://docs.scipy.org/doc/numpy/reference/generated/numpy.round_.html
simple enough, of course, but just to be clear:
In [108]: np.round(1.23456789, 3)
Out[108]: 1.2351
so the number is rounded to the requested number of decimal places, but
t
On 4/5/11 10:33 PM, Matthew Brett wrote:
> Did you mean to send this just to me? It seems like the whole is
> generally interesting and helpful, at least to me...
I did mean to send to the list -- I've done that now.
> Well, the current code doesn't split on \r in py3k, admittedly that
> must be
Sorry to keep harping on this, but for history's sake, I was one of the
folks that got 'U' introduced in the first place. I was dealing with a
nightmare of unix, mac and dos test files, 'U' was a godsend.
On 4/5/11 4:51 PM, Matthew Brett wrote:
> The difference between 'rt' and 'U' is (this is
On 4/6/2011 9:14 AM, dileep kunjaai wrote:
> Is there any function for rounding the real number, for "n" (say) decimal
> places:
http://www.google.com/search?q=numpy+round
produces
http://docs.scipy.org/doc/numpy/reference/generated/numpy.round_.html
Cheers,
Alan Isaac
Dear sir,
Is there any function for rounding the real number, for "n" (say) decimal
places:
Example:
Let X= 6.9867349234888211237767867863478728314...
but i need only 4 decimal position.
That is the answer should be..
>>>answer=6.9867
--
DILEEPKUMAR. R
J R F, IIT DELHI
___
Hi Zach and Derek,
thank you very much for your quick and clear answers. Of course the third
parameter is the out array, I was just being very stupid! (I had read the
documentation though, but somehow it didn't make it to my brain :-) Sorry...
> Read the documentation for numpy.minimum and numpy.
Hi Emmanuelle,
a, b, c = np.array([10]), np.array([2]), np.array([7])
min_val = np.minimum(a, b, c)
min_val
> array([2])
max_val = np.maximum(a, b, c)
max_val
> array([10])
min_val
> array([10])
>
> (I'm using numpy 1.4, and I observed the same behavior with numpy
> 2
>
a, b, c = np.array([10]), np.array([2]), np.array([7])
min_val = np.minimum(a, b, c)
min_val
> array([2])
max_val = np.maximum(a, b, c)
max_val
> array([10])
min_val
> array([10])
>
> (I'm using numpy 1.4, and I observed the same behavior with numpy
> 2.0.0.dev8600 o
Hello,
>>> a, b, c = np.array([10]), np.array([2]), np.array([7])
>>> min_val = np.minimum(a, b, c)
>>> min_val
array([2])
>>> max_val = np.maximum(a, b, c)
>>> max_val
array([10])
>>> min_val
array([10])
(I'm using numpy 1.4, and I observed the same behavior with numpy
2.0.0.dev8600 on a
Hi all,
sorry for the massive cross-post, but since all these projects were
highlighted with talks at this event, I figured there would be
interest... Hans-Petter Langtangen, Randy LeVeque and I organized a
set of Python-focused sessions at the recent SIAM Computational
Science and Engineering co
16 matches
Mail list logo