Word description
Defines the derivative of a word by setting its derivative word property. Reads a word followed by n quotations, giving the n partial derivatives of the word with respect to each of its arguments successively. Each quotation should take n + 1 inputs, where the first input is an increment and the last n inputs are the point at which to evaluate the derivative. The derivative should be a linear function of the increment, and should have the same number of outputs as the original word.

USING: math math.functions math.derivatives.syntax ; DERIVATIVE: sin [ cos * ] DERIVATIVE: * [ nip * ] [ drop * ]

See also
define-dual, dual-op