Пример #1
0
 public static Matrix operator *(double a, Matrix b)
 {
     return(MatrixHelper.EveryItem(b, (bb) => a * bb));
 }
Пример #2
0
 public static Matrix operator +(Matrix a, Matrix b)
 {
     return(MatrixHelper.EveryItem(a, b, (aa, bb) => aa + bb));
 }
Пример #3
0
 public static Matrix operator *(Matrix a, double b)
 {
     return(MatrixHelper.EveryItem(a, (aa) => aa * b));
 }
Пример #4
0
 public static Matrix operator -(Matrix a)
 {
     return(MatrixHelper.EveryItem(a, (aa) => - aa));
 }