Next: CriticalPoint[expr, aVariable]
Up: Vector Differentiation
Previous: DirectionalD[expr, aVariable, h]
  Contents
  Index
- Aliases: Grad, NEVER USE Gradient
- Description:
takes the gradient of expression
with respect to the
variable
. Quite useful for computations with quadratic
Hamiltonians in
control. BEWARE Gradient calls the Mma gradient
and makes a mess.
- Arguments:
is an expression containing
.
is a variable.
- Comments / Limitations: This only works reliably for quadratic expressions. It is
not even correct on all of these. For example,
returns
. The reason
is fundamental mathematics, not programming. If
is a row vector and
is a column vector, then
is a number, but
is not.
NCAlgebra Project
2002-09-09