Boost logo

Ublas :

Subject: Re: [ublas] binding_v1 vs sandbox/numeric/bindings
From: Rutger ter Borg (rutger_at_[hidden])
Date: 2010-11-10 09:47:20


On 11/10/2010 03:20 PM, Nizar Khalifa Sallem wrote:
> Hi all,
>
> Can anyone tell me the difference between the numeric/bindings found
> here: https://svn.boost.org/svn/boost/sandbox/numeric_bindings and the
> ones at this location:
> http://svn.boost.org/svn/boost/sandbox/numeric_bindings-v1/boost/numeric/bindings
> cause I am getting really confused: which one should I use??? and if
>
> --
> Nizar

Hello Nizar,

https://svn.boost.org/svn/boost/sandbox/numeric_bindings are the more
recent bindings, and this is the recommended project to use.

https://svn.boost.org/svn/boost/sandbox/numeric_bindings-v1 is the
somewhat older project. Still useable but has limitations in some cases.

Some highlights of the differences:

1) Most of the algorithmic part of these bindings are generated based on
the original Fortran and/or C code. The BLAS and LAPACK bindings are
(way) more complete. Run-time and compile-time checks are way more
consistent and complete.

2) Binding to containers has been made more flexible; i.e., it is
possible to pass vectors and/or matrices (or even scalars), as long as
their dimensions are correct. In addition, the bindings provide a couple
of in-place views, such as trans, row, etc..

3) Different BLAS-backends have been merged into one frontend: the BLAS
bindings.

Hope this helps,
Kind regards,

Rutger