dense matrix vs. SSOR
"Xiaoyi Chi" <[email protected]> Sun, 25 Sep 2005 15:14:32 -0400
| Newsgroups | gmane.comp.lib.mtl.devel |
|---|---|
| Message-ID | <[email protected]> |
Hi, all,
I am trying to solve a linear system using dense matrix and SSOR
precondioner. But I got compile errors:
c:\Program Files\Microsoft Visual Studio
.NET\Vc7\include\mtl\oned_part.h(264): error C2039: 'nz_struct' : is not a
member of 'mtl::external_vec<T,NN,SizeType>'
with
[
T=mtl::generic_dense2D<std::vector<double,std::allocator<double>>,mtl::refcnt_ptr<std::vector<double,std::allocator<double>>>,mtl::gen_rect_offset<0,0>,0,0>::elt_type,
NN=0,
SizeType=unsigned int
]
It seems that SSOR can only be used with sparse matrix (I don't have any
problems with sparse matrix). Can anybody can tell me if I am right or
wrong?
The other question is: can I copy a dense matrix to a sparse matrix? and
how?
Thanks for your help.
chi
_______________________________________________
This list is archived at http://www.osl.iu.edu/MailArchives/mtl-devel/