[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Help-gsl] Overloading operator * with gsl_matrix
From: |
Klaus Huthmacher |
Subject: |
Re: [Help-gsl] Overloading operator * with gsl_matrix |
Date: |
Mon, 5 May 2014 16:20:20 +0200 |
User-agent: |
SquirrelMail/1.4.23 [SVN] |
Hi,
there are quite a few wrapper for GSL:
http://gslwrap.sourceforge.net/
http://ccgsl.sourceforge.net/
And in combination with boost:
http://o2scl.sourceforge.net/
Best wishes,
-- Klaus.
> Hi all,
>
> I do not really know if this is the correct place to ask this question but
> anyway...
>
> I am generating long system of equations that I want to write in c/c++
> using gsl_matrix class. Each one of these equations contains product of
> matrices that I want to be able to write using the * operator.
>
> So basically I am looking for something along the lines :
>
> gls_matrix operator*(gsl_matrix& m, const gsl_matrix& n){
>
> gsl_matrix_mul_elements(m,n);
>
> }
>
> Which of course is not a proper answer... Would anyone be kind enough to
> explain to me how to do this correctly ?
>
> Thank you very much,
>
> Best,
>
> dibus2
>