Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

ArashPartow/exprtk-extras

Open more actions menu

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

146 Commits
146 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Description

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

Download

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

Compatibility

The ExprTk Extras implementation is fully compatible with the following C++ compilers:

  • GNU Compiler Collection (3.5+)
  • Clang/LLVM (1.1+)
  • Microsoft Visual Studio C++ Compiler (7.1+)
  • Intel® C++ Compiler (8.x+)
  • AMD Optimizing C++ Compiler (1.2+)
  • PGI C++ (10.x+)
  • IBM XL C/C++ (9.x+)
  • C++ Builder (XE4+)

List Of Examples

# Description File
00 Binomial coefficient example (n-choose-r) exprtk_binomial_coefficient.cpp
01 Pascal's triangle exprtk_pascals_triangle.cpp
02 Black-Scholes-Merton model benchmark exprtk_bsm_benchmark.cpp
03 Simple calculator exprtk_calc.cpp
04 Simple arithmetic expression calculator exprtk_arithmetic_evaluator.cpp
05 Collatz conjecture exprtk_collatz.cpp
06 Expression generator exprtk_exprgen.cpp
07 Fizz-Buzz problem exprtk_fizzbuzz.cpp
08 Function call benchmark exprtk_funcall_benchmark.cpp
09 GCD implementation exprtk_gcd.cpp
10 GNUplot single curve example exprtk_gnuplot.cpp
11 GNUplot multi-curve example exprtk_gnuplot_multi.cpp
12 Mandelbrot fractal generator exprtk_mandelbrot.cpp
13 Julia set fractal generator exprtk_julia_set_fractal.cpp
14 Radial contour graphing example exprtk_radial_contour.cpp
15 Chladni contour graphing example exprtk_chladni_contour.cpp
16 Approximation of E via the Monte-Carlo method exprtk_montecarlo_e.cpp
17 Approximation of Pi via the Monte-Carlo method exprtk_montecarlo_pi.cpp
18 Approximation of Pi via Wiener process exprtk_wiener_process_pi.cpp
19 Approximation of Pi via Archimedes method exprtk_archimedes_pi.cpp
20 Ten thousand digits of Pi via spigot algorithm exprtk_pi_10kdigits.cpp
21 Ten thousand digits of E via spigot algorithm exprtk_e_10kdigits.cpp
22 Maximum subarray sum (Kadane's algorithm) exprtk_max_subarray_sum.cpp
23 Nth-root via the bisection method exprtk_nthroot_bisection.cpp
24 ExprTk Read-Evaluate-Print-Loop (REPL) exprtk_repl.cpp
25 Skeleton for string APIs exprtk_str_funcs.hpp
26 Sieve of Eratosthenes exprtk_prime_sieve.cpp
27 Sieve of Eratosthenes (vectorized) exprtk_prime_sieve_vectorized.cpp
28 Primes via the naive method exprtk_naive_primes.cpp
29 Miller-Rabin probabilistic primality test exprtk_miller_rabin_primality_test.cpp
30 Sum of prime factors for first N numbers exprtk_sumofprimes.cpp
31 Test expression generator exprtk_testgen.cpp
32 Truth table generator from arbitrary expressions exprtk_truthtable_gen.cpp
33 Vector processing benchmark exprtk_vector_benchmark.cpp
34 Multi-threaded vector processing benchmark exprtk_vector_benchmark_multithreaded.cpp
35 L-Norm of vectors exprtk_vectornorm.cpp
36 Fermat's integer factorization method exprtk_factorize_fermat.cpp
37 Pollard's Rho integer factorization method exprtk_factorize_pollard.cpp
38 Logical deduction riddle exprtk_riddle.cpp
39 Pythagorean triples exprtk_pythagorean_triples.cpp
40 Pyramid Example exprtk_pyramid.cpp
41 Immutable symbol table example exprtk_immutable_symbol_table_example.cpp
42 CPU instruction primer exprtk_instruction_primer.cpp
43 Vector RTC overhead analysis exprtk_rtc_overhead.cpp
44 Loop RTC timeout exprtk_loop_timeout_rtc.cpp
45 Compilation timeout check exprtk_compilation_timeout.cpp
46 Vectorized binomial option pricing model exprtk_vectorized_binomial_model.cpp
47 Merton Jump diffusion process based option pricing model exprtk_jump_diffusion_process.cpp
48 Monte-Carlo based european option pricing model exprtk_montecarlo_option_pricing_model.cpp
49 American option binomial pricing model exprtk_american_option_binomial_model.cpp
50 Conway's game of life exprtk_game_of_life.cpp
51 Sudoku solver exprtk_sudoku_solver.cpp
52 N-Queens problem exprtk_nqueens_problem.cpp
53 Magic square example exprtk_magic_square.cpp
54 Tower of Hanoi example exprtk_tower_of_hanoi.cpp
55 Maze Generator exprtk_maze_generator.cpp
56 Recursive Fibonacci example exprtk_recursive_fibonacci.cpp
57 Ornstein-Uhlenbeck Process exprtk_ornstein_uhlenbeck_process.cpp
58 Normal random variables via the Marsaglia method exprtk_normal_random_marsaglia_method.cpp
59 Trigonometry In Degrees Example exprtk_degree_trigonometry_example.cpp
60 Import packages example exprtk_import_packages.cpp
61 Extract expression dependents exprtk_extract_dependents.cpp
62 Extract Symbol Table function names exprtk_symtab_functions.cpp
63 Group/Set operations (add, create, contains, size, get, erase) exprtk_groups_examples.cpp
64 Vector resize example exprtk_vector_resize_example.cpp
65 Vector resize inline with expression example exprtk_vector_resize_inline_example.cpp
Morty Proxy This is a proxified and sanitized view of the page, visit original site.