Re: [Numpy-discussion] calling NumPy from Julia - a plea for fewer macros

2013-02-17 Thread Steven G. Johnson
Nathaniel Smith wrote: > There are currently no plans to produce a NumPy 2.0, but everything you > suggest would be just fine as changes to numpy 1.x. PRs gratefully accepted. Thanks, just posted https://github.com/numpy/numpy/issues/2997 https://github.com/numpy/numpy/issues/299

[Numpy-discussion] calling NumPy from Julia - a plea for fewer macros

2013-02-17 Thread Steven G. Johnson
Dear NumPy developers, I've been working on a glue package that allows the Julia language (http://julialang.org/) to call Python routines easily https://github.com/stevengj/PyCall.jl and I'm using NumPy to pass multidimensional arrays between languages. Julia has the ability to call C fu

Re: [Numpy-discussion] [ANN] NLopt, a nonlinear optimization library

2010-06-29 Thread Steven G. Johnson
Steven G. Johnson wrote: >> Regarding constraints, the suggestion was to "manually" substitute my >> variables with combinations of exp()-expressions that would implicitly >> take care of the r_i>0 and 0> Question: Does NLopt allow to do those optimizations in a

Re: [Numpy-discussion] [ANN] NLopt, a nonlinear optimization library

2010-06-29 Thread Steven G. Johnson
ement nonlinear constraints, and NLopt also has algorithms that include constraints more directly.) Regards, Steven G. Johnson PS. Regarding your post, I basically agree with your respondents that you have to decide what error function you want to minimize. That is, you presumably have some err

Re: [Numpy-discussion] [ANN] NLopt, a nonlinear optimization library

2010-06-29 Thread Steven G. Johnson
and NLopt also has algorithms that include constraints more directly.) Regards, Steven G. Johnson PS. Regarding your post, I basically agree with your respondents that you have to decide what error function you want to minimize. That is, you presumably have some error measure for each fitted

[Numpy-discussion] [ANN] NLopt, a nonlinear optimization library

2010-06-16 Thread Steven G. Johnson
/inequality constraints. NLopt is written in C, but now includes a Python interface (as well as interfaces for C++, Fortran, Matlab, Octave, and Guile). It is free software under the GNU LGPL. Regards, Steven G. Johnson ___ NumPy-Discussion mailing list NumPy

Re: [Numpy-discussion] numpy arrays, data allocation and SIMD alignement

2007-08-05 Thread Steven G. Johnson
default alignment of numpy arrays at runtime, rather than requesting aligned arrays individually. e.g. so that someone could come along at a later date to a large program and just add one function call to make all the arrays 16-byte aligned to improve performance using SIMD libraries. Regards,