Getting ready
There are three ways to approach the computation of derivatives:
-
Numerical differentiation refers to the process of approximation of the derivative of a given function at a point. In SciPy, we have the following procedures, which will be covered in detail:
-
For generic univariate functions, there is the central difference formula with fixed spacing.
-
It is always possible to perform numerical differentiation via Cauchy's theorem, which transforms the derivative into a definite integral. This integral is then treated with the techniques of numerical integration explained before.
-
-
Symbolic differentiation refers to computation of functional expressions of derivatives of functions, pretty much in the same way as we would ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access