C++ Mathematical Expression Library (ExprTk) http://www.partow.net/programming/exprtk/index.html

This commit is contained in:
Arash Partow 2017-11-11 09:21:03 +11:00
parent 149fa9879d
commit 21bb5ecb7c
1 changed files with 4 additions and 4 deletions

View File

@ -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
x = T(12.3);
T derivative1 = exprtk::derivative(expression,x);