On Fri, 11 Jun 2010, Yujie wrote: > However, from DenseSubMatrix class, I must initialize subA1[i], > subA2[i] using A(i). Before that, I want to "new" subA1 and subA2 > array with N dimension. It looks there is not corresponding > constructor function for it to my understanding. Therefore, I can't do > it.
There's no default constructor for DenseSubMatrix; it expects to be constructed with a DenseMatrix target. If you want a vector of submatrices, store it as a vector of pointers or of smart pointers. --- Roy ------------------------------------------------------------------------------ ThinkGeek and WIRED's GeekDad team up for the Ultimate GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the lucky parental unit. See the prize list and enter to win: http://p.sf.net/sfu/thinkgeek-promo _______________________________________________ Libmesh-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/libmesh-users
