示例#1
0
 public function mult(Matrix $a = NULL, Matrix $b = NULL)
 {
     if ($a->isSquare() && $a->isSameSize($b)) {
         return new Matrix($this->mult2($a, $b));
     } else {
         return NULL;
     }
 }