mirror of
https://github.com/ArashPartow/exprtk.git
synced 2025-08-17 03:47:32 +00:00
C++ Mathematical Expression Library (ExprTk) http://www.partow.net/programming/exprtk/index.html
This commit is contained in:
@ -3907,7 +3907,7 @@ function is as follows:
|
|||||||
|
|
||||||
....
|
....
|
||||||
|
|
||||||
// Differentiate expression where value of x = 12.3 using a reference
|
// Differentiate expression at value of x = 12.3 using a reference
|
||||||
// to the x variable
|
// to the x variable
|
||||||
x = T(12.3);
|
x = T(12.3);
|
||||||
T derivative1 = exprtk::derivative(expression,x);
|
T derivative1 = exprtk::derivative(expression,x);
|
||||||
|
Reference in New Issue
Block a user