Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public static Matrix operator +(Matrix arg1, double arg2)
- {
- var result = new Matrix(arg1.Table.GetLength(0), arg1.Table.GetLength(1));
- for (int x = 0; x < arg1.Table.GetLength(0); x++)
- {
- for (int y = 0; y < arg1.Table.GetLength(1); y++)
- {
- result[x, y] = arg1[x, y] + arg2;
- }
- }
- return result;
- }
- json // http://www.newtonsoft.com/json/help/html/DeserializeObject.htm
- // http://www.newtonsoft.com/json/help/html/SerializeObject.htm
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement