/exprtk-extras

C++ Mathematical Expression Library Extra Examples https://www.partow.net/programming/exprtk/index.html

Primary LanguageC++

Description

The C++ ExprTk Extras are a series of additional examples demonstrating in more detail various aspects of ExprTk and its usage.

Download

http://www.partow.net/programming/exprtk/index.html

Compatibility

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+)

List Of Examples

# 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
00 Mandelbrot fractal generator exprtk_mandelbrot.cpp
11 Approximation of Pi via the Monte-Carlo method exprtk_montecarlo_pi.cpp
12 Approximation of Pi via Wiener process exprtk_wiener_process_pi.cpp
13 Maximum subarray sum (Kadane's algorithm) exprtk_max_subarray_sum.cpp
14 Nth-root via the bisection method exprtk_nthroot_bisection.cpp
15 Sieve of Eratosthenes exprtk_prime_sieve.cpp
16 ExprTk Read-Evaluate-Print-Loop (REPL) exprtk_repl.cpp
17 Skeleton for string APIs exprtk_str_funcs.hpp
18 Sum of prime factors for first N numbers exprtk_sumofprimes.cpp
19 Test expression generator exprtk_testgen.cpp
10 Truth table generator from arbitrary expressions exprtk_truthtable_gen.cpp
21 Vector processing benchmark exprtk_vector_benchmark.cpp
22 Multi-threaded vector processing benchmark exprtk_vector_benchmark_multithreaded.cpp
23 L-Norm of vectors exprtk_vectornorm.cpp