Пример #1
0
 @Override
 public ZeroVector innerProduct(AMatrix m) {
   if (m.rowCount() != length)
     throw new IllegalArgumentException("Incompatible vector*matrix sizes");
   return ZeroVector.create(m.columnCount());
 }
Пример #2
0
 public ZeroVector join(ZeroVector a) {
   return ZeroVector.create(length + a.length);
 }