Class 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
    • Field Summary

      Fields 
      Modifier and Type Field Description
      double[] imag  
      double[] real  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      ComplexNumber get​(int index)  
      void init​(int len)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • real

        public double[] real
      • imag

        public double[] imag
    • Constructor Detail

      • ComplexArray

        public ComplexArray​(int len)
      • ComplexArray

        public ComplexArray​(double[] realVals,
                            double[] imagVals)
    • Method Detail

      • init

        public void init​(int len)