Class FftMultiplier.ComplexVector

java.lang.Object
ch.randelshofer.fastdoubleparser.FftMultiplier.ComplexVector
Enclosing class:
FftMultiplier

static final class FftMultiplier.ComplexVector extends Object
  • Field Details

    • COMPLEX_SIZE_SHIFT

      private static final int COMPLEX_SIZE_SHIFT
      A complex number in an FFT double[] vector occupies 2^1 array elements.
      See Also:
    • IMAG

      static final int IMAG
      See Also:
    • REAL

      static final int REAL
      See Also:
    • a

      private final double[] a
      This arrays contains complex numbers.

      A complex number occupies 2 consecutive array elements: the real part and then the imaginary part.

    • length

      private final int length
      The number of complex numbers stored in this vector.
    • offset

      private final int offset
      Offset to the real part of a complex number.
  • Constructor Details

    • ComplexVector

      ComplexVector(int length)
    • ComplexVector

      ComplexVector(FftMultiplier.ComplexVector c, int from, int to)
      Creates a view on another vector.
      Parameters:
      c - the other vector
      from - start index of the view
      to - end index of the view
  • Method Details