Skip to content

addition of mexce library #6

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 12 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions bench_expr_weird.txt
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,9 @@
+2+1
+2-1
-2-1
2-+1
2+-1
2--1
+2-+1
+2+-1
+2--1
Expand Down
2 changes: 1 addition & 1 deletion exprtk/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
# **************************************************************
# * C++ Mathematical Expression Toolkit Library *
# * *
# * Author: Arash Partow (1999-2020) *
# * Author: Arash Partow (1999-2021) *
# * URL: http://www.partow.net/programming/exprtk/index.html *
# * *
# * Copyright notice: *
Expand Down
4,526 changes: 2,809 additions & 1,717 deletions exprtk/exprtk.hpp

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion exprtk/exprtk_benchmark.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
* C++ Mathematical Expression Toolkit Library *
* *
* ExprTk vs Native Benchmarks *
* Author: Arash Partow (1999-2020) *
* Author: Arash Partow (1999-2021) *
* URL: http://www.partow.net/programming/exprtk/index.html *
* *
* Copyright notice: *
Expand Down
2 changes: 1 addition & 1 deletion exprtk/exprtk_simple_example_01.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
* C++ Mathematical Expression Toolkit Library *
* *
* Simple Example 1 *
* Author: Arash Partow (1999-2020) *
* Author: Arash Partow (1999-2021) *
* URL: http://www.partow.net/programming/exprtk/index.html *
* *
* Copyright notice: *
Expand Down
2 changes: 1 addition & 1 deletion exprtk/exprtk_simple_example_02.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
* C++ Mathematical Expression Toolkit Library *
* *
* Simple Example 2 *
* Author: Arash Partow (1999-2020) *
* Author: Arash Partow (1999-2021) *
* URL: http://www.partow.net/programming/exprtk/index.html *
* *
* Copyright notice: *
Expand Down
2 changes: 1 addition & 1 deletion exprtk/exprtk_simple_example_03.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
* C++ Mathematical Expression Toolkit Library *
* *
* Simple Example 3 *
* Author: Arash Partow (1999-2020) *
* Author: Arash Partow (1999-2021) *
* URL: http://www.partow.net/programming/exprtk/index.html *
* *
* Copyright notice: *
Expand Down
2 changes: 1 addition & 1 deletion exprtk/exprtk_simple_example_04.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
* C++ Mathematical Expression Toolkit Library *
* *
* Simple Example 4 *
* Author: Arash Partow (1999-2020) *
* Author: Arash Partow (1999-2021) *
* URL: http://www.partow.net/programming/exprtk/index.html *
* *
* Copyright notice: *
Expand Down
2 changes: 1 addition & 1 deletion exprtk/exprtk_simple_example_05.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
* C++ Mathematical Expression Toolkit Library *
* *
* Simple Example 5 *
* Author: Arash Partow (1999-2020) *
* Author: Arash Partow (1999-2021) *
* URL: http://www.partow.net/programming/exprtk/index.html *
* *
* Copyright notice: *
Expand Down
2 changes: 1 addition & 1 deletion exprtk/exprtk_simple_example_06.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
* C++ Mathematical Expression Toolkit Library *
* *
* Simple Example 6 *
* Author: Arash Partow (1999-2020) *
* Author: Arash Partow (1999-2021) *
* URL: http://www.partow.net/programming/exprtk/index.html *
* *
* Copyright notice: *
Expand Down
2 changes: 1 addition & 1 deletion exprtk/exprtk_simple_example_07.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
* C++ Mathematical Expression Toolkit Library *
* *
* Simple Example 7 *
* Author: Arash Partow (1999-2020) *
* Author: Arash Partow (1999-2021) *
* URL: http://www.partow.net/programming/exprtk/index.html *
* *
* Copyright notice: *
Expand Down
2 changes: 1 addition & 1 deletion exprtk/exprtk_simple_example_08.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
* C++ Mathematical Expression Toolkit Library *
* *
* Simple Example 8 *
* Author: Arash Partow (1999-2020) *
* Author: Arash Partow (1999-2021) *
* URL: http://www.partow.net/programming/exprtk/index.html *
* *
* Copyright notice: *
Expand Down
2 changes: 1 addition & 1 deletion exprtk/exprtk_simple_example_09.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
* C++ Mathematical Expression Toolkit Library *
* *
* Simple Example 9 *
* Author: Arash Partow (1999-2020) *
* Author: Arash Partow (1999-2021) *
* URL: http://www.partow.net/programming/exprtk/index.html *
* *
* Copyright notice: *
Expand Down
2 changes: 1 addition & 1 deletion exprtk/exprtk_simple_example_10.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
* C++ Mathematical Expression Toolkit Library *
* *
* Simple Example 10 *
* Author: Arash Partow (1999-2020) *
* Author: Arash Partow (1999-2021) *
* URL: http://www.partow.net/programming/exprtk/index.html *
* *
* Copyright notice: *
Expand Down
2 changes: 1 addition & 1 deletion exprtk/exprtk_simple_example_11.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
* C++ Mathematical Expression Toolkit Library *
* *
* Simple Example 11 *
* Author: Arash Partow (1999-2020) *
* Author: Arash Partow (1999-2021) *
* URL: http://www.partow.net/programming/exprtk/index.html *
* *
* Copyright notice: *
Expand Down
2 changes: 1 addition & 1 deletion exprtk/exprtk_simple_example_12.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
* C++ Mathematical Expression Toolkit Library *
* *
* Simple Example 12 *
* Author: Arash Partow (1999-2020) *
* Author: Arash Partow (1999-2021) *
* URL: http://www.partow.net/programming/exprtk/index.html *
* *
* Copyright notice: *
Expand Down
4 changes: 2 additions & 2 deletions exprtk/exprtk_simple_example_13.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
* C++ Mathematical Expression Toolkit Library *
* *
* Simple Example 13 *
* Author: Arash Partow (1999-2020) *
* Author: Arash Partow (1999-2021) *
* URL: http://www.partow.net/programming/exprtk/index.html *
* *
* Copyright notice: *
Expand Down Expand Up @@ -89,7 +89,7 @@ void savitzky_golay_filter()

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

