fftw FFTW fftw_forget_wisdom

Manual Scilab >> FFTW > fftw_flags

fftw_flags

set computation method of fast fourier transform of the fftw function

Calling Sequence

[a,[S]]=fftw_flags([x1;x2;...])

Arguments

[x1;x2;...]

Matrix of string or integers. Entry to switch the method of fft computation for fftw.

a

Integer. Give the current value of the flag of the fftw function.

S

String matrix. Give the string value of the fftw flag.

Description

This function enables the change of the unsigned flags parameter of the fftw_plan_guru_split_dft function that is used in fftw function.

Default value is FFTW_ESTIMATE

Accepted entries are :

Rmk : when using FFTW_MEASURE/FFTW_PATIENT/FFTW_EXHAUSTIVE you must call two times fftw. (first call for initialisation, second and others calls for computation)

Examples

//return the integer value of the flag
fftw_flags()

//change flags
fftw_flags(["FFTW_MEASURE";"FFTW_CONSERVE_MEMORY"]);

//change flags and display current value of fftw flags (both integer and strings)
[a,S]=fftw_flags("FFTW_PATIENT")

See Also

fftw FFTW fftw_forget_wisdom