Re: [Numpy-discussion] Depreciating asfortranarray and ascontiguousarray

2018-10-27 Thread Sylvain Corlay
I would also argue against deprecating these functions that we are using increasingly in several projects that I am involved in. On Sat, Oct 27, 2018, 01:28 Travis Oliphant wrote: > What is the justification for deprecation exactly? These functions have > been well documented and have had the i

Re: [Numpy-discussion] Add pybind11 to docs about writing binding code

2018-08-20 Thread Sylvain Corlay
Thanks guys. If we add pybind11 and xtensor, boost.python is also a good contender there. S. On Mon, Aug 20, 2018, 11:51 Hans Dembinski wrote: > Dear Robert, > > > On 17. Aug 2018, at 23:44, Robert Kern wrote: > > > > Even if you don't use the numpy-mimicking parts of the xtensor API, > xtens

Re: [Numpy-discussion] Add pybind11 to docs about writing binding code

2018-08-16 Thread Sylvain Corlay
Hi Hans, On Thu, Aug 16, 2018 at 10:51 AM, Hans Dembinski wrote: > Hi Sylvain, > > On 15. Aug 2018, at 19:38, Sylvain Corlay > wrote: > > If `pybind11` is included, it could be interesting to also include > `xtensor` and `xtensor-python`. > > - Xtensor is a C++ dyn

Re: [Numpy-discussion] Add pybind11 to docs about writing binding code

2018-08-15 Thread Sylvain Corlay
Hi Hans, Pauli, If `pybind11` is included, it could be interesting to also include `xtensor` and `xtensor-python`. - Xtensor is a C++ dynamic N-d array library that offers numpy-like features including broadcasting and universal functions. It is also lazy evaluated and continuously benchmarked a

Re: [Numpy-discussion] Adoption of a Code of Conduct

2018-08-02 Thread Sylvain Corlay
The "political belief" was recently removed from the Jupyter CoC. One reason for this decision is that *Racism and Sexism are increasingly considered as mainstream "political beliefs"*, and we wanted to make it clear that people can still be sanctioned for e.g. sexist or racist behavior when engag

Re: [Numpy-discussion] Extending C with Python

2018-02-03 Thread Sylvain Corlay
You can also check out pybind11, xtensor, and xtensor-python The latter enables a high-level numpy-like API on the C++ side. You can check out the numpy to xtensor cheat sheet: http://xtensor.readthedocs.io/en/latest/numpy.html Best, Sylvain On Thu, Feb 1, 2018 at 12:11 AM, Stefan Seefeld w

Re: [Numpy-discussion] [SciPy-Dev] PyRSB: Python interface to librsb sparse matrices library

2017-06-25 Thread Sylvain Corlay
referable *if you don't care about copyleft*... Best, Sylvain On Sun, Jun 25, 2017 at 12:01 PM, Michele Martone < michelemart...@users.sourceforge.net> wrote: > On 20170624@16:29, Sylvain Corlay wrote: > > Hi Michele, > > Hi Sylvain, > > > This is really intere

Re: [Numpy-discussion] [SciPy-Dev] PyRSB: Python interface to librsb sparse matrices library

2017-06-24 Thread Sylvain Corlay
Hi Michele, This is really interesting. I am a co-author of the xtensor project and one thing that could be interesting is to wrap the various sparse matrix data structures in the form of xtensor expressions. A byproduct of doing so is that it would simplify creating bindings for multiple scientif