Code Monkey home page Code Monkey logo

ndarray: NumPy-friendly multidimensional arrays in C++

Build Status

ndarray is a template library that provides multidimensional array objects in C++, with an interface and features designed to mimic the Python 'numpy' package as much as possible.

More information can be found in the documentation at ndarray.github.io/ndarray.

Installation

ndarray can be built and tested with CMake:

mkdir build
cd build
cmake ..
make
make test

Inclusion and testing of optional dependencies is controlled by NDARRAY_* cmake options. Dependency resolution can be controlled by the PYBIND11_DIR, EIGEN_DIR, and FFTW_DIR environment variables. For example, to build with an alternate Eigen3 install location and disable FFTW testing replace cmake .. with EIGEN_DIR=/opt/local cmake -DNDARRY_FFTW=OFF ...

ndarray's build system does not produce the correct suffixes for pybind11 outputs under pybind11 2.1.x (due to a bug in pybind11 itself). To avoid this problem, please upgrade to pybind11 2.2.x, or try the (now reverted) patch from ndarray commit f46c0f0ff876ceab5aaa3286e5f6e86902e72feb.

Version 1.4.2 of ndarray is the last version to support SWIG.

Version 1.5.3 of ndarray is the last verison to support Boost.Python.

ndarray's Projects

boost.numpy icon boost.numpy

Boost.Python interface for NumPy; now deprecated in factor of the version in Boost.Python itself.

ndarray icon ndarray

NumPy-compatible multidimensional arrays in C++

sconschecks icon sconschecks

A collection of platform independent library checks for the SCons build system.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.