From help-request at octave dot org Wed Dec 22 14:04:57 2004 Subject: Re: How can i use actave functions in C++ programs? From: Joe Koski To: koray seremet , Octave Help Date: Wed, 22 Dec 2004 13:06:50 -0700 on 12/22/04 12:49 PM, koray seremet at ciwius at yahoo dot com wrote: > i looked at all threads in this mailing list about > this question but i can not find any usable thing. >=20 > i want to write a C++ application which needs to use > many =20 > signal processing functions that are in octave. > in wiki using a Matrix by adding oct.h to the source > is shown, it's ok. > but i tried to call fft in the same program but in > this case g++ refused to compile because it didn't > find fft. >=20 > anyone knows how to call such functions,please help me... >=20 > =3D=3D=3D=3D=3D > Koray; I would search repositories such as http://www.netlib.org/ for possibly usable routines in C++ or C. Some of the octave functions are in fact Fortran or C routines from this source with wrappers to make them usable from octave. Running an octave .m script from C would not be an efficient use of resources. Octave .m scripts are interpreted, C++ is compiled. There are also some other sources in text books such as Stearns and David "Signal Processing Algorithms in C" and Press et al "Numerical Recipes in C". Joe >=20 >=20 >=20 >=20 > __________________________________ > Do you Yahoo!?=20 > All your favorites on one personal page =96 Try My Yahoo! > http://my.yahoo.com >=20 >=20 >=20 > ------------------------------------------------------------- > Octave is freely available under the terms of the GNU GPL. >=20 > 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 > ------------------------------------------------------------- >=20 ------------------------------------------------------------- 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 -------------------------------------------------------------