multi_array vs vector vs map vs native arrays

Hello,
I have an algorithm that interpolates a value out of tabulated data.
Performance tests show that using
double algo( const double* data [2], int datasize, double x)
is faster than
double algo( const std::vector<double>&, const std::vector<double>&, double
x)
and
double algo( const boost::multi_array
participants (1)
-
Hicham Mouline