示例#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));
 }