[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Getfem-users] Question on Preconditioners
From: |
Yves Renard |
Subject: |
Re: [Getfem-users] Question on Preconditioners |
Date: |
Mon, 9 Oct 2006 09:15:42 +0200 |
User-agent: |
KMail/1.7.2 |
Le Vendredi 6 Octobre 2006 17:57, Bwalya Malama a écrit :
> typedef gmm::row_matrix< gmm::wsvector<complex<double> > > mymatrixtype;
>
> > mymatrixtype C(N2,N2);
> > gmm::diagonal_precond<mymatrixtype> P();
> >
> > // ...
> > ... fill C
> > // ...
> >
> > P.build_with(C);
Sorry, the correct declaration is
typedef gmm::row_matrix< gmm::wsvector<complex<double> > > mymatrixtype;
mymatrixtype C(N2,N2);
gmm::diagonal_precond<mymatrixtype> P;
// ...
// ... fill C
// ...
P.build_with(C);
i.e. no parentheses after the declaration of P.
Yves.
--
-------------------------------------------------------------------------
Yves Renard (address@hidden) tel : (33) 04.72.43.80.11
Pole de Mathematiques, INSA de Lyon fax : (33) 04.72.43.85.29
Departement d'Informatique
Institut Camille Jordan - CNRS UMR 5208
20, rue Albert Einstein
69621 Villeurbanne Cedex, FRANCE
http://math.univ-lyon1.fr/~renard
-------------------------------------------------------------------------
Re: [Getfem-users] Question on Preconditioners, Bwalya Malama, 2006/10/06