Re: [R] "best" c++ matrix library?

From: Romain Francois <francoisromain_at_free.fr>
Date: Thu 01 Sep 2005 - 19:19:59 EST

Le 01.09.2005 10:32, Ott Toomet a écrit :

>Thanks for everyone who replied to my question.
>
>I tried newmat myself, seems to be working well. What I am interested in
>is something like
>
>* Fast element-wise operations. You know, it may be slow in R.
>
>* (Some) control over memory allocation. I would like to specify when
> the matrix should not be copied.
>
>* Compatibility with R. At least the way how the matrix data is
> represented in memory should be the same as R has. Otherwise, the
> data interchange may become slow and memory-consuming.
>
>* And, of course, the basic matrix operations like multiplication,
> inverting, eigenvalues etc....
>
>I am using linux/gcc if that matters.
>
>Best,
>Ott
> | From: "Tuszynski, Jaroslaw W." <JAROSLAW.W.TUSZYNSKI@saic.com>
> | Date: Wed, 31 Aug 2005 12:59:04 -0400
> |
> | What kind of matrix operations do you need?
> |
> | Jarek
> |
> | -----Original Message-----
> | From: r-help-bounces@stat.math.ethz.ch
> | [mailto:r-help-bounces@stat.math.ethz.ch] On Behalf Of Ott Toomet
> | Sent: Wednesday, August 31, 2005 12:54 PM
> | To: r-help@stat.math.ethz.ch
> | Subject: [R] "best" c++ matrix library?
> |
> | Hi folks,
> |
> | I am planning to write some more time-consuming matrix manipulations in c++.
> | What is the experience with the existing c++ matrix libraries? Do you have
> | some recommendations? Are some libraries more compatible with R than the
> | others?
> |
> | All suggestions welcome!
> |
> | Best,
> | Ott
>
>
Hello,

CPPLAPACK : <http://cpplapack.sourceforge.net/> is a c++ wrapper for lapack routines.
It is not so complicated to use once you have blas and lapack installed. I think it is much faster than newmat.

Romain

-- 
visit the R Graph Gallery : http://addictedtor.free.fr/graphiques
~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~
~~~~~~      Romain FRANCOIS - http://addictedtor.free.fr         ~~~~~~
~~~~        Etudiant  ISUP - CS3 - Industrie et Services           ~~~~
~~                http://www.isup.cicrp.jussieu.fr/                  ~~
~~~~           Stagiaire INRIA Futurs - Equipe SELECT              ~~~~
~~~~~~   http://www.inria.fr/recherche/equipes/select.fr.html    ~~~~~~
~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~

______________________________________________
R-help@stat.math.ethz.ch mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html
Received on Thu Sep 01 19:32:51 2005

This archive was generated by hypermail 2.1.8 : Fri 03 Mar 2006 - 03:40:00 EST