Class ASUM

  • All Implemented Interfaces:
    ArrayOperation

    public abstract class ASUM
    extends java.lang.Object
    implements ArrayOperation
    The ?asum routine computes the sum of the magnitudes of elements of a real vector, or the sum of magnitudes of the real and imaginary parts of elements of a complex vector: res = |Re x1| + |Im x1| + |Re x2| + |Im x2|+ ... + |Re xn| + |Im xn|, where x is a vector with n elements.
    • Field Summary

      Fields 
      Modifier and Type Field Description
      static int THRESHOLD  
    • Constructor Summary

      Constructors 
      Constructor Description
      ASUM()  
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static double invoke​(double[] data, int first, int limit, int step)  
      • Methods inherited from class java.lang.Object

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

      • THRESHOLD

        public static int THRESHOLD
    • Constructor Detail

      • ASUM

        public ASUM()
    • Method Detail

      • invoke

        public static double invoke​(double[] data,
                                    int first,
                                    int limit,
                                    int step)