Class SWAP

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

public abstract class SWAP extends Object implements ArrayOperation
Given two vectors x and y, the ?swap routines return vectors y and x swapped, each replacing the other.
  • Field Details

    • THRESHOLD

      public static int THRESHOLD
  • Constructor Details

    • SWAP

      public SWAP()
  • Method Details

    • exchangeColumns

      public static void exchangeColumns(double[][] target, int colA, int colB)
    • exchangeRows

      public static void exchangeRows(double[][] target, int rowA, int rowB)