Package org.ojalgo.array.operation
Class AMIN
java.lang.Object
org.ojalgo.array.operation.AMIN
- All Implemented Interfaces:
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 -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic int
invoke
(double[] data, int first, int limit, int step)
-
Field Details
-
THRESHOLD
public static int THRESHOLD
-
-
Constructor Details
-
AMIN
public AMIN()
-
-
Method Details
-
invoke
public static int invoke(double[] data, int first, int limit, int step)
-