Class AMIN

java.lang.Object
org.ojalgo.array.operation.AMIN
All Implemented Interfaces:
ArrayOperation

public abstract class AMIN extends Object implements ArrayOperation
Given a vector x, the i?amin functions return the position of the vector element x[i] that has the smallest absolute value for real flavors, or the smallest sum |Re(x[i])|+|Im(x[i])| for complex flavors. If n is not positive, 0 is returned. If more than one vector element is found with the same smallest absolute value, the index of the first one encountered is returned.
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static int
     
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    static void
    invoke(double[] data, double[] array1, double[] array2)
     
    static int
    invoke(double[] data, int first, int limit, int step)
     

    Methods inherited from class Object

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

    • THRESHOLD

      public static int THRESHOLD
  • Constructor Details

    • AMIN

      public AMIN()
  • Method Details

    • invoke

      public static void invoke(double[] data, double[] array1, double[] array2)
    • invoke

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