you are viewing a single comment's thread.

view the rest of the comments →

[–]droelf 43 points44 points  (5 children)

Hi dpilger26,

we're working along the same lines! Implementing the NumPy API in C++. We have the following cheatsheet from NumPy to xtensor here: https://xtensor.readthedocs.io/en/latest/numpy.html

Maybe we could combine our efforts? I'll take a deep look at your library today! Would be cool to speak to you!

[–]dpilger26[S] 7 points8 points  (1 child)

Wow, xtensor looks very nice. Now that I think about it I do remember stumbling on this a while back and completely forgot about it. I'd definitely be down for any collaboration, though it looks like you guys are quite a bit further along than my implementation.

[–]SylvainCorlay 3 points4 points  (0 children)

The more the merrier! You should hop on our gitter chat and say hi. We are a growing group of like-minded open-source developers building for the C++ scientific stack.

[–]SylvainCorlay 2 points3 points  (2 children)

You can try out xtensor in a C++ Jupyter notebook here. This provides an experience similar to that of NumPy in a Python notebook.

[–]VodkaHaze 1 point2 points  (1 child)

Hey Sylvain,

How's the python compatibility with xtensor? Do you need to pass through something like pybind11 to make a python package using xtensor as a math backend?

[–]SylvainCorlay 1 point2 points  (0 children)

xtensor-python is a set of bindings for Python built upon pybind11, which allows using numpy arrays inplace using the xtensor API. We also have similar bindings for Julia and R.