C++ Mathematical Expression Library (ExprTk) http://www.partow.net/programming/exprtk/index.html
This commit is contained in:
parent
149fa9879d
commit
21bb5ecb7c
|
@ -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);
|
||||||
|
|
Loading…
Reference in New Issue