Java Array Subtract subtract(double[][] dest, double[][] a, double[][] b)

Here you can find the source of subtract(double[][] dest, double[][] a, double[][] b)

Description

subtract

License

Open Source License

Declaration

public static void subtract(double[][] dest, double[][] a, double[][] b) 

Method Source Code

//package com.java2s;
// it under the terms of the GNU General Public License as published by

public class Main {
    public static void subtract(double[][] dest, double[][] a, double[][] b) {
        for (int i = 0; i < dest.length; i++) {
            for (int j = 0; j < dest[i].length; j++) {
                dest[i][j] = a[i][j] - b[i][j];
            }//from   ww  w. j a  v a2  s .  c  o m
        }
    }
}

Related

  1. subtract(double[] res, double[] subtractor)
  2. subtract(double[] values, double value)
  3. subtract(double[] x, double c)
  4. subtract(double[][] a, double[][] b)
  5. subtract(double[][] a, double[][] b)
  6. subtract(final double[] a, final double[] b, final double[] c)
  7. subtract(final double[] first, final double[] second)
  8. subtract(final double[] v1, final double[] v2)
  9. subtract(final double[] vector1, final double[] vector2)