Boost logo

Boost :

Subject: Re: [boost] [multi_array]inner_product interest?
From: Larry Evans (cppljevans_at_[hidden])
Date: 2011-06-10 09:11:32


On 06/09/11 15:57, Larry Evans wrote:
> Attached is code to calculate the inner product of 2 multi_arrays.
[snip]
> I've not done too much testing, but did do a simple test for
> 2 by 2 arrays whose output seems correct.

OOPS, the output for fortran storage order is not the same
as output for c storage order for 2 by 2 array. A print
trace in inner_product shows offset_left getting value of 4,
which can't be right since the max offset for a 2 by 2 array
should be 3. Will investigate.

-regards,
Larry


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk