Keith Goodman wrote:
> But are there any unintended consequences of changing from array to
> asanyarray?
Not by itself, no. That entails that the implementations cannot rely on any
particular behavior of the arrays. The correct(ish) approach looks something
like the following, I believe:
def f
On 12/15/06, Paulo Jose da Silva e Silva <[EMAIL PROTECTED]> wrote:
> I did not try to imply that there are some functions in numpy that
> return array when receiving matrices. What I meant is that there are
> functions in numpy that always return arrays. Hence they ask for an
> explicit conversio
Em Sex, 2006-12-15 às 23:37 +0100, Sven Schreiber escreveu:
> Paulo Jose da Silva e Silva schrieb:
>
> >
> > However, after trying to use the matrix class I have came across a major
> > roadblock: many numpy/scipy functions return an array by default and not
> > matrices. Then, we need then to ad
Paulo Jose da Silva e Silva schrieb:
>
> However, after trying to use the matrix class I have came across a major
> roadblock: many numpy/scipy functions return an array by default and not
> matrices. Then, we need then to add many conversion calls to the 'mat'
> function in our code. This is als
Evan Lapisky wrote:
>> I was just going to try pyrex out with numpy to see how it compares with
>> weave (which is cool but quirky). My first attempt ended in failure: I
>> tried to compile the demo in in numpy/doc/pyrex and got this error:
>>
>>c_numpy.pxd:99:22: Array element cannot be a Pyth
Christian Meesters wrote:
> Hi
>
> I was looking for a guide how to migrate old numeric code to numpy and
> couldn't find anything on the web. Any pointers for me?
http://www.scipy.org/Converting_from_Numeric
Also, chapter 2.6 of the _Guide to NumPy_ in the freely available sample
chapters cove
> I was just going to try pyrex out with numpy to see how it compares with
> weave (which is cool but quirky). My first attempt ended in failure: I
> tried to compile the demo in in numpy/doc/pyrex and got this error:
>
>c_numpy.pxd:99:22: Array element cannot be a Python object
>
>
> Does anyo
Hello,
If a numpy user is specially concerned with numerical linear algebra (or
more generally with Math), it may find unconvenient the use of the dot
function instead of the * operator. This behavior may be specially
unpleasant for someone migrating from Matlab.
I believe that this is the may re
Hi
I was looking for a guide how to migrate old numeric code to numpy and
couldn't find anything on the web. Any pointers for me?
TIA and sorry for bothering, since this surely was discussed already,
Christian
___
Numpy-discussion mailing list
Numpy-di
Here's the runnable example
Everything work fine with installed
python 2.5
matplotlib 0.87.7
numpy 1.01scipy 0.5.2
Cheers
Giorgio
this module plots leverage for a regression module (only two steps in
the grid since it's only a try to compare with a matlab file I have)
# plots leverage plot (3d
Ok thanks Swen
I will try
and sorry for not starting a new thread.. I'm still a newbie with
mailing list too :)
Giorgio
>
>
>
___
Numpy-discussion mailing list
Numpy-discussion@scipy.org
http://projects.scipy.org/mailman/listinfo/numpy-discussion
11 matches
Mail list logo