www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.announce - lyla 0.2

reply Frank Fischer <frank-fischer shadow-soft.de> writes:
LYLA is a matrix and linear-algebra library for large scale matrices.

The library has been rewritten from scratch since version 0.1, so this
version is effectively the first release.  LYLA currently supports:

  * rectangular dense and sparse matrices
  * dense and sparse vectors
  * fundamental BLAS support

For more information please look at:

http://www.dsource.org/projects/lyla

Have fun,
Frank Fischer
Apr 30 2009
next sibling parent reply JC <jcrapuchettes gmail.com> writes:
How large is "large scale matrices" and do you have any performance figures
that 
you can share?
Thanks,
JC

Frank Fischer wrote:
 LYLA is a matrix and linear-algebra library for large scale matrices.
 
 The library has been rewritten from scratch since version 0.1, so this
 version is effectively the first release.  LYLA currently supports:
 
   * rectangular dense and sparse matrices
   * dense and sparse vectors
   * fundamental BLAS support
 
 For more information please look at:
 
 http://www.dsource.org/projects/lyla
 
 Have fun,
 Frank Fischer

Apr 30 2009
parent Frank Fischer <frank-fischer shadow-soft.de> writes:
JC wrote:

 How large is "large scale matrices" 

Depends on the size of your memory, but a vector with a dimension of several million and SPARSE matrices with millions of rows AND columns (but few non- zero entries) should be possible. Of course, dense matrices with one million rows and columns need too much memory.
 and do you have any performance
 figures that you can share?

Not yet, but if you use dense matrices and vectors only, many operations can be done by cblas routines and should be as fast. Frank
May 01 2009
prev sibling parent reply Robert Fraser <fraserofthenight gmail.com> writes:
Frank Fischer wrote:
 LYLA is a matrix and linear-algebra library for large scale matrices.
 
 The library has been rewritten from scratch since version 0.1, so this
 version is effectively the first release.  LYLA currently supports:
 
   * rectangular dense and sparse matrices
   * dense and sparse vectors
   * fundamental BLAS support
 
 For more information please look at:
 
 http://www.dsource.org/projects/lyla
 
 Have fun,
 Frank Fischer

AWESOME. Have sparse been implemented yet? I don't see them in the code tree?
May 01 2009
parent reply Frank Fischer <frank-fischer shadow-soft.de> writes:
On 2009-05-01, Robert Fraser <fraserofthenight gmail.com> wrote:
 Frank Fischer wrote:
 LYLA is a matrix and linear-algebra library for large scale matrices.

AWESOME. Have sparse been implemented yet? I don't see them in the code tree?

Yes, currently one sparse-format is implemented. The default type aliases for double values are called DRowSparse and DColSparse defined in module lyla.Matrix. But be warned, most operations (like adding two sparse matrices) are currently *not* optimised for sparse matrices and not as fast as they could be. Frank
May 01 2009
parent Robert Fraser <fraserofthenight gmail.com> writes:
Frank Fischer wrote:
 On 2009-05-01, Robert Fraser <fraserofthenight gmail.com> wrote:
 Frank Fischer wrote:
 LYLA is a matrix and linear-algebra library for large scale matrices.

Have sparse been implemented yet? I don't see them in the code tree?

Yes, currently one sparse-format is implemented. The default type aliases for double values are called DRowSparse and DColSparse defined in module lyla.Matrix. But be warned, most operations (like adding two sparse matrices) are currently *not* optimised for sparse matrices and not as fast as they could be. Frank

http://www-user.tu-chemnitz.de/~fifr/repos/lyla-d/src/lyla/Matrix.d doesn't mention it. I haven't done a checkout; so I'm guessing there's just something wrong with the HTML view or something. OK, thanks!
May 01 2009