f:= x^2 y^5 + y^3z^4; grad[x_, y_, z_] = Grad[f, {x, y, z}]; mat = {{ 2,1,0},{ 2, 1, 1 },{ 0,3,3 },{ 2,3,1 },{ 1, 3,1},{ 4,4,4 } }; grad[##] & @@@ mat //TableForm Is there a way to use Modulus 5 with grad in this Mathematica code;Read more
The following code if (i >= N) i = 0; has been corrected to: i %= N; for performance reasons. Does it makes sense?Read more