help-gsl
[Top][All Lists]
Advanced

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

Re: [Help-gsl] GSL_Matrix problem


From: Joakim Hove
Subject: Re: [Help-gsl] GSL_Matrix problem
Date: Tue, 01 Jun 2004 21:19:24 +0200
User-agent: Gnus/5.1003 (Gnus v5.10.3) Emacs/21.3.50 (gnu/linux)

"Kris B" <address@hidden> writes:

> [....]
> stored as a vector 1 2 3 4 5 6. (I use column -major order from S-plus)

Well - this mailing list is not devoted to S-plus


> I tested several cases and there are always some zero's at the end? Why?

Shooting *completely* from the top of my head: It might be an offset
problem i S-plus (R at least - which is what I use) the first element
of a vector is 1 - whereas it is of course 0 in c. Have you checked
that the variable:

   double *mat 

is correct?

Joakim


-- 
  /--------------------------------------------------------------------\
 / Joakim Hove  / address@hidden  /  (55 5) 84076       |                 \
 | Unifob AS, Avdeling for Beregningsvitenskap (BCCS) | Stabburveien 18 |
 | CMU                                                | 5231 Paradis    |
 \ Thormøhlensgt.55, 5020 Bergen.                     | 55 91 28 18     /
  \--------------------------------------------------------------------/





reply via email to

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