Java Matrix Swap swapRows(double[][] Ab, int k, int i)

Here you can find the source of swapRows(double[][] Ab, int k, int i)

Description

swap Rows

License

Open Source License

Declaration

public static void swapRows(double[][] Ab, int k, int i) 

Method Source Code

//package com.java2s;
//License from project: Open Source License 

public class Main {
    public static void swapRows(double[][] Ab, int k, int i) {
        double[] aux = Ab[i];
        Ab[i] = Ab[k];//  w  ww .  ja  v  a2s.  c  o m
        Ab[k] = aux;
    }
}

Related

  1. swap2d(Object[][] array, int c1, int r1, int c2, int r2)
  2. swapColumns(byte[][] matrix, int a, int b)
  3. swapColumns(double[][] front, int colA, int colB)
  4. swapColumns(int i, int j, boolean[][] matrix)
  5. swapRows(double[][] a, int i, int j)
  6. swapRows(double[][] matrix, int i1, int i2)
  7. swapShorts(byte bs[][])
  8. swapTwoBlocks(int[][] pattern, int block1, int block2)
  9. swapTwoRows(byte[][] pattern, int row1, int row2)