示例#1
0
 DiagonalMatrix operator/(double x, const DiagonalMatrix &d) {
   return d.inv() * x;
 }
示例#2
0
 DiagonalMatrix operator/(const DiagonalMatrix &m1, const DiagonalMatrix &m2) {
   DiagonalMatrix ans(m2.inv());
   ans *= m1;
   return ans;
 }