aboutsummaryrefslogtreecommitdiffstats
path: root/common/alcomplex.h
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2018-11-17 01:29:35 -0800
committerChris Robinson <[email protected]>2018-11-17 01:29:35 -0800
commitf1731af282b3c54d2b19dedd72beb584cbda5220 (patch)
tree3f18e993ec0f51d7863ca16c3de0f788a3838021 /common/alcomplex.h
parent3bbfd0c0996e1db310cc2b72cffaf310a2adf6fb (diff)
Remove unneeded declarations and definitions
Diffstat (limited to 'common/alcomplex.h')
-rw-r--r--common/alcomplex.h33
1 files changed, 0 insertions, 33 deletions
diff --git a/common/alcomplex.h b/common/alcomplex.h
index 2418ce78..0070ac13 100644
--- a/common/alcomplex.h
+++ b/common/alcomplex.h
@@ -13,39 +13,6 @@ typedef struct ALcomplex {
ALdouble Imag;
} ALcomplex;
-/** Addition of two complex numbers. */
-inline ALcomplex complex_add(ALcomplex a, ALcomplex b)
-{
- ALcomplex result;
-
- result.Real = a.Real + b.Real;
- result.Imag = a.Imag + b.Imag;
-
- return result;
-}
-
-/** Subtraction of two complex numbers. */
-inline ALcomplex complex_sub(ALcomplex a, ALcomplex b)
-{
- ALcomplex result;
-
- result.Real = a.Real - b.Real;
- result.Imag = a.Imag - b.Imag;
-
- return result;
-}
-
-/** Multiplication of two complex numbers. */
-inline ALcomplex complex_mult(ALcomplex a, ALcomplex b)
-{
- ALcomplex result;
-
- result.Real = a.Real*b.Real - a.Imag*b.Imag;
- result.Imag = a.Imag*b.Real + a.Real*b.Imag;
-
- return result;
-}
-
/**
* Iterative implementation of 2-radix FFT (In-place algorithm). Sign = -1 is
* FFT and 1 is iFFT (inverse). Fills FFTBuffer[0...FFTSize-1] with the