Package org.ojalgo.array.operation
Class SWAP
- java.lang.Object
-
- org.ojalgo.array.operation.SWAP
-
- All Implemented Interfaces:
ArrayOperation
public abstract class SWAP extends java.lang.Object implements ArrayOperation
Given two vectors x and y, the ?swap routines return vectors y and x swapped, each replacing the other.
-
-
Field Summary
Fields Modifier and Type Field Description static int
THRESHOLD
-
Constructor Summary
Constructors Constructor Description SWAP()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static void
exchangeColumns(double[][] target, int colA, int colB)
static void
exchangeRows(double[][] target, int rowA, int rowB)
-