Mentions légales du service

Skip to content
Snippets Groups Projects
Commit 8809daed authored by hhakim's avatar hhakim
Browse files

Enable MatButterfly/MatPerm composed Faust in matfaust.dft wrapper (diag_opt option).

parent 61ae92c8
No related branches found
No related tags found
No related merge requests found
...@@ -17,7 +17,7 @@ void faust_fourier(const mxArray **prhs, const int nrhs, mxArray **plhs, const i ...@@ -17,7 +17,7 @@ void faust_fourier(const mxArray **prhs, const int nrhs, mxArray **plhs, const i
bool diag_prod = (bool) mxGetScalar(prhs[3]); bool diag_prod = (bool) mxGetScalar(prhs[3]);
Faust::TransformHelper<std::complex<double>,DEV> * F = nullptr; Faust::TransformHelper<std::complex<double>,DEV> * F = nullptr;
if(diag_prod) if(diag_prod)
F = Faust::TransformHelperButterfly<std::complex<double>,DEV>::fourierFaust(n, norma); F = Faust::TransformHelper<std::complex<double>,DEV>::fourierFaustOpt(n, norma);
else else
F = Faust::TransformHelper<std::complex<double>,DEV>::fourierFaust(n, norma); F = Faust::TransformHelper<std::complex<double>,DEV>::fourierFaust(n, norma);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment