Class AggregateDenseComplex
java.lang.Object
org.flag4j.operations.dense.complex.AggregateDenseComplex
This class contains several low-level methods useful for computing aggregation operations on dense tensors.
-
Constructor Summary
-
Method Summary
-
Constructor Details
-
AggregateDenseComplex
private AggregateDenseComplex()
-
-
Method Details
-
argMin
Computes the index of the minimum value by magnitude in this tensor. If the minimum value occurs at more than one index, the index of the first occurrence is taken.- Parameters:
entries
- Entries of the tensor.- Returns:
- The index of the minimum value by magnitude in this tensor. If there are zero entries in the array, -1 is returned.
-
argMax
Computes the index of the maximum value by magnitude in this tensor. If the maximum value occurs at more than one index, the index of the first occurrence is taken.- Parameters:
entries
- Entries of the tensor.- Returns:
- The index of the maximum value by magnitude in this tensor. If there are zero entries in the array, -1 is returned.
-