[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: octave and gsl
From: |
Stefan van der Walt |
Subject: |
Re: octave and gsl |
Date: |
Wed, 29 Mar 2006 10:30:02 +0200 |
User-agent: |
Mutt/1.5.9i |
On Wed, Mar 29, 2006 at 09:06:12AM +0200, Gorazd Brumen wrote:
> DEFUN_DLD (gn, args, , " gn function") {
>
> ColumnVector res (1);
>
> res(1) = gsl_sf_bessel_Jnu (2, 3);
>
> return octave_value ( res );
>
> }
C uses 0-based indexing, so you should use
res(0) = ...
in the assignment.
Stéfan
-------------------------------------------------------------
Octave is freely available under the terms of the GNU GPL.
Octave's home on the web: http://www.octave.org
How to fund new projects: http://www.octave.org/funding.html
Subscription information: http://www.octave.org/archive.html
-------------------------------------------------------------
- octave and NAG, Gorazd Brumen, 2006/03/28
- Re: octave and NAG, Kevin H. Hobbs, 2006/03/28
- octave and gsl, Gorazd Brumen, 2006/03/29
- octave and gsl, John W. Eaton, 2006/03/29
- Re: octave and gsl,
Stefan van der Walt <=
- Re: octave and gsl, Paul Kienzle, 2006/03/29
- Re: octave and gsl, Gorazd Brumen, 2006/03/29
- Re: octave and gsl, Paul Kienzle, 2006/03/29
- Re: octave and gsl, James R. Phillips, 2006/03/29