The C++ ExprTk Extras are a series of additional examples demonstrating in more detail various aspects of ExprTk and its usage.
http://www.partow.net/programming/exprtk/index.html
The ExprTk Extras implementation is fully compatible with the following C++ compilers:
- GNU Compiler Collection (4.1+)
- Intel® C++ Compiler (9.x+)
- Clang/LLVM (1.1+)
- PGI C++ (10.x+)
- Microsoft Visual Studio C++ Compiler (8.1+)
- IBM XL C/C++ (10.x+)
| # | Description | File |
|---|---|---|
| 00 | Binomial coefficient example (n-choose-r) | exprtk_binomial_coefficient.cpp |
| 01 | Black-Scholes-Merton model benchmark | exprtk_bsm_benchmark.cpp |
| 02 | Simple calculator | exprtk_calc.cpp |
| 03 | Collatz conjecture | exprtk_collatz.cpp |
| 04 | Expression generator | exprtk_exprgen.cpp |
| 05 | Fizz-Buzz problem | exprtk_fizzbuzz.cpp |
| 06 | Function call benchmark | exprtk_funcall_benchmark.cpp |
| 07 | GCD implementation | exprtk_gcd.cpp |
| 08 | GNUplot single curve example | exprtk_gnuplot.cpp |
| 09 | GNUplot multi-curve example | exprtk_gnuplot_multi.cpp |
| 10 | Mandelbrot fractal generator | exprtk_mandelbrot.cpp |
| 11 | Approximation of e via the Monte-Carlo method | exprtk_montecarlo_e.cpp |
| 12 | Approximation of Pi via the Monte-Carlo method | exprtk_montecarlo_pi.cpp |
| 13 | Approximation of Pi via Wiener process | exprtk_wiener_process_pi.cpp |
| 14 | Maximum subarray sum (Kadane's algorithm) | exprtk_max_subarray_sum.cpp |
| 15 | Nth-root via the bisection method | exprtk_nthroot_bisection.cpp |
| 16 | Sieve of Eratosthenes | exprtk_prime_sieve.cpp |
| 17 | ExprTk Read-Evaluate-Print-Loop (REPL) | exprtk_repl.cpp |
| 18 | Skeleton for string APIs | exprtk_str_funcs.hpp |
| 19 | Sum of prime factors for first N numbers | exprtk_sumofprimes.cpp |
| 20 | Test expression generator | exprtk_testgen.cpp |
| 21 | Truth table generator from arbitrary expressions | exprtk_truthtable_gen.cpp |
| 22 | Vector processing benchmark | exprtk_vector_benchmark.cpp |
| 23 | Multi-threaded vector processing benchmark | exprtk_vector_benchmark_multithreaded.cpp |
| 24 | L-Norm of vectors | exprtk_vectornorm.cpp |