Class AXPY

  • All Implemented Interfaces:
    ArrayOperation

    public abstract class AXPY
    extends java.lang.Object
    implements ArrayOperation
    The ?axpy routines perform a vector-vector operation defined as y := a*x + y where: a is a scalar x and y are vectors each with a number of elements that equals n. y[] += a * x[]
    • Field Summary

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

      Constructors 
      Constructor Description
      AXPY()  
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static void invoke​(double[] y, int basey, double a, double[] x, int basex, int first, int limit)  
      static void invoke​(float[] y, int basey, float a, float[] x, int basex, int first, int limit)  
      static void invoke​(java.math.BigDecimal[] y, int basey, java.math.BigDecimal a, java.math.BigDecimal[] x, int basex, int first, int limit)  
      static <N extends Scalar<N>>
      void
      invoke​(N[] y, int basey, N a, N[] x, int basex, int first, int limit)  
      static void invoke​(Mutate1D.Modifiable<?> y, double a, double[] x)  
      static void invoke​(Mutate1D.Modifiable<?> y, double a, float[] x)  
      static void invoke​(Mutate1D.Modifiable<?> y, double a, java.math.BigDecimal[] x)  
      static <N extends Scalar<N>>
      void
      invoke​(Mutate1D.Modifiable<?> y, double a, N[] x)  
      • 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

      • AXPY

        public AXPY()
    • Method Detail

      • invoke

        public static void invoke​(java.math.BigDecimal[] y,
                                  int basey,
                                  java.math.BigDecimal a,
                                  java.math.BigDecimal[] x,
                                  int basex,
                                  int first,
                                  int limit)
      • invoke

        public static void invoke​(double[] y,
                                  int basey,
                                  double a,
                                  double[] x,
                                  int basex,
                                  int first,
                                  int limit)
      • invoke

        public static void invoke​(float[] y,
                                  int basey,
                                  float a,
                                  float[] x,
                                  int basex,
                                  int first,
                                  int limit)
      • invoke

        public static void invoke​(Mutate1D.Modifiable<?> y,
                                  double a,
                                  java.math.BigDecimal[] x)
      • invoke

        public static <N extends Scalar<N>> void invoke​(N[] y,
                                                        int basey,
                                                        N a,
                                                        N[] x,
                                                        int basex,
                                                        int first,
                                                        int limit)