Ejemplo n.º 1
0
 public AdjMatrix mult(AdjMatrix m2) {
   // both are assumed to be the same size
   if (m2.size() == this.size()) {
     Matrix retMatrix = new UpperSPDPackMatrix(size);
     data.mult(m2.getData(), retMatrix);
     return new AdjMatrix(retMatrix);
   } else return null;
 }