mirror of
https://github.com/ArashPartow/exprtk.git
synced 2025-06-12 16:27:23 +00:00
C++ Mathematical Expression Library (ExprTk) http://www.partow.net/programming/exprtk/index.html
This commit is contained in:
13
readme.txt
13
readme.txt
@ -1268,7 +1268,7 @@ with vectors:
|
||||
(a) Arithmetic: +, -, *, /, %
|
||||
(b) Exponentiation: vector ^ scalar
|
||||
(c) Assignment: :=, +=, -=, *=, /=, %=, <=>
|
||||
(d) Inequalities: <, <=, >, >=, ==, =
|
||||
(d) Inequalities: <, <=, >, >=, ==, =, equal
|
||||
(e) Unary operations:
|
||||
abs, acos, acosh, asin, asinh, atan, atanh, ceil, cos, cosh,
|
||||
cot, csc, deg2grad, deg2rad, erf, erfc, exp, expm1, floor,
|
||||
@ -1304,17 +1304,6 @@ the previously mentioned dot-product computation expression:
|
||||
}
|
||||
|
||||
|
||||
Note: In the scenario of inequalities between two vectors, the result
|
||||
is not a vector but rather a singular variable denoting a boolean
|
||||
state of either 'true' or 'false' depending on the nature of the
|
||||
inequality.
|
||||
|
||||
var x[3] := { 1, 1, 1 };
|
||||
var y[3] := { 3, 2, 1 };
|
||||
|
||||
y > x == false
|
||||
|
||||
|
||||
Note: When the aggregate operations denoted above are used in
|
||||
conjunction with a vector or vector expression, the return value is
|
||||
not a vector but rather a single value.
|
||||
|
Reference in New Issue
Block a user