Help: Use of interpn in a C++ program

David Bateman dbateman at dbateman.org
Wed May 27 12:24:20 CDT 2009


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                                dbateman at dbateman.org
35 rue Gambetta                              +33 1 46 04 02 18 (Home)
92100 Boulogne-Billancourt FRANCE            +33 6 72 01 06 33 (Mob)



More information about the Help-octave mailing list