|
Boost : |
From: Larry Evans (cppljevans_at_[hidden])
Date: 2006-09-17 07:43:07
On 09/05/2006 08:36 AM, David Abrahams wrote:
> "Andy Little" <andy_at_[hidden]> writes:
>>Is it possible to use fusion to do a compile time matrix?
>
> Not directly, but there are at least two good ways to build one on top
> of fusion:
>
> 1. use a fusion vector of fusion vectors.
> 2. use a fusion vector augmented with a row length (assuming it's row-major).
>
Andy,
It suddenly dawned on me that 1 above seems a pretty simple solution.
Is there some reason for not using 1?
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk