Skip to content

Commit fdfb696

Browse files
committed
Updates to ExprTk
1 parent 56d38a2 commit fdfb696

31 files changed

+5999
-4565
lines changed

bench_expr_weird.txt

+3
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,9 @@
88
+2+1
99
+2-1
1010
-2-1
11+
2-+1
12+
2+-1
13+
2--1
1114
+2-+1
1215
+2+-1
1316
+2--1

exprtk/Makefile

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
# **************************************************************
33
# * C++ Mathematical Expression Toolkit Library *
44
# * *
5-
# * Author: Arash Partow (1999-2020) *
5+
# * Author: Arash Partow (1999-2021) *
66
# * URL: http://www.partow.net/programming/exprtk/index.html *
77
# * *
88
# * Copyright notice: *

exprtk/exprtk.hpp

+2,809-1,717
Large diffs are not rendered by default.

exprtk/exprtk_benchmark.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
* C++ Mathematical Expression Toolkit Library *
44
* *
55
* ExprTk vs Native Benchmarks *
6-
* Author: Arash Partow (1999-2020) *
6+
* Author: Arash Partow (1999-2021) *
77
* URL: http://www.partow.net/programming/exprtk/index.html *
88
* *
99
* Copyright notice: *

exprtk/exprtk_simple_example_01.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
* C++ Mathematical Expression Toolkit Library *
44
* *
55
* Simple Example 1 *
6-
* Author: Arash Partow (1999-2020) *
6+
* Author: Arash Partow (1999-2021) *
77
* URL: http://www.partow.net/programming/exprtk/index.html *
88
* *
99
* Copyright notice: *

exprtk/exprtk_simple_example_02.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
* C++ Mathematical Expression Toolkit Library *
44
* *
55
* Simple Example 2 *
6-
* Author: Arash Partow (1999-2020) *
6+
* Author: Arash Partow (1999-2021) *
77
* URL: http://www.partow.net/programming/exprtk/index.html *
88
* *
99
* Copyright notice: *

exprtk/exprtk_simple_example_03.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
* C++ Mathematical Expression Toolkit Library *
44
* *
55
* Simple Example 3 *
6-
* Author: Arash Partow (1999-2020) *
6+
* Author: Arash Partow (1999-2021) *
77
* URL: http://www.partow.net/programming/exprtk/index.html *
88
* *
99
* Copyright notice: *

exprtk/exprtk_simple_example_04.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
* C++ Mathematical Expression Toolkit Library *
44
* *
55
* Simple Example 4 *
6-
* Author: Arash Partow (1999-2020) *
6+
* Author: Arash Partow (1999-2021) *
77
* URL: http://www.partow.net/programming/exprtk/index.html *
88
* *
99
* Copyright notice: *

exprtk/exprtk_simple_example_05.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
* C++ Mathematical Expression Toolkit Library *
44
* *
55
* Simple Example 5 *
6-
* Author: Arash Partow (1999-2020) *
6+
* Author: Arash Partow (1999-2021) *
77
* URL: http://www.partow.net/programming/exprtk/index.html *
88
* *
99
* Copyright notice: *

exprtk/exprtk_simple_example_06.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
* C++ Mathematical Expression Toolkit Library *
44
* *
55
* Simple Example 6 *
6-
* Author: Arash Partow (1999-2020) *
6+
* Author: Arash Partow (1999-2021) *
77
* URL: http://www.partow.net/programming/exprtk/index.html *
88
* *
99
* Copyright notice: *

exprtk/exprtk_simple_example_07.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
* C++ Mathematical Expression Toolkit Library *
44
* *
55
* Simple Example 7 *
6-
* Author: Arash Partow (1999-2020) *
6+
* Author: Arash Partow (1999-2021) *
77
* URL: http://www.partow.net/programming/exprtk/index.html *
88
* *
99
* Copyright notice: *

exprtk/exprtk_simple_example_08.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
* C++ Mathematical Expression Toolkit Library *
44
* *
55
* Simple Example 8 *
6-
* Author: Arash Partow (1999-2020) *
6+
* Author: Arash Partow (1999-2021) *
77
* URL: http://www.partow.net/programming/exprtk/index.html *
88
* *
99
* Copyright notice: *

exprtk/exprtk_simple_example_09.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
* C++ Mathematical Expression Toolkit Library *
44
* *
55
* Simple Example 9 *
6-
* Author: Arash Partow (1999-2020) *
6+
* Author: Arash Partow (1999-2021) *
77
* URL: http://www.partow.net/programming/exprtk/index.html *
88
* *
99
* Copyright notice: *

exprtk/exprtk_simple_example_10.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
* C++ Mathematical Expression Toolkit Library *
44
* *
55
* Simple Example 10 *
6-
* Author: Arash Partow (1999-2020) *
6+
* Author: Arash Partow (1999-2021) *
77
* URL: http://www.partow.net/programming/exprtk/index.html *
88
* *
99
* Copyright notice: *

exprtk/exprtk_simple_example_11.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
* C++ Mathematical Expression Toolkit Library *
44
* *
55
* Simple Example 11 *
6-
* Author: Arash Partow (1999-2020) *
6+
* Author: Arash Partow (1999-2021) *
77
* URL: http://www.partow.net/programming/exprtk/index.html *
88
* *
99
* Copyright notice: *

exprtk/exprtk_simple_example_12.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
* C++ Mathematical Expression Toolkit Library *
44
* *
55
* Simple Example 12 *
6-
* Author: Arash Partow (1999-2020) *
6+
* Author: Arash Partow (1999-2021) *
77
* URL: http://www.partow.net/programming/exprtk/index.html *
88
* *
99
* Copyright notice: *

exprtk/exprtk_simple_example_13.cpp

+2-2
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
* C++ Mathematical Expression Toolkit Library *
44
* *
55
* Simple Example 13 *
6-
* Author: Arash Partow (1999-2020) *
6+
* Author: Arash Partow (1999-2021) *
77
* URL: http://www.partow.net/programming/exprtk/index.html *
88
* *
99
* Copyright notice: *
@@ -89,7 +89,7 @@ void savitzky_golay_filter()
8989

9090
for (std::size_t i = 0; i < v_out.size(); ++i)
9191
{
92-
printf("%10.6f\t%10.6f\n",v_in[i],v_out[i]);
92+
printf("%10.6f\t%10.6f\n", v_in[i], v_out[i]);
9393
}
9494
}
9595

exprtk/exprtk_simple_example_14.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
* C++ Mathematical Expression Toolkit Library *
44
* *
55
* Simple Example 14 *
6-
* Author: Arash Partow (1999-2020) *
6+
* Author: Arash Partow (1999-2021) *
77
* URL: http://www.partow.net/programming/exprtk/index.html *
88
* *
99
* Copyright notice: *

exprtk/exprtk_simple_example_15.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
* C++ Mathematical Expression Toolkit Library *
44
* *
55
* Simple Example 15 *
6-
* Author: Arash Partow (1999-2020) *
6+
* Author: Arash Partow (1999-2021) *
77
* URL: http://www.partow.net/programming/exprtk/index.html *
88
* *
99
* Copyright notice: *

exprtk/exprtk_simple_example_16.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
* C++ Mathematical Expression Toolkit Library *
44
* *
55
* Simple Example 16 *
6-
* Author: Arash Partow (1999-2020) *
6+
* Author: Arash Partow (1999-2021) *
77
* URL: http://www.partow.net/programming/exprtk/index.html *
88
* *
99
* Copyright notice: *

exprtk/exprtk_simple_example_17.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
* C++ Mathematical Expression Toolkit Library *
44
* *
55
* Simple Example 17 *
6-
* Author: Arash Partow (1999-2020) *
6+
* Author: Arash Partow (1999-2021) *
77
* URL: http://www.partow.net/programming/exprtk/index.html *
88
* *
99
* Copyright notice: *

exprtk/exprtk_simple_example_18.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
* C++ Mathematical Expression Toolkit Library *
44
* *
55
* Simple Example 18 *
6-
* Author: Arash Partow (1999-2020) *
6+
* Author: Arash Partow (1999-2021) *
77
* URL: http://www.partow.net/programming/exprtk/index.html *
88
* *
99
* Copyright notice: *

exprtk/exprtk_simple_example_19.cpp

+2-2
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
* C++ Mathematical Expression Toolkit Library *
44
* *
55
* Simple Example 19 *
6-
* Author: Arash Partow (1999-2020) *
6+
* Author: Arash Partow (1999-2021) *
77
* URL: http://www.partow.net/programming/exprtk/index.html *
88
* *
99
* Copyright notice: *
@@ -55,7 +55,7 @@ class randu : public exprtk::igeneric_function<T>
5555
if (
5656
(1 == ps_index) &&
5757
!exprtk::rtl::vecops::helper::
58-
load_vector_range<T>::process(parameters,r0,r1,1,2,0)
58+
load_vector_range<T>::process(parameters, r0, r1, 1, 2, 0)
5959
)
6060
return T(0);
6161

0 commit comments

Comments
 (0)