Re: ITL-Boost interface

Lie-Quan Lee <[email protected]>
Newsgroups gmane.comp.lib.mtl.devel
Message-ID <[email protected]>
On Fri, 2003-04-11 at 05:03, Gunter Winkler wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> 
> Am Dienstag, 8. April 2003 21:58 schrieb Lie-Quan Lee:
> 
> > Currently ITL doesn't have interface to boost BLAS yet. But this is
> > very interesting idea. I will definitely look into that.
> 
> Unfortunatly, creating a uBlas interface is a lot of work, because _all_ 
> preconditioners heavly depend on MTL functions.
> 
> First, they do not include necessary mtl-headers.
> Second, they expect the Matrix-Types to have ::orientation, ::shape, ...
> 
> I already converted the diagonal preconditioner for uBlas, but did not 
> check if it breaks the old interfaces. To make it work I extendend the 
> interface:
> 
>  *   new interface function ele_mult(x,y,z):  z[i] = x[i] * y[i]
>  *   new interface type internal_vector_traits::Vector
>   template <class T>
>   class internal_vector_traits {
>   public:
>     typedef typename boost::numeric::ublas::vector<T>  Vector;
>   };
> 
> I suggest for all preconditioners to use internal_vector_traits and 
> internal_matrix_traits instead of mtl::vector and mtl::matrix.
> 
> regards,
> Gunter
> 

Thanks for providing boost uBlas interface for ITL!!!

The current preconditioners impelementation heavily depends on MTL data
structures. I am considering to change them somehow to remove that
dependency.

-- 
Lie-Quan Lee  (AKA: Rich Lee)          Tel:   650-926-5356
Advanced Computations Department       Fax:   650-926-4603
Stanford Linear Accelerator Center     Email: [email protected]
_______________________________________________
This list is archived at http://www.osl.iu.edu/MailArchives/mtl-devel/
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.