Re: [Numpy-discussion] Mathematical functions in Numpy

2015-03-17 Thread Julian Taylor
currently the math functions are wrapped via the generic PyUfunc_* functions in numpy/core/src/umath/loops.c.src which just apply some arbitrary function to a scalar from arbitrarily strided inputs. When adding variants one likely needs to add some special purpose loops to deal with the various spe

Re: [Numpy-discussion] 3D array and the right hand rule

2015-03-17 Thread Hanno Klemm
> On 17 Mar 2015, at 09:11, Dieter Van Eessen > wrote: > > Hello, > > Sorry to disturb again, but the topic still bugs me somehow... > I'll try to rephrase the question: > > - What's the influence of the type of N-array representation with respect to > TENSOR-calculus? > - Are multiple repre

Re: [Numpy-discussion] Mathematical functions in Numpy

2015-03-17 Thread Robert Kern
On Tue, Mar 17, 2015 at 6:29 PM, Matthieu Brucher < matthieu.bruc...@gmail.com> wrote: > > Hi, > > These functions are defined in the C standard library! I think he's asking how to define numpy ufuncs. > 2015-03-17 18:00 GMT+00:00 Shubhankar Mohapatra : > > Hello all, > > I am a undergraduate and

[Numpy-discussion] ANN: HoloViews 1.0 released

2015-03-17 Thread James A. Bednar
We are pleased to announce the first public release of HoloViews, a Python package for scientific and engineering data visualization: http://ioam.github.io/holoviews HoloViews provides composable, sliceable, declarative data structures for building even complex visualizations easily. It's des

Re: [Numpy-discussion] Mathematical functions in Numpy

2015-03-17 Thread Matthieu Brucher
Hi, These functions are defined in the C standard library! Cheers, Matthieu 2015-03-17 18:00 GMT+00:00 Shubhankar Mohapatra : > Hello all, > I am a undergraduate and i am trying to do a project this time on numppy in > gsoc. This project is about integrating vector math library classes of sleef

[Numpy-discussion] Mathematical functions in Numpy

2015-03-17 Thread Shubhankar Mohapatra
Hello all,I am a undergraduate and i am trying to do a project this time on numppy in gsoc. This project is about integrating vector math library classes of sleef and yeppp into numpy to make the mathematical functions faster. I have already studied the new library classes but i am unable to fin

[Numpy-discussion] should views into structured arrays be reversible?

2015-03-17 Thread Allan Haldane
Hello all, I've introduced PR 5548 which, through more careful safety checks, allows views of object arrays. However, I had to make 'partial views' into structured arrays irreversible, and I want to check with the list that that's ok. With the PR, if you

Re: [Numpy-discussion] Fastest way to compute summary statistics for a specific axis

2015-03-17 Thread Dave Hirschfeld
Sebastian Berg sipsolutions.net> writes: > > On Mo, 2015-03-16 at 15:53 +, Dave Hirschfeld wrote: > > I have a number of large arrays for which I want to compute the mean and > > standard deviation over a particular axis - e.g. I want to compute the > > statistics for axis=1 as if the ot

Re: [Numpy-discussion] 3D array and the right hand rule

2015-03-17 Thread Dieter Van Eessen
Hello, Sorry to disturb again, but the topic still bugs me somehow... I'll try to rephrase the question: - What's the influence of the type of N-array representation with respect to TENSOR-calculus? - Are multiple representations possible? - I assume that the order of the dimensions plays a major