dotMMbig method

List<List<double>> dotMMbig (List<List<double>> x, List<List<double>> y)

Utility for dotMM

Implementation

List<List<double>> dotMMbig(List<List<double>> x, List<List<double>> y) {
  int p = y.length;
  List<double> v = List(p), xj;
  int m = x.length, n = y[0].length;
  List<List<double>> A = List(m);
  int i, j;
  --p;
  --m;
  for (i = m; i != -1; --i) A[i] = List(n);
  --n;
  for (i = n; i != -1; --i) {
    _getCol(y, i, v);
    for (j = m; j != -1; --j) {
      xj = x[j];
      A[j][i] = dotVV(xj, v);
    }
  }
  return A;
}