scipy 1.8.0 Pypi GitHub Homepage
Other Docs
Notes

This class defines a vector function F: R^n->R^m and methods for computing or approximating its first and second derivatives.

Notes

This class implements a memoization logic. There are methods :None:None:`fun`, :None:None:`jac`, hess` and corresponding attributes f , :None:None:`J` and :None:None:`H`. The following things should be considered:

  1. Use only public methods :None:None:`fun`, :None:None:`jac` and :None:None:`hess`.

  2. After one of the methods is called, the corresponding attribute will be set. However, a subsequent call with a different argument of any of the methods may overwrite the attribute.

Vector function and its derivatives.

Examples

See :

Local connectivity graph

Hover to see nodes names; edges to Self not shown, Caped at 50 nodes.

Using a canvas is more power efficient and can get hundred of nodes ; but does not allow hyperlinks; , arrows or text (beyond on hover)

SVG is more flexible but power hungry; and does not scale well to 50 + nodes.

All aboves nodes referred to, (or are referred from) current nodes; Edges from Self to other have been omitted (or all nodes would be connected to the central node "self" which is not useful). Nodes are colored by the library they belong to, and scaled with the number of references pointing them


GitHub : /scipy/optimize/_differentiable_functions.py#290
type: <class 'type'>
Commit: