Installing Modules

Jesse Phillips jessekphillips+D at gmail.com
Fri Apr 13 19:44:42 PDT 2012


On Friday, 13 April 2012 at 23:06:38 UTC, TJB wrote:

> OK.  I now can compile a simple program that imports a module 
> from the SciD library.  How do I do something a little more 
> interesting like initialize a vector or matrix and do some 
> linear algebra with it?
>
> Thanks so much for your help.  This forum is awesome!
>
> TJB

I'm not familiar with this library, you'll have to take a look 
through the documentation:

https://github.com/kyllingstad/scid/wiki

I see there is a matrix module
http://www.kyllingen.net/code/scid/doc/scid_matrix.html

import scid.matrix;

void main() {
     auto m = matrix(5, 10);
}

Then go modify its values, and use some linalg functions with it:

http://www.kyllingen.net/code/scid/doc/scid_linalg.html


More information about the Digitalmars-d-learn mailing list