Re: [boost] [fusion] matrix?

Top Page

Reply to this message
Author: Andy Little
Date:  
To: boost
Subject: Re: [boost] [fusion] matrix?

"Larry Evans" <cppljevans@???> wrote in message
news:eejr8s$np1$1@???...

> Let's see if I understand. First, shorthand:
>
> rank2_method means the fusion vector of fusion vector method.
> rank1_method means the existing method as illustrated in OP.
>
> One thing that would be more complicated with rank2_method
> vs. rank1_method is the initialization interface. IOW with the
> rank1_method there's this initialization interface:
>
> typedef tuples::tuple<T0_0,T0_1,T1_0,T1_1> rank1_type;
>
> rcmatrix<2,2,rank1_type>
> mat
> ( rank1_type
> ( val0_0
> , val0_1
> , val1_0
> , val1_1
> )
> );


Yeah but :

rcmatrix<3,3,rank1_type> mat (
elements(

val0_0, val0_1, val0_2,

val1_0, val1_1, val1_2,

val2_0, val2_1, val2_2

)
);

Thats how I lay it out any way.

regards
Andy Little


_______________________________________________
Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost