Yes, exactly.
Actually the package FFTConvolution call fftconv2 (https://github.com/jeremyfix/FFTConvolution)
In convolution_benchmark.cc
feval ("fftconv2", functionArguments, 1);
but, I get
error: feval: function 'fftconv2' not found
I do not know how to call the octave function from a c++ program.
It is because a library si not linked?
The author of the package (jeremy.fix) did not answer to my request.
===========================================================================
Patrick DUPRÉ | | email: pdupre@xxxxxxx
Laboratoire interdisciplinaire Carnot de Bourgogne
9 Avenue Alain Savary, BP 47870, 21078 DIJON Cedex FRANCE
Tel: +33 (0)380395988 | | Room# D114A
===========================================================================
Patrick DUPRÉ | | email: pdupre@xxxxxxx
Laboratoire interdisciplinaire Carnot de Bourgogne
9 Avenue Alain Savary, BP 47870, 21078 DIJON Cedex FRANCE
Tel: +33 (0)380395988 | | Room# D114A
===========================================================================
Sent: Tuesday, January 18, 2022 at 9:33 PM
From: "George N. White III" <gnwiii@xxxxxxxxx>
To: "Community support for Fedora users" <users@xxxxxxxxxxxxxxxxxxxxxxx>
Subject: Re: fttconv2
From: "George N. White III" <gnwiii@xxxxxxxxx>
To: "Community support for Fedora users" <users@xxxxxxxxxxxxxxxxxxxxxxx>
Subject: Re: fttconv2
On Mon, 17 Jan 2022 at 17:59, Patrick Dupre <pdupre@xxxxxxx> wrote:
Hello,
I get the following error:
error: feval: function 'fftconv2' not found
octave-image provide fftconv2.m
can I use it? If yes, How?
Are you trying to use octave's fftconv2 function? In Fedora35 with octave and octave-image installed using dnf:
octave:8> pkg load image
pkg load image
octave:9> help fftconv2
help fftconv2
'fftconv2' is a function from the file /usr/share/octave/packages/image-2.12.0/fftconv2.m
-- Function File: fftconv2 (A, B)
-- Function File: fftconv2 (V1, V2, A)
-- Function File: fftconv2 (..., SHAPE)
Convolve 2 dimensional signals using the FFT.
This method is faster but less accurate than CONV2 for large A and
B. It also uses more memory. A small complex component will be
introduced even if both A and B are real.
See also: conv2, fftconv, fft, ifft.
George N. White III
_______________________________________________ users mailing list -- users@xxxxxxxxxxxxxxxxxxxxxxx To unsubscribe send an email to users-leave@xxxxxxxxxxxxxxxxxxxxxxx Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/ List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines List Archives: https://lists.fedoraproject.org/archives/list/users@xxxxxxxxxxxxxxxxxxxxxxx Do not reply to spam on the list, report it: https://pagure.io/fedora-infrastructure