Skip to content

Commit

Permalink
[backport] doc/tut3.rst: Fix typo in Introduction (#12607) [ci skip]
Browse files Browse the repository at this point in the history
Derivative of `b*pow(x, 2)` is `2*b*x`, while old version had `2*a*x`
  • Loading branch information
torarvid authored and narimiran committed Nov 6, 2019
1 parent 61889c6 commit 5ccbf7e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion doc/tut3.rst
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ Examples of things that can be implemented in macros:

* Symbolic differentiation of an expression.
``diff(a*pow(x,3) + b*pow(x,2) + c*x + d, x)`` is converted to
``3*a*pow(x,2) + 2*a*x + c``
``3*a*pow(x,2) + 2*b*x + c``


Macro Arguments
Expand Down

0 comments on commit 5ccbf7e

Please sign in to comment.