LitDev Extension API

LD3DView LDArray LDBits LDBlueTooth LDCall
LDChart LDClient LDClipboard LDColours LDCommPort
LDController LDControls LDCursors LDDataBase LDDateTime
LDDebug LDDialogs LDDictionary LDEffect LDEmail
LDEncryption LDEvents LDFastArray LDFastShapes LDFigures
LDFile LDFocus LDftp LDGraph LDGraphicsWindow
LDHID LDImage LDInline LDIOWarrior LDList
LDLogic LDMath LDMathX LDMatrix LDMusic
LDNetwork LDPhysics LDProcess LDQueue LDRegex
LDResources LDScrollBars LDSearch LDServer LDSettings
LDShapes LDShell LDSort LDSound LDSpeech
LDStatistics LDStopwatch LDText LDTextWindow LDTimer
LDTranslate LDUnits LDUtilities LDVector LDWaveForm
LDWebCam LDWindows LDxml LDZip

LDMathX
Extended maths methods.

FFTComplex FFTForward FFTImaginary
FFTInverse FFTReal

FFTComplex(real,imaginary)
Create an array of complex values from arrays of real and imaginary parts.
real An array of real data.
imaginary An array of imaginary data.
returns An array of complex data (real amplitude and imaginary phase), "MISMATCH" or "FAILED".
For each complex pair the index is the real part and the value is the imaginary part.


FFTForward(real)
Compute a FFT (Fast Fourier Transform).
real An array of real values to calculate the FFT from.
returns An array of complex data (real amplitude and imaginary phase) or "FAILED".
For each complex pair the index is the real part and the value is the imaginary part.


FFTImaginary(complex)
Get the imaginary part of an array of complex data.
complex An array of complex data (real amplitude and imaginary phase).
For each complex pair the index is the real part and the value is the imaginary part.

returns An array of the imaginary part of the data or "FAILED".

FFTInverse(complex)
The inverse of a FFT (Fast Fourier Transform).
complex An array of complex data (real amplitude and imaginary phase).
For each complex pair the index is the real part and the value is the imaginary part.

returns An array of inverse FFT values or "FAILED".

FFTReal(complex)
Get the real part of an array of complex data.
complex An array of complex data (real amplitude and imaginary phase).
For each complex pair the index is the real part and the value is the imaginary part.

returns An array of the real part of the data or "FAILED".