Package htw.ai.dln.utils.hilbert
Class ComplexArray
- java.lang.Object
-
- htw.ai.dln.utils.hilbert.ComplexArray
-
public class ComplexArray extends java.lang.Object
This is a wrapper class that can hold two double arrays, one of which is interpreted as containing the real values, the other the imaginary values of the complex numbers.- Author:
- Marc Schröder
-
-
Constructor Summary
Constructors Constructor Description ComplexArray(double[] realVals, double[] imagVals)
ComplexArray(int len)
ComplexArray(ComplexArray c)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ComplexNumber
get(int index)
void
init(int len)
-
-
-
Constructor Detail
-
ComplexArray
public ComplexArray(int len)
-
ComplexArray
public ComplexArray(double[] realVals, double[] imagVals)
-
ComplexArray
public ComplexArray(ComplexArray c)
-
-
Method Detail
-
init
public void init(int len)
-
get
public ComplexNumber get(int index)
-
-