[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Help-gsl] Functions without documentation

From: Liam Healy
Subject: Re: [Help-gsl] Functions without documentation
Date: Sun, 10 Aug 2008 23:02:37 -0400

I was wondering why the matmult functions were in there, given that
the functionality is already covered by BLAS.  The motive for my
question was the exponential function.   A GSLL user asked about why I
hadn't ported it, and I was stumped how I missed it until I realized
that it wasn't in the documentation.  When I looked in the .h file, I
saw the other two.  I did a port and it seems to function correctly on
a simple example
(letm ((mat (matrix-double-float (a (0.0d0 1.0d0) (-1.0d0 0.0d0))))
       (exp (matrix-double-float '(2 2))))
  (matrix-exponential mat exp))
#<MATRIX-DOUBLE-FLOAT #2A((0.5403023058681384d0 0.841470984807895d0)
                          (-0.841470984807895d0 0.5403023058681384d0))>
where cos(1) = 0.841470984807895d0 and sin(1)=0.5403023058681384d0;
this is the result I expect.


On Sun, Aug 10, 2008 at 5:13 PM, Patrick Alken
<address@hidden> wrote:
> I believe the matmult functions are obsolete and you should use
> the blas routines to multiply matrices instead. I don't know
> about the exponential function.
> Patrick Alken
> On Sun, Aug 10, 2008 at 04:59:20PM -0400, Liam Healy wrote:
>> There are three functions
>>  gsl_linalg_matmult
>>  gsl_linalg_matmult_mod
>>  gsl_linalg_exponential_ss
>> in /usr/include/gsl/gsl_linalg.h and the library, but apparently don't
>> have any documentation.  Are they in working order? Is there any
>> documentation for them?  Should it be included with the rest of the
>> GSL documentation?
>> Thanks,
>> Liam
>> _______________________________________________
>> Help-gsl mailing list
>> address@hidden

reply via email to

[Prev in Thread] Current Thread [Next in Thread]