Package org.ojalgo.array.operation
Class AMIN
- java.lang.Object
-
- org.ojalgo.array.operation.AMIN
-
- All Implemented Interfaces:
ArrayOperation
public abstract class AMIN extends java.lang.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
THRESHOLD
-
Constructor Summary
Constructors Constructor Description AMIN()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static int
invoke(double[] data, int first, int limit, int step)
-