|
SOLUTIONS
|
BUILT-IN MATHEMATICA SYMBOL
Grad
Grad[f, {x1, ..., xn}]
gives the gradient
.
Grad[f, {x1, ..., xn}, chart]
gives the gradient in the coordinates chart.
DetailsDetails
- All quantities that do not explicitly depend on the variables given are taken to have zero partial derivative.
- If f is an array of dimensions
, then Grad[f, {x1, ..., xm}] yields an array of dimensions
. - If f is a scalar, Grad[f, {x1, x2, ..., xn}, chart] returns a vector in the orthonormal basis associated with chart.
- In Grad[f, {x1, ..., xn}, chart], if f is an array, it must have dimensions
. The components of f are interpreted as being in the orthonormal basis associated with chart. - Coordinate charts in the third argument of Grad can be specified as triples
in the same way as in the first argument of CoordinateChartData. The short form in which dim is omitted may be used. - Grad works with SparseArray and StructuredArray objects.
New in 9
Mathematica 9 is now available!
New to Mathematica?
Find your learning path »
Have a question?
Ask support »
