Click or drag to resize

Pfa235FFT(Int32, Int32, Int32) Constructor

3-dimensional setup

Namespace: Altaxo.Calc.Fourier
Assembly: AltaxoCore (in AltaxoCore.dll) Version: 4.8.3179.0 (4.8.3179.0)
Syntax
C#
public Pfa235FFT(
	int n1,
	int n2,
	int n3
)

Parameters

n1  Int32

[Missing <param name="n1"/> documentation for "M:Altaxo.Calc.Fourier.Pfa235FFT.#ctor(System.Int32,System.Int32,System.Int32)"]

n2  Int32

[Missing <param name="n2"/> documentation for "M:Altaxo.Calc.Fourier.Pfa235FFT.#ctor(System.Int32,System.Int32,System.Int32)"]

n3  Int32

[Missing <param name="n3"/> documentation for "M:Altaxo.Calc.Fourier.Pfa235FFT.#ctor(System.Int32,System.Int32,System.Int32)"]

Remarks
Setup fast Fourier transform / back-transform for one, two or three dimensions. The dimensions n1,n2,and n3 must be of the form n = (2**p) * (3**q) * (5**r) otherwise an error will be generated and the error handler function Matpack.Error() is called. On instantiation some trigonometric tables will be allocated and calculated. This approach avoids multiple twiddle factor recalculations if several FFTs are calculated for data with the same dimensions. Sometimes it is convenient to define an "empty" setup (first constructor) and assign a setup later (see copying and assignment). As default the multi-dimensional data are expected in row order (C convention). If you want to transform data stored in column order (Fortran convention) use the member function SetOrder() to change the order - see below. For optimizations on vector machines with separate memory banks an extra leading dimension can be defined to avoid bank conflicts - also see SetOrder().
See Also