mirror of
https://github.com/nim-lang/Nim.git
synced 2025-12-28 17:04:41 +00:00
[backport] doc/tut3.rst: Fix typo in Introduction (#12607) [ci skip]
Derivative of `b*pow(x, 2)` is `2*b*x`, while old version had `2*a*x`
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user