help-octave
[Top][All Lists]
Advanced

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

Re: Help: Use of interpn in a C++ program


From: David Bateman
Subject: Re: Help: Use of interpn in a C++ program
Date: Wed, 27 May 2009 19:24:20 +0200
User-agent: Mozilla-Thunderbird 2.0.0.19 (X11/20090103)

Paola Madonna wrote:

Hi,

We have to use the functions such as *interpn* (n-dimensional interpolation) and *qr *(qr factorization) in a C++ program and we are not able to do this.

Could you give us an explanation and an example of using these functions in a C/C++ application?

Thanks,

Paola Madonna

T.R.S. S.p.A.

Via Giulio Cesare,105 Bacoli (Naples) Italy

+390815272880


interpn is a script function so you'll need to use the "feval" function.. For the QR fqctorization you could use feval as well, but using the QR or ComplexQR C++ classes defined in liboctqve/{dbleQR.h|CmplxQR.h} would be a better solution... Look at the code in src/DLD-FUNCTIONS/qr.cc for an example of the use of these classes.

D.



--
David Bateman                                address@hidden
35 rue Gambetta                              +33 1 46 04 02 18 (Home)
92100 Boulogne-Billancourt FRANCE            +33 6 72 01 06 33 (Mob)



reply via email to

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