Re: [Lapackpp-devel] Newbie & "float" support
Status: Beta
Brought to you by:
cstim
From: Christian S. <sti...@tu...> - 2007-02-21 12:04:15
|
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Luigi Bardelli schrieb: > Dear all, > I have just started using lapackpp, and I would like to ask you: do lapackpp > provide matrix and vector classes with type float? Matrix yes, vector no. (Although the LaGenVectorDouble is just a convenience representation of the LaGenMatDouble with one dimension set to one, so this restriction shouldn't be too difficult.) > If yes, are they "supported" > and tested as well as the double ones? (I have to work with large amounts of > data where the float precision is more than adequate) Unfortunately, no. All the "interesting" functions like matrix multiplications and solvers are only implemented for the double precision. You would have to add a Float version of each of these functions. In principle, this isn't too difficult, because in almost all cases you would copy&paste the Double code to Float, and replace the dfoo function of LAPACK by its ffoo version. Although the function declarations of LAPACK for the f* functions are also missing and would need to be added to include/blas1.h etc. > At http://lapackpp.sourceforge.net/html/hierarchy.html the class LaGenMatFloat > is reported but no other classes... Well, effectively only Double is supported. For Float there is the matrix class but no other function available. Christian -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2.1 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iQCVAwUBRdw1K2XAi+BfhivFAQLgaAQAj7VkZgaRmoxRRUckpcbAMmb/FWdHmB7u ENlyIxZ3Oze3VqNgw8W7TH/XaJOdod//iuAe5tQxoNpomkLDqdiqk72Qt8hKwsSS RlkNMYlGA8JuQUCOpi2f6NcqadScaLJZpYHuz8GPuSVT4n+nbsF8MRC380DtpYPn jlEa1pyDsGw= =/xCE -----END PGP SIGNATURE----- |