2013-07-17 19:24:07 +02:00
|
|
|
Rational
|
|
|
|
===========================
|
|
|
|
|
|
|
|
.. highlight:: c
|
|
|
|
|
|
|
|
|
|
|
|
This library provides a multi-dimensionnal array library
|
2014-10-17 18:15:19 +02:00
|
|
|
for numerical computations with the following characteristics/goals:
|
2013-07-17 19:24:07 +02:00
|
|
|
|
2013-08-22 16:55:51 +02:00
|
|
|
* **Simplicity of use** :
|
2013-07-17 19:24:07 +02:00
|
|
|
|
|
|
|
Arrays must be as simple to use as in python (numpy) or fortran.
|
2013-12-31 14:22:00 +01:00
|
|
|
This library is designed to be used by physicists, not by professionnal
|
|
|
|
programmers. We do *a lot* of array manipulations, and we want to maintain
|
|
|
|
*readable* codes.
|
2013-07-17 19:24:07 +02:00
|
|
|
|
2014-10-17 18:15:19 +02:00
|
|
|
* **Genericity, abstraction and performance**:
|
2013-07-17 19:24:07 +02:00
|
|
|
|
2013-12-31 14:22:00 +01:00
|
|
|
We want to have simple, readeable code, with the same (or better) speed than manually written low-level code.
|
2013-07-17 19:24:07 +02:00
|
|
|
Most optimisations should be delegated to the library and the compiler.
|
2013-08-22 16:55:51 +02:00
|
|
|
(Some) LAPACK and BLAS operations are interfaced.
|
2013-07-17 19:24:07 +02:00
|
|
|
|
|
|
|
* **Complete interoperability with python numpy arrays**.
|
|
|
|
|
|
|
|
This library is used a lot with mixed C++/python codes.
|
|
|
|
It handles quick conversion between the C++ and python world, e.g. :
|
|
|
|
|
|
|
|
* work on a view of a numpy,
|
|
|
|
* create a array in C++, and return it as a numpy.
|
2014-05-29 21:42:12 +02:00
|
|
|
* mix the various kind of arrays transparently in C++ expressions.
|
2013-07-17 19:24:07 +02:00
|
|
|
|
2014-10-17 18:15:19 +02:00
|
|
|
* **HDF5**: simple interface to hdf5 library to ease storing/retrieving into/from HDF5 files.
|
2013-07-17 19:24:07 +02:00
|
|
|
|
2014-10-17 18:15:19 +02:00
|
|
|
* **MPI**: compatibility with boost::mpi interface.
|
2013-07-17 19:24:07 +02:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|