General::njnum
Details
-
- This message is generated when the value of the Jacobian option does not have the required form, or when the corresponding derivatives are not numerical at the indicated point.
- This error can occur if a point is encountered at which the derivatives of the equations are singular or non-numerical, or if the value of the Jacobian option includes symbolic parameters that do not have numerical values.
- Off[message] switches off the message; On[message] switches it on. For example: Off[General::njnum].
Examples
Basic Examples (2)
The first argument includes a symbolic parameter that does not have a numerical value:
FindRoot[2 Sin[x] == 1, {x, 2}, Jacobian -> f]This shows a valid value for the Jacobian option in FindRoot:
With[{f = {{2 Cos[x]}}}, FindRoot[2 Sin[x] == 1, {x, 2}, Jacobian -> f]]The derivative of the first argument is singular at the starting point:
FindRoot[Sqrt[x] == 2, {x, 0}]This error can be avoided by choosing a different starting value:
FindRoot[Sqrt[x] == 2, {x, 1}]