Expand Down
2 changes: 1 addition & 1 deletion exprtk/exprtk_simple_example_14.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
* C++ Mathematical Expression Toolkit Library *
* *
* Simple Example 14 *
* Author: Arash Partow (1999-2020) *
* Author: Arash Partow (1999-2021) *
* URL: http://www.partow.net/programming/exprtk/index.html *
* *
* Copyright notice: *
Expand Down
2 changes: 1 addition & 1 deletion exprtk/exprtk_simple_example_15.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
* C++ Mathematical Expression Toolkit Library *
* *
* Simple Example 15 *
* Author: Arash Partow (1999-2020) *
* Author: Arash Partow (1999-2021) *
* URL: http://www.partow.net/programming/exprtk/index.html *
* *
* Copyright notice: *
Expand Down
2 changes: 1 addition & 1 deletion exprtk/exprtk_simple_example_16.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
* C++ Mathematical Expression Toolkit Library *
* *
* Simple Example 16 *
* Author: Arash Partow (1999-2020) *
* Author: Arash Partow (1999-2021) *
* URL: http://www.partow.net/programming/exprtk/index.html *
* *
* Copyright notice: *
Expand Down
2 changes: 1 addition & 1 deletion exprtk/exprtk_simple_example_17.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
* C++ Mathematical Expression Toolkit Library *
* *
* Simple Example 17 *
* Author: Arash Partow (1999-2020) *
* Author: Arash Partow (1999-2021) *
* URL: http://www.partow.net/programming/exprtk/index.html *
* *
* Copyright notice: *
Expand Down
2 changes: 1 addition & 1 deletion exprtk/exprtk_simple_example_18.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
* C++ Mathematical Expression Toolkit Library *
* *
* Simple Example 18 *
* Author: Arash Partow (1999-2020) *
* Author: Arash Partow (1999-2021) *
* URL: http://www.partow.net/programming/exprtk/index.html *
* *
* Copyright notice: *
Expand Down
4 changes: 2 additions & 2 deletions exprtk/exprtk_simple_example_19.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
* C++ Mathematical Expression Toolkit Library *
* *
* Simple Example 19 *
* Author: Arash Partow (1999-2020) *
* Author: Arash Partow (1999-2021) *
* URL: http://www.partow.net/programming/exprtk/index.html *
* *
* Copyright notice: *
Expand Down Expand Up @@ -55,7 +55,7 @@ class randu : public exprtk::igeneric_function<T>
if (
(1 == ps_index) &&
!exprtk::rtl::vecops::helper::
load_vector_range<T>::process(parameters,r0,r1,1,2,0)
load_vector_range<T>::process(parameters, r0, r1, 1, 2, 0)
)
return T(0);

Expand Down
Loading