Uses of Class
org.jamdev.jpamutils.spectrogram.Complex
| Package | Description |
|---|---|
| org.jamdev.jpamutils.spectrogram |
-
Uses of Complex in org.jamdev.jpamutils.spectrogram
Methods in org.jamdev.jpamutils.spectrogram that return Complex Modifier and Type Method Description static Complex[]Complex. allocateComplexArray(int n)Allocate a new complex array in which each element has been created and it's contents set to 0 +i0;static Complex[][]Complex. allocateComplexArray(int n, int m)ComplexComplex. clone()ComplexComplex. conj()static Complex[]Complex. createComplexArray(double[] doubleArray)Create a complex array from a double arrayComplexComplexArrayD. dotProduct(ComplexArrayD s)Dot product (aka Inner Product) of this array and another complex array 's'.ComplexComplexArrayF. dotProduct(ComplexArrayF s)Dot product (aka Inner Product) of this array and another complex array 's'.ComplexComplex. exp()A new Complex object whose value is the complex exponential of thisComplexComplexArrayD. get(int i)ComplexComplexArrayF. get(int i)ComplexComplex. minus(double b)Subtract a real number from a complex numberComplexComplex. minus(Complex b)Subtract a real number from a complex numberComplexComplex. plus(double b)Add a real number to a complex numberComplexComplex. plus(Complex b)Adds a complex numberComplexComplex. pow(double f)Raises a complex number to a scalar power.ComplexComplexArrayD. pow(int i, double f)Raises a complex number to a scalar power.ComplexComplexArrayF. pow(int i, float f)Raises a complex number to a scalar power.Complex[]FastFFT. rfft(double[] x, Complex[] y, int m)Fast FFT function for real data.ComplexComplex. sqrt()Gets the square root of a Complex numberComplexComplexArrayD. sqrt(int i)Gets the square root of a Complex numberComplexComplexArrayF. sqrt(int i)Gets the square root of a Complex numberComplexComplex. times(double b)Multiply a complex number by a realComplexComplex. times(Complex b)Multiply a complex number by another complex numberComplexComplexArrayD. times(int i, double f)ComplexComplexArrayF. times(int i, float f)Methods in org.jamdev.jpamutils.spectrogram with parameters of type Complex Modifier and Type Method Description voidComplex. assign(Complex b)Assign new real and imaginary values to an existing Complex numberstatic voidComplex. conj(Complex x)Converts a number to it's own complex conjugatevoidFastFFT. fft(Complex[] x)In place fft of complex data.voidFastFFT. fft(Complex[][] x)In lace FFT of a 2D complex array.voidFastFFT. ifft(Complex[] x, int m)Inverse FFT for Complex data.voidComplex. internalTimes(Complex b)Multiply a complex numbers real and imaginary parts by a complex numberComplexComplex. minus(Complex b)Subtract a real number from a complex numberComplexComplex. plus(Complex b)Adds a complex numberComplex[]FastFFT. rfft(double[] x, Complex[] y, int m)Fast FFT function for real data.voidComplexArrayD. set(int i, Complex complex)voidComplexArrayF. set(int i, Complex complex)ComplexComplex. times(Complex b)Multiply a complex number by another complex numberComplexArrayDComplexArrayD. times(Complex b)return a new ComplexArrayD whose value is (this * b)ComplexArrayFComplexArrayF. times(Complex b)return a new ComplexArrayF whose value is (this * b)static voidComplex. zeroComplexArray(Complex[] array)Sets all the elements of a complex array to zeroConstructors in org.jamdev.jpamutils.spectrogram with parameters of type Complex Constructor Description Complex(Complex a)Constructor