comefrom: <gouthampradhan>array_SparseMatrixMultiplication_1.java
code: public int[][] multiply(int[][] A, int[][] B) {
      boolean[] AH = new boolean[A.length]; 
      boolean[] BH = new boolean[B[0].length]; 
      for (int i = 0; i < A.length; i++) {
        for (int j = 0; j < A[0].length; j++) {
          if (A[i][j] != 0) {
            AH[i] = true;
            break;
          }
        }
      }
      for (int i = 0; i < B[0].length; i++) {
        for (int j = 0; j < B.length; j++) {
          if (B[j][i] != 0) {
            BH[i] = true;
            break;
          }
        }
      }
      int[][] C = new int[A.length][B[0].length];
      for (int i = 0; i < C.length; i++) {
        if (AH[i]) {
          for (int j = 0; j < C[0].length; j++) {
            if (BH[j]) {
              int sum = 0;
              for (int k = 0; k < A[0].length; k++) {
                sum += A[i][k] * B[k][j];
              }
              C[i][j] = sum;
            }
          }
        }
      }
      return C;
    }
masked: public int [ ] [ ] sample_funcname ( int [ ] [ ] var_0 , int [ ] [ ] var_1 ) {
    boolean [ ] var_4 = new boolean [ var_0 . length ] ;
    boolean [ ] var_6 = new boolean [ var_1 [ 0 ] . length ] ;
    for ( int var_7 = 0 ;
    var_7 < var_0 . length ;
    var_7 ++ ) {
      for ( int var_8 = 0 ;
      var_8 < var_0 [ 0 ] . length ;
      var_8 ++ ) {
        if ( var_0 [ var_7 ] [ var_8 ] != 0 ) {
          var_4 [ var_7 ] = true ;
          break ;
        }
      }
    }
    for ( int var_7 = 0 ;
    var_7 < var_1 [ 0 ] . length ;
    var_7 ++ ) {
      for ( int var_8 = 0 ;
      var_8 < var_1 . length ;
      var_8 ++ ) {
        if ( var_1 [ var_8 ] [ var_7 ] != 0 ) {
          var_6 [ var_7 ] = true ;
          break ;
        }
      }
    }
    int [ ] [ ] var_9 = new int [ var_0 . length ] [ var_1 [ 0 ] . length ] ;
    for ( int var_7 = 0 ;
    var_7 < var_9 . length ;
    var_7 ++ ) {
      if ( var_4 [ var_7 ] ) {
        for ( int var_8 = 0 ;
        var_8 < var_9 [ 0 ] . length ;
        var_8 ++ ) {
          if ( var_6 [ var_8 ] ) {
            int var_10 = 0 ;
            for ( int var_11 = 0 ;
            var_11 < var_0 [ 0 ] . length ;
            var_11 ++ ) {
              var_10 += var_0 [ var_7 ] [ var_11 ] * var_1 [ var_11 ] [ var_8 ] ;
            }
            var_9 [ var_7 ] [ var_8 ] = var_10 ;
          }
        }
      }
    }
    return var_9 ;
  }
  