C++ Source Codes


  1. allocatable_array_test
  2. alpert_rule, a C++ code which sets up an Alpert quadrature rule for functions which are regular, log(x) singular, or 1/sqrt(x) singular.
  3. alpert_rule_test
  4. anagram, a C++ code which determines anagrams of a string, by James Cherry;
  5. anagram_test
  6. analemma, a C++ code which evaluates the equation of time, a formula for the difference between the uniform 24 hour day and the actual position of the sun, creating data files that can be plotted with gnuplot(), based on a C program by Brian Tung.
  7. analemma_test
  8. annulus_monte_carlo, a C++ code which uses the Monte Carlo method to estimate the integral of a function over the interior of a circular annulus in 2D.
  9. annulus_monte_carlo_test
  10. annulus_rule, a C++ code which computes a quadrature rule for estimating integrals of a function over the interior of a circular annulus in 2D.
  11. annulus_rule_test
  12. args, a C++ code which reports the command line arguments with which it was invoked;
  13. args_test
  14. asa005, a C++ code which evaluates the Cumulative Density Function (CDF) of the noncentral T Probability Density Function (PDF), by BE Cooper. This is a version of Applied Statistics Algorithm 5;
  15. asa005_test
  16. asa006, a C++ code which computes the Cholesky factorization of a symmetric positive definite (SPD) matrix, by Michael Healy. This is a version of Applied Statistics Algorithm 6;
  17. asa006_test
  18. asa007, a C++ code which computes the inverse of a symmetric positive definite (SPD) matrix, by Michael Healy. This is a version of Applied Statistics Algorithm 7.
  19. asa007_test
  20. asa032, a C++ code which evaluates the incomplete Gamma function, by G Bhattacharjee. This is a version of Applied Statistics Algorithm 32.
  21. asa032_test
  22. asa047, a C++ code which minimizes a scalar function of several variables using the Nelder-Mead algorithm, by R ONeill. This is a version of Applied Statistics Algorithm 47.
  23. asa047_test
  24. asa053, a C++ code which produces sample matrices from the Wishart distribution, by William Smith and Ronald Hocking. This is a version of Applied Statistics Algorithm 53.
  25. asa053_test
  26. asa058, a C++ code which implements the K-means data clustering algorithm, by David Sparks. This is a version of Applied Statistics Algorithm 58.
  27. asa058_test
  28. asa063, a C++ code which evaluates the incomplete Beta function, by KL Majumder and G Bhattacharjee. This is a version of Applied Statistics Algorithm 63.
  29. asa063_test
  30. asa066, a C++ code which evaluates the Cumulative Density Function (CDF) of the normal probability distribution, by David Hill. This is a version of Applied Statistics Algorithm 66.
  31. asa066_test
  32. asa076, a C++ code which evaluates the Owen T function, needed to compute the Cumulative Density Function (CDF) of the noncentral T distribution, by Young and Minder. This is a version of Applied Statistics Algorithm 76.
  33. asa076_test
  34. asa082, a C++ code which computes the determinant of an orthogonal matrix; this is a version of Applied Statistics Algorithm 82, by J C Gower.
  35. asa082_test
  36. asa091, a C++ code which evaluates the percentage points of the Chi-Squared distribution, by Best and Roberts. This is a version of Applied Statistics Algorithm 91.
  37. asa091_test
  38. asa103, a C++ code which evaluates the digamma or psi function, by Jose Bernardo. This is a version of Applied Statistics Algorithm 103.
  39. asa103_test
  40. asa109, a C++ code which inverts the incomplete Beta function, by Cran, Martin and Thomas. This is a version of Applied Statistics Algorithm 109.
  41. asa109_test
  42. asa111, a C++ code which evaluates the percentage points of the normal distribution, by Beasley and Springer. This is a version of Applied Statistics Algorithm 111.
  43. asa111_test
  44. asa113, a C++ code which implements a clustering algorithm using transfers and swaps, by Banfield and Bassill. This is a version of Applied Statistics Algorithm 113.
  45. asa113_test
  46. asa121, a C++ code which evaluates the trigamma function, by BE Schneider. This is a version of Applied Statistics Algorithm 121.
  47. asa121_test
  48. asa136, a C++ code which implements a clustering algorithm, by Hartigan and Wong. This is a version of Applied Statistics Algorithm 136.
  49. asa136_test
  50. asa144, a C++ code which randomly generates an RxC contingency table, by James Boyett. This is a version of Applied Statistics Algorithm 144.
  51. asa144_test
  52. asa147, a C++ code which evaluates the incomplete Gamma function, by Chi Leung Lau. This is a version of Applied Statistics Algorithm 147.
  53. asa147_test
  54. asa152, a C++ code which evaluates the Probability Density Function (PDF) and Cumulative Density Function (CDF) associated with the hypergeometric distribution, by Richard Lund; this is a version of Applied Statistics Algorithm 152.
  55. asa152_test
  56. asa159, a C++ code which randomly generates an RxC contingency table, by Michael Patefield; This is a version of Applied Statistics Algorithm 159.
  57. asa159_test
  58. asa172, a C++ code which generates all M-dimensional indices in a given range, simulating the behavior of an arbitrary number of nested loops, by OFlaherty and MacKenzie. This is a version of Applied Statistics Algorithm 172.
  59. asa172_test
  60. asa183, a C++ code which implements a random number generator (RNG), by Wichman and Hill. This is a version of Applied Statistics Algorithm 183.
  61. asa183_test
  62. asa226, a C++ code which evaluates the Cumulative Density Function (CDF) of the noncentral Beta distribution, by Russell Lenth. This is a version of Applied Statistics Algorithm 226.
  63. asa226_test
  64. asa239, a C++ code which evaluates the incomplete Gamma function, by Shea. This is a version of Applied Statistics Algorithm 239.
  65. asa239_test
  66. asa241, a C++ code which evaluates the percentage points of the normal distribution, by Michael Wichura. This is a version of Applied Statistics Algorithm 241.
  67. asa241_test
  68. asa243, a C++ code which evaluates the Cumulative Density Function (CDF) of the noncentral T distribution, by Russell Lenth; this is a version of Applied Statistics Algorithm 243.
  69. asa243_test
  70. asa245, a C++ code which evaluates the logarithm of the Gamma function, by Allan Mcleod; this is a version of Applied Statistics Algorithm 245.
  71. asa245_test
  72. asa266, a C++ code which evaluates various properties of the Dirichlet Probability Density Function (PDF); this is a version of Applied Statistics Algorithm 266;
  73. asa266_test
  74. asa299, a C++ code which computes the lattice points in an M-dimensional simplex, by Chasalow and Brand; this is a version of Applied Statistics Algorithm 299;
  75. asa299_test
  76. asa310, a C++ code which computes the Cumulative Density Function (CDF) of the noncentral Beta distribution, by Chattamvelli and Shanmugam; this is a version of Applied Statistics Algorithm 310.
  77. asa310_test
  78. asa314, a C++ code which computes the inverse of a matrix whose elements are subject to modulo arithmetic, by Roger Payne. This is a version of Applied Statistics Algorithm 314;
  79. asa314_test
  80. atbash, a C++ code which applies the Atbash substitution cipher to a string of text.
  81. atbash_test
  82. backtrack_binary_rc, a C++ code which carries out a backtrack search for a set of binary decisions, using reverse communication.
  83. backtrack_binary_rc_test
  84. backward_euler, a C++ code which solves one or more ordinary differential equations (ODE) using the (implicit) backward Euler method, using a version of fsolve() for the implicit equation.
  85. backward_euler_test
  86. ball_grid, a C++ code which computes grid points inside a 3D ball.
  87. ball_grid_test
  88. ball_integrals, a C++ code which returns the exact value of the integral of any monomial over the interior of the unit ball in 3D.
  89. ball_integrals_test
  90. ball_monte_carlo, a C++ code which applies a Monte Carlo method to estimate integrals of a function over the interior of the unit ball in 3D;
  91. ball_monte_carlo_test
  92. bank, a C++ code which computes the check digit associated with a US Bank Routing Number check digit, or reports whether a 9-digit code is actually valid.
  93. bank_test
  94. barycentric_interp_1d, a C++ code which defines and evaluates the barycentric Lagrange polynomial p(x) which interpolates a set of data, so that p(x(i)) = y(i). The barycentric approach means that very high degree polynomials can safely be used.
  95. barycentric_interp_1d_test
  96. bdf2, a C++ code which solves one or more ordinary differential equations (ODE) using the (implicit) backward difference formula of order 2 (BDF2), using fsolve() to solve the implicit equation.
  97. bdf2_test
  98. bellman_ford, a C++ code which implements the Bellman-Ford algorithm for finding the shortest distance from a given node to all other nodes in a directed graph whose edges have been assigned real-valued lengths.
  99. bellman_ford_test
  100. bernstein_polynomial, a C++ code which evaluates the Bernstein polynomials;
  101. bernstein_polynomial_test
  102. besselj, a C++ code which evaluates Bessel J functions of noninteger order;
  103. besselj_test
  104. beta_nc, a C++ code which evaluates the cumulative density function (CDF) of the noncentral Beta distribution;
  105. beta_nc_test
  106. bins, a C++ code which handles geometric data partially sorted into bins;
  107. bins_test
  108. bisection, a C++ code which applies the bisection method to seek a root of f(x) over a change-of-sign interval a <= x <= b.
  109. bisection_test
  110. bisection_integer, a C++ code which seeks an integer solution to the equation F(X)=0, using bisection within a user-supplied change of sign interval [A,B].
  111. bisection_integer_test
  112. bisection_rc, a C++ code which seeks a solution to the equation F(X)=0 using bisection within a user-supplied change of sign interval [A,B]. The procedure is written using reverse communication (RC).
  113. bisection_rc_test
  114. black_scholes, a C++ code which implements some simple approaches to the Black-Scholes option valuation theory, by Desmond Higham.
  115. black_scholes_test
  116. blas0, a C++ code which contains auxilliary functions for the Basic Linear Algebra Subprograms (BLAS).
  117. blas0_test
  118. blas1_d, a C++ code which constitutes the Level 1 Basic Linear Algebra Subprograms (BLAS), using double precision real arithmetic, by Charles Lawson, Richard Hanson, David Kincaid, Fred Krogh.
  119. blas1_d_test
  120. blas1_z, a C++ code which constitutes the Level 1 Basic Linear Algebra Subprograms (BLAS), using double precision complex arithmetic, by Charles Lawson, Richard Hanson, David Kincaid, Fred Krogh.
  121. blas1_z_test
  122. blas2_d, a C++ code which constitutes the Level 2 Basic Linear Algebra Subprograms (BLAS), for matrix-vector operations, using double precision real arithmetic.
  123. blas2_d_test
  124. blas3_d, a C++ code which constitutes the Level 3 Basic Linear Algebra Subprograms (BLAS) for matrix-matrix operations, using double precision arithmetic;
  125. blas3_d_test
  126. blend, a C++ code which uses transfinite interpolation to fill in data within a square or a cube based on boundary values;
  127. blend_test
  128. boost_test
  129. box_behnken, a C++ code which computes a Box-Behnken design, that is, a set of arguments to sample the behavior of a function of multiple parameters;
  130. box_behnken_test
  131. brownian_motion_simulation, a C++ code which simulates Brownian motion in an M-dimensional region, creating graphics files for processing by gnuplot().
  132. brownian_motion_simulation_test
  133. burgers_solution, a C++ code which evaluates exact solutions of the time-dependent 1D viscous Burgers equation.
  134. burgers_solution_test
  135. bvec, a C++ code which demonstrates how signed integers can be stored as binary vectors, and arithmetic can be performed on them.
  136. bvec_test
  137. c++_calls_c_test, a C++ code which which calls a C function.
  138. c++_calls_f77_test, a C++ code which calls a FORTRAN77 subroutine.
  139. c++_calls_f90_test, a C++ code which calls a FORTRAN90 subroutine.
  140. c8_complex_lib, a C++ code which implements double precision complex (C8) numbers;
  141. c8_complex_lib_test
  142. c8lib, a C++ code which implements certain elementary functions for double precision complex (C8) variables;
  143. c8lib_test
  144. c8poly, a C++ code which operates on complex polynomials.
  145. c8poly_test
  146. caesar, a C++ code which applies a Caesar Shift Cipher to a string of text.
  147. caesar_test
  148. calendar_rd, a C++ code which computes the representation of a given date in a number of calendrical systems, by Edward Reingold and Nachum Dershowitz.
  149. calendar_rd_test
  150. calpak, a C++ code which makes various calendar calculations;
  151. calpak_test
  152. catalog, a C++ code which reads a C, C++, FORTRAN77, FORTRAN90, MATLAB, Python, or R file, and prints every line that begins with a special index tag that identifies each individualfunction. If the code has been marked up expecting this convention, it is a handy way of making a table of contents of a program file.
  153. catalog_test
  154. cauchy_principal_value, a C++ code which uses Gauss-Legendre quadrature to estimate the Cauchy Principal Value (CPV) of certain singular integrals.
  155. cauchy_principal_value_test
  156. caustic_opengl, a C++ code which generates an image of a caustic curve, by drawing n equally spaced points in a circle, and then connecting specific pairs of points using a spacing parameter m, and displays it using OpenGL.
  157. caustic_opengl_test
  158. cblas_test
  159. ccn_rule, a C++ code which defines a nested Clenshaw Curtis quadrature rule.
  160. ccn_rule_test
  161. ccs_io, a C++ code which reads and writes sparse linear systems stored in the Compressed Column Storage (CCS) format.
  162. ccs_io_test
  163. ccs_to_st, a C++ code which converts a sparse matrix from Compressed Column Storage (CCS) to sparse triplet (ST) format.
  164. ccs_to_st_test
  165. cdflib, a C++ code which evaluates the cumulative density function (CDF), inverse CDF, and certain other inverse functions, for distributions including beta, binomial, chi-square, noncentral chi-square, F, noncentral F, gamma, negative binomial, normal, Poisson, and students T, by Barry Brown, James Lovato, Kathy Russell.
  166. cdflib_test
  167. cellular_automaton, a C++ code which demonstrates the 1D Cellular Automaton known as rule #30.
  168. cellular_automaton_test
  169. cg, a C++ code which implements a simple version of the conjugate gradient (CG) method for solving a system of linear equations of the form A*x=b, suitable for situations in which the matrix A is symmetric positive definite (SPD)
  170. cg_test
  171. cg_rc, a C++ code which implements the conjugate gradient (CG) method for solving a symmetric positive definite (SPD) sparse linear system A*x=b, using reverse communication (RC).
  172. cg_rc_test
  173. change_dynamic, a C++ code which uses dynamic programming to solve the change making problem, in which a given sum is to be formed using coins of various denominations.
  174. change_dynamic_test
  175. chebyshev, a C++ code which computes the Chebyshev interpolant or approximant to a given function over an interval.
  176. chebyshev_test
  177. chebyshev_interp_1d, a C++ code which determines the combination of Chebyshev polynomials which interpolates a set of data, so that p(x(i)) = y(i).
  178. chebyshev_interp_1d_test
  179. chebyshev_polynomial, a C++ code which considers the Chebyshev polynomials T(i,x), U(i,x), V(i,x) and W(i,x). Functions are provided to evaluate the polynomials, determine their zeros, produce their polynomial coefficients, produce related quadrature rules, project other functions onto these polynomial bases, and integrate double and triple products of the polynomials.
  180. chebyshev_polynomial_test
  181. chebyshev_series, a C++ code which evaluates a Chebyshev series approximating a function f(x), while efficiently computing one, two or three derivatives of the series, which approximate f'(x), f''(x), and f'''(x), by Manfred Zimmer.
  182. chebyshev_series_test
  183. chebyshev1_exactness, a C++ code which tests the polynomial exactness of Gauss-Chebyshev type 1 quadrature rules.
  184. chebyshev1_exactness_test
  185. chebyshev1_rule, a C++ code which computes and writes out a Gauss-Chebyshev type 1 quadrature rule of given order.
  186. chebyshev1_rule_test
  187. chebyshev2_exactness, a C++ code which tests the polynomial exactness of Gauss-Chebyshev type 2 quadrature rules.
  188. chebyshev2_exactness_test
  189. chebyshev2_rule, a C++ code which computes a Gauss-Chebyshev type 2 quadrature rule of given order.
  190. chebyshev2_rule_test
  191. chrpak, a C++ code which manipulates characters and strings;
  192. chrpak_test
  193. circle_arc_grid, a C++ code which computes grid points along a circular arc.
  194. circle_arc_grid_test
  195. circle_integrals, a C++ code which returns the exact value of the integral of any monomial over the circumference of the unit circle in 2D.
  196. circle_integrals_test
  197. circle_monte_carlo, a C++ code which applies a Monte Carlo method to estimate the integral of a function along the circumference of the unit circle in 2D;
  198. circle_monte_carlo_test
  199. circle_rule, a C++ code which computes quadrature rules for the unit circle in 2D, that is, the circumference of the circle of radius 1 and center (0,0).
  200. circle_rule_test
  201. circle_segment, a C++ code which carries out computations associated with a circle segment, including height, angle, area, centroid, sampling, and quadrature, creating some graphics images using gnuplot().
  202. circle_segment_test
  203. cities, a C++ code which works with city-to-city distance matrices;
  204. cities_test
  205. clapack_test
  206. clausen, a C++ code which evaluates a Chebyshev interpolant to the Clausen function Cl2(x).
  207. clausen_test
  208. clenshaw_curtis_grid, a C++ code which sets up a Clenshaw Curtis quadrature rule in multiple dimensions;
  209. clenshaw_curtis_grid_test
  210. clenshaw_curtis_rule, a C++ code which implements a Clenshaw Curtis quadrature rule;
  211. clenshaw_curtis_rule_test
  212. cnf_io, a C++ code which reads or writes DIMACS Conjunctive Normal Form (CNF) files defining satisfiability problems in terms of a boolean formula.
  213. cnf_io_test
  214. collatz_recursive, a C++ code which demonstrates recursive programming by considering the simple Collatz 3n+1 problem.
  215. collatz_recursive_test
  216. colored_noise, a C++ code which generates samples of noise obeying a 1/f^alpha power law.
  217. colored_noise_test
  218. combo, a C++ code which includes routines for ranking, unranking, enumerating and randomly selecting balanced sequences, cycles, graphs, Gray codes, subsets, partitions, permutations, restricted growth functions, Pruefer codes and trees.
  219. combo_test
  220. communicator_mpi, a C++ code which creates new communicators involving a subset of initial set of MPI processes in the default communicator MPI_COMM_WORLD.
  221. communicator_mpi_test
  222. compass_search, a C++ code which seeks the minimizer of a scalar function of several variables using compass search, a direct search algorithm that does not use derivatives.
  223. compass_search_test
  224. complex_numbers_test, a C++ code which demonstrates some simple features involved in the use of complex numbers in C programming.
  225. components, a C++ code which organizes contiguous cells into labeled clusters, for a 1D, 2D, or 3D array. This code has uses in image analysis and percolation simulation.
  226. components_test
  227. condition, a C++ code which implements several methods of computing or estimating the condition number of a matrix.
  228. condition_test
  229. continued_fraction, a C++ code which implements some simple algorithms for dealing with simple and generalized continued fractions.
  230. continued_fraction_test
  231. cordic, a C++ code which computes a few special functions using the CORDIC algorithm.
  232. cordic_test
  233. correlation, a C++ code which contains examples of statistical correlation functions.
  234. correlation_test
  235. cosine_transform, a C++ code which demonstrates some simple properties of the discrete cosine transform (DCT).
  236. cosine_transform_test
  237. cpp_arrays_test, a C++ code which uses vectors, matrices and tensors.
  238. cpp_files_test, a C++ code which uses files.
  239. cpp_intrinsics_test, a C++ code which illustrates the use of intrinsic functions supplied by C++.
  240. cpp_monte_carlo, a C++ code which uses Monte Carlo sampling to estimate areas and integrals.
  241. cpp_random_test, a C++ code which uses the C++ random number generator (RNG) functions.
  242. cpp_simulation, a C++ code which uses simulation to study card games, contests, and other processes which have a random element. Usually, the purpose is to try to predict the average behavior of the system over many trials.
  243. cpp_test, a C++ code which illustrates some features of the C++ language;
  244. crc, a C++ code which computes the cyclic redundancy checksum (CRC) as used by the PNG data format.
  245. crc_test
  246. cube_arbq_rule, a C++ code which returns quadrature rules, with exactness up to total degree 15, over the interior of the symmetric cube in 3D, by Hong Xiao and Zydrunas Gimbutas.
  247. cube_arbq_rule_test
  248. cube_exactness, a C++ code which investigates the polynomial exactness of quadrature rules over the interior of a cube in 3D.
  249. cube_exactness_test
  250. cube_felippa_rule, a C++ code which returns a Felippa quadrature rule for approximating integrals over the interior of a cube in 3D.
  251. cube_felippa_rule_test
  252. cube_grid, a C++ code which computes a grid of points over the interior of a cube in 3D.
  253. cube_grid_test
  254. cube_integrals, a C++ code which returns the exact value of the integral of any monomial over the interior of the unit cube in 3D.
  255. cube_integrals_test
  256. cube_monte_carlo, a C++ code which applies a Monte Carlo method to estimate the integral of a function over the interior of the unit cube in 3D.
  257. cube_monte_carlo_test
  258. cuda_loop, a C++ code which shows how, in a CUDA program running on a Graphics Processing Unit (GPU), the choice of block and thread factors determines the allocation of tasks to processors.
  259. cuda_loop_test
  260. cvt, a C++ code which computes an N point Centroidal Voronoi Tessellation (CVT) in M dimensions;
  261. cvt_test
  262. cvt_box, a C++ code which carries out a Centroidal Voronoi Tessellation (CVT) calculation constrained to a box region, with points projected to the boundary;
  263. cvt_box_test
  264. cycle_brent, a C++ code which carries out an iterated function evaluation to determine the nearest element of a cycle, and the cycle's length, using Brent's method.
  265. cycle_brent_test
  266. cycle_floyd, a C++ code which carries out an iterated function evaluation, and seeks to determine the nearest element of a cycle, and the cycle's length, using Floyd's method.
  267. cycle_floyd_test
  268. cyclic_reduction, a C++ code which solves a tridiagonal linear system using cyclic reduction;
  269. cyclic_reduction_test
  270. delaunay_tree_2d, a C++ code which computes the Delaunay triangulation of a 2D dataset, by Olivier Devillers.
  271. delaunay_tree_2d_test
  272. differ, a C++ code which determines the finite difference method (FDM) coefficients necessary to compute an approximation of given accuracy to a derivative of a given order.
  273. differ_test
  274. dijkstra, a C++ code which implements a simple version of Dijkstra's minimum distance algorithm for graphs.
  275. dijkstra_test
  276. dijkstra_openmp, a C++ code which uses OpenMP to parallelize a simple example of Dijkstra's minimum distance algorithm for graphs.
  277. dijkstra_openmp_test
  278. discrete_pdf_sample_2d, a C++ code which demonstrates how to construct a Probability Density Function (PDF) from a table of sample data, and then to use that PDF to create new samples.
  279. discrete_pdf_sample_2d_test
  280. disk_grid, a C++ code which computes grid points within the interior of a disk of user specified radius and center in 2D, using gnuplot() to create an image of the grid.
  281. disk_grid_test
  282. disk_monte_carlo, a C++ code which applies a Monte Carlo method to estimate integrals of a function over the interior of the general disk in 2D;
  283. disk_monte_carlo_test
  284. disk_rule, a C++ code which computes quadrature rules for the general disk in 2D.
  285. disk_rule_test
  286. disk01_integrals, a C++ code which returns the exact value of the integral of any monomial over the interior of the unit disk in 2D.
  287. disk01_integrals_test
  288. disk01_monte_carlo, a C++ code which applies a Monte Carlo method to estimate integrals of a function over the interior of the unit disk in 2D;
  289. disk01_monte_carlo_test
  290. disk01_positive_monte_carlo, a C++ code which applies a Monte Carlo method to estimate integrals of a function over the interior of the unit positive disk in 2D;
  291. disk01_positive_monte_carlo_test
  292. disk01_rule, a C++ code which computes quadrature rules for the unit disk in 2D, that is, the interior of the circle of radius 1 and center (0,0).
  293. disk01_rule_test
  294. dislin_test, a C++ code which calls dislin(), which is a package of scientific graphics software.
  295. divdif, a C++ code which uses divided differences to compute the polynomial interpolant to a given set of data.
  296. divdif_test
  297. doomsday, a C++ code which is given the year, month and day of a date, and uses John Conway's doomsday algorithm to determine the corresponding day of the week.
  298. doomsday_test
  299. dream, a C++ code which implements the DREAM algorithm for accelerating Markov Chain Monte Carlo (MCMC) convergence using differential evolution, using five user functions to define the problem, by Guannan Zhang.
  300. dream_test
  301. duel_simulation, a C++ code which simulates N repetitions of a duel between two players, each of whom has a known firing accuracy.
  302. duel_simulation_test
  303. edge, a C++ code which defines some test functions in 1D, 2D and 3D for the detection of edges or discontinuities, and using gnuplot() to display the curves or surfaces.
  304. edge_test
  305. ellipse, a C++ code which carries out geometric calculations for ellipses and ellipsoids, including area, distance to a point, eccentricity, perimeter, points along the perimeter, random sampling, conversion between standard and quadratic forms.
  306. ellipse_test
  307. ellipse_grid, a C++ code which computes grid points over the interior of an ellipse in 2D.
  308. ellipse_grid_test
  309. ellipse_monte_carlo, a C++ code which uses the Monte Carlo method to estimate the value of integrals over the interior of an ellipse in 2D.
  310. ellipse_monte_carlo_test
  311. ellipsoid, a C++ code which carries out geometric calculations for ellipsoids, including area, random sampling, conversion between standard and quadratic forms.
  312. ellipsoid_test
  313. ellipsoid_grid, a C++ code which computes a grid of points over the interior of an ellipsoid in 3D.
  314. ellipsoid_grid_test
  315. ellipsoid_monte_carlo, a C++ code which uses the Monte Carlo method to estimate the value of integrals over the interior of an ellipsoid in M dimensions.
  316. ellipsoid_monte_carlo_test
  317. elliptic_integral, a C++ code which evaluates complete elliptic integrals of first, second and third kind, using Carlson's elliptic integral functions.
  318. elliptic_integral_test
  319. euler, a C++ code which solves one or more ordinary differential equations (ODE) using the forward Euler method.
  320. euler_test
  321. exactness, a C++ code which investigates the exactness of quadrature rules that estimate the integral of a function with a density, such as 1, exp(-x) or exp(-x^2), over an interval such as [-1,+1], [0,+oo) or (-oo,+oo).
  322. exactness_test
  323. fair_dice_simulation, a C++ code which simulates N tosses of 2 dice, creating graphics files for processing by gnuplot().
  324. fair_dice_simulation_test
  325. faure, a C++ code which computes elements of the Faure M-dimensional Quasi Mont Carlo (QMC) sequence;
  326. faure_test
  327. fd_predator_prey, a C++ code which solves a pair of predator prey ordinary differential equations (ODE) using the finite difference method (FDM).
  328. fd_predator_prey_test
  329. fd1d_advection_diffusion_steady, a C++ code which applies the finite difference method (FDM) to solve the steady advection diffusion equation v*ux-k*uxx=0 in one spatial dimension, with constant velocity v and diffusivity k, writing graphics files for processing by gnuplot().
  330. fd1d_advection_diffusion_steady_test
  331. fd1d_advection_ftcs, a C++ code which applies the finite difference method (FDM) to solve the time-dependent advection equation ut = - c * ux in one spatial dimension, with a constant velocity, using the forward time centered space (FTCS) method, writing graphics files for processing by gnuplot().
  332. fd1d_advection_ftcs_test
  333. fd1d_advection_lax, a C++ code which applies the finite difference method (FDM) to solve the time-dependent advection equation ut = - c * ux in one spatial dimension, with a constant velocity, using the Lax method to approximate the time derivative, writing graphics files for processing by gnuplot().
  334. fd1d_advection_lax_test
  335. fd1d_advection_lax_wendroff, a C++ code which applies the finite difference method (FDM) to solve the time-dependent advection equation ut = - c * ux in one spatial dimension, with a constant velocity, using the Lax-Wendroff method to approximate the time derivative, writing graphics files for processing by gnuplot().
  336. fd1d_advection_lax_wendroff_test
  337. fd1d_burgers_lax, a C++ code which applies the finite difference method (FDM) and the Lax Wendroff method to solve the non-viscous time-dependent Burgers equation in one spatial dimension.
  338. fd1d_burgers_lax_test
  339. fd1d_burgers_leap, a C++ code which applies the finite difference method (FDM) and the leapfrog approach to solve the non-viscous time-dependent Burgers equation in one spatial dimension.
  340. fd1d_burgers_leap_test
  341. fd1d_bvp, a C++ code which applies the finite difference method (FDM) to a two point boundary value problem (BVP) in one spatial dimension.
  342. fd1d_bvp_test
  343. fd1d_heat_explicit, a C++ code which uses the finite difference method (FDM), with explicit time stepping, to solve the time dependent 1D heat equation;
  344. fd1d_heat_explicit_test
  345. fd1d_heat_implicit, a C++ code which implements a finite difference method (FDM), implicit in time, of the time dependent 1D heat equation;
  346. fd1d_heat_implicit_test
  347. fd1d_heat_steady, a C++ code which implements a finite difference method (FDM) for the steady (time independent) 1D heat equation;
  348. fd1d_heat_steady_test
  349. fd1d_wave, a C++ code which applies the finite difference method (FDM) to solve the time-dependent wave equation utt = c * uxx in one spatial dimension.
  350. fd1d_wave_test
  351. fd2d_heat_steady, a C++ code which implements a finite difference method (FDM) for the steady (time independent) 2D heat equation;
  352. fd2d_heat_steady_test
  353. fem_basis, a C++ code which defines and evaluates finite element method (FEM) basis functions for any degree in an M-dimensional simplex (1D interval, 2D triangle, 3D tetrahedron, and higher dimensional generalizations.)
  354. fem_basis_test
  355. fem_io, a C++ code which reads or writes FEM files, which describe the nodes, elements, and function values associated with a finite element method (FEM) model;
  356. fem_io_test
  357. fem_to_gmsh, a C++ code which reads a pair of FEM files defining node coordinates and elements, of a 1D, 2D or 3D mesh, namely a file of node coordinates and a file of elements defined by node indices, and creates a gmsh() mesh file.
  358. fem_to_gmsh_test
  359. fem_to_triangle, a C++ code which reads FEM files defining a 2D mesh of triangles, namely a file of node coordinates and a file of elements defined by node indices, and creates a corresponding pair of node and element files for use by Jonathan Shewchuk's triangle() program.
  360. fem_to_triangle_test
  361. fem_to_xml, a C++ code which reads a pair of FEM files defining node coordinates and elements, of a 1D, 2D or 3D mesh, namely a file of node coordinates and a file of elements defined by node indices, and creates a corresponding XML file for input to DOLFIN or FENICS.
  362. fem_to_xml_test
  363. fem1d, a C++ code which applies the finite element method (FEM), using piecewise linear basis functions, to a linear two point boundary value problem (BVP) in 1D;
  364. fem1d_test
  365. fem1d_adaptive, a C++ code which uses an adaptive mesh when applying the finite element method (FEM), with piecewise linear basis functions, to a linear two point boundary value problem (BVP) in 1D;
  366. fem1d_adaptive_test
  367. fem1d_bvp_linear, a C++ code which applies the finite element method (FEM), with piecewise linear elements, to a two point boundary value problem (BVP) in one spatial dimension, and compares the computed and exact solutions with the L2 and seminorm errors.
  368. fem1d_bvp_linear_test
  369. fem1d_bvp_quadratic, a C++ code which applies the finite element method (FEM), with piecewise quadratic elements, to a two point boundary value problem (BVP) in one spatial dimension, and compares the computed and exact solutions with the L2 and seminorm errors.
  370. fem1d_bvp_quadratic_test
  371. fem1d_heat_steady, a C++ code which implements the finite element method (FEM) for the steady (time independent) 1D heat equation;
  372. fem1d_heat_steady_test
  373. fem1d_lagrange, a C++ code which sets up the matrices and vectors associated with the finite element method (FEM) solution of a boundary value problem (BVP) -u''+u=f(x), using Lagrange basis polynomials.
  374. fem1d_lagrange_test
  375. fem1d_nonlinear, a C++ code which applies the finite element method (FEM), with piecewise linear basis functions, to a nonlinear two point boundary value problem (BVP) in 1D;
  376. fem1d_nonlinear_test
  377. fem1d_pack, a C++ code which contains utilities for 1D finite element method (FEM) calculations.
  378. fem1d_pack_test
  379. fem1d_pmethod, a C++ code which applies the p-method version of the finite element method (FEM) to a linear two point boundary value problem (BVP) in 1D;
  380. fem1d_pmethod_test
  381. fem1d_project, a C++ code which projects data into a finite element space, including the least squares approximation of data, or the projection of a finite element solution from one mesh to another.
  382. fem1d_project_test
  383. fem1d_sample, a C++ code which samples a scalar or vector finite element function of one variable, defined by FEM files, returning interpolated values at the sample points.
  384. fem1d_sample_test
  385. fem2d_bvp_linear, a C++ code which applies the finite element method (FEM), with piecewise linear elements, to a 2D boundary value problem (BVP) in a rectangle, and compares the computed and exact solutions with the L2 and seminorm errors.
  386. fem2d_bvp_linear_test
  387. fem2d_bvp_quadratic, a C++ code which applies the finite element method (FEM), with piecewise quadratic elements, to a 2D boundary value problem (BVP) in a rectangle, and compares the computed and exact solutions with the L2 and seminorm errors.
  388. fem2d_bvp_quadratic_test
  389. fem2d_bvp_serene, a C++ code which applies the finite element method (FEM), with serendipity elements, to a 2D boundary value problem (BVP) in a rectangle, and compares the computed and exact solutions with the L2 and seminorm errors.
  390. fem2d_bvp_serene_test
  391. fem2d_heat, a C++ code which applies the finite element method (FEM) to solve the time-dependent heat equation in an arbitrary triangulated region in 2D;
  392. fem2d_heat_test
  393. fem2d_heat_rectangle, a C++ code which applies the finite element method (FEM) to solve the time dependent heat equation on a square in 2D;
  394. fem2d_heat_rectangle_test
  395. fem2d_mesh_display_opengl, a C++ code which reads the finite element method (FEM) model of a 2D mesh, consisting of polygonal elements of any uniform order, and displays an image of the elements and nodes using OpenGL.
  396. fem2d_mesh_display_opengl_test
  397. fem2d_pack, a C++ code which implements various 2D finite element method (FEM) calculations;
  398. fem2d_pack_test
  399. fem2d_poisson_rectangle, a C++ code which solves the 2D Poisson equation on a rectangle, using the finite element method (FEM), and piecewise quadratic triangular elements.
  400. fem2d_poisson_rectangle_test
  401. fem2d_poisson_rectangle_linear, a C++ code which solves the 2D Poisson equation on a rectangle, using the finite element method (FEM), and piecewise linear triangular elements.
  402. fem2d_poisson_rectangle_linear_test
  403. fem2d_project, a C++ code which projects a function f(x,y), given as data, into a given finite element space of piecewise linear triangular elements.
  404. fem2d_project_test
  405. fem2d_project_function, a C++ code which projects a function f(x,y), given as a formula, into a given finite element space of piecewise linear triangular elements.
  406. fem2d_project_function_test
  407. fem2d_sample, a C++ code which samples a finite element method (FEM) function, defined by FEM files, (three text files describing the nodes, triangles, and coefficients); at arbitrary points.
  408. fem2d_sample_test
  409. fem3d_pack, a C++ code which contains utilities for 3D finite element method (FEM) calculations.
  410. fem3d_pack_test
  411. fem3d_project, a C++ code which projects a function f(x,y,z), given as a data, into a given space of piecewise linear tetrahedrons associated with the finite element method (FEM).
  412. fem3d_project_test
  413. fem3d_sample, a C++ code which evaluates a finite element function defined on a 3D tetrahedral mesh.
  414. fem3d_sample_test
  415. fern_opengl, a C++ code which uses OpenGL to display the Barnsley fractal fern.
  416. fern_opengl_test
  417. feynman_kac_1d, a C++ code which demonstrates the use of the Feynman-Kac algorithm to solve Poisson's equation in a 1D interval by averaging stochastic paths to the boundary.
  418. feynman_kac_1d_test
  419. feynman_kac_2d, a C++ code which demonstrates the use of the Feynman-Kac algorithm to solve Poisson's equation in a 2D ellipse by averaging stochastic paths to the boundary.
  420. feynman_kac_2d_test
  421. feynman_kac_3d, a C++ code which demonstrates the use of the Feynman-Kac algorithm to solve Poisson's equation in a 3D ellipsoid by averaging stochastic paths to the boundary.
  422. feynman_kac_3d_test
  423. fft_openmp, a C++ code which demonstrates the computation of a Fast Fourier Transform (FFT) in parallel, using OpenMP.
  424. fft_openmp_test
  425. fft_serial, a C++ code which computes a Fast Fourier Transform (FFT), and is intended as a starting point for implementing an OpenMP parallel version.
  426. fft_serial_test
  427. file_name_sequence, a C++ code which demonstrates ways to generate a sequence of filenames, which can be useful when generating a sequence of still snapshots to be animated later.
  428. file_name_sequence_test
  429. files_multiple, a C++ code which demonstrates how a program can open multiple output files at one time, and write data to any one specific file it chooses.
  430. files_multiple_test
  431. filon_rule, a C++ code which uses Filon's method to approximates integrals with an oscillatory factor of sin(k*x) or cos(k*x).
  432. filon_rule_test
  433. filum, a C++ code which performs various operations with files;
  434. filum_test
  435. fire_simulation, a C++ code which simulates a forest fire over a rectangular array of trees, starting at a single random location. It is intended as a starting point for the development of a parallel version.
  436. fire_simulation_test
  437. floyd, a C++ code which implements Floyd's algorithm for finding the shortest distance between pairs of nodes on a directed graph.
  438. floyd_test
  439. fn, a C++ code which evaluates elementary and special functions using Chebyshev polynomials; functions include Airy, Bessel I, J, K and Y, beta, confluent hypergeometric, error, gamma, log gamma, Pochhammer, Spence; integrals include hyperbolic cosine, cosine, Dawson, exponential, logarithmic, hyperbolic sine, sine; by Wayne Fullerton.
  440. fn_test
  441. football_dynamic, a C++ code which uses dynamic programming to count the ways of achieving a given score in football.
  442. football_dynamic_test
  443. freefem_msh_io, a C++ code which reads and writes files used by the FreeFem++ finite element program to store mesh information.
  444. freefem_msh_io_test
  445. fsolve, a C++ code which solves systems of nonlinear equations, inspired by the fsolve() function in minpack(), with special interfaces fsolve_bdf2(), fsolve_be() and fsolve_tr() for handling systems associated with implicit ODE solvers of type bdf2, backward Euler, midpoint, or trapezoidal.
  446. fsolve_test
  447. fsu_dakota, a C++ code which implements a variety of methods for the generation of Quasi Monte Carlo (QMC) numbers, submitted for inclusion in the Sandia Labs DAKOTA package;
  448. fsu_dakota_test
  449. g++_intrinsics_test, a C++ code which tests or demonstrates some of the intrinsic functions provided by the Gnu G++ compiler for C++.
  450. g++_quadmath_test, a C++ code which illustrates the use of quadruple precision real arithmetic, as provided on some systems by the Gnu g++ compiler for C++.
  451. gauss_seidel, a C++ code which implements the Gauss-Seidel iteration for linear systems.
  452. gauss_seidel_test
  453. gegenbauer_cc, a C++ code which computes the Gegenbauer weighted integral of a function f(x) using a Clenshaw-Curtis approach.
  454. gegenbauer_cc_test
  455. gegenbauer_exactness, a C++ code which tests the polynomial exactness of Gauss-Gegenbauer quadrature rules.
  456. gegenbauer_exactness_test
  457. gegenbauer_polynomial, a C++ code which evaluates the Gegenbauer polynomial and associated functions.
  458. gegenbauer_polynomial_test
  459. gegenbauer_rule, a C++ code which computes and writes out a Gauss-Gegenbauer quadrature rule of given order.
  460. gegenbauer_rule_test
  461. gen_hermite_exactness, a C++ code which tests the polynomial exactness of generalized Gauss-Hermite quadrature rules.
  462. gen_hermite_exactness_test
  463. gen_hermite_rule, a C++ code which computes and writes out a generalized Gauss-Hermite quadrature rule of given order and parameter value.
  464. gen_hermite_rule_test
  465. gen_laguerre_exactness, a C++ code which tests the polynomial exactness of generalized Gauss-Laguerre quadrature rules.
  466. gen_laguerre_exactness_test
  467. gen_laguerre_rule, a C++ code which computes and writes out a generalized Gauss-Laguerre quadrature rule of given order and parameter value.
  468. gen_laguerre_rule_test
  469. geometry, a C++ code which performs geometric calculations in 2, 3 and M dimensional space, including the computation of angles, areas, containment, distances, intersections, lengths, and volumes.
  470. geometry_test
  471. geompack, a C++ code which computes Delaunay triangulations, Voronoi diagrams, and other information, by Barry Joe.
  472. geompack_test
  473. gl_fast_rule, a C++ code which carries out the rapid computation of the Kth value and weight of an N point Gauss-Legendre quadrature rule, by Ignace Bogaert.
  474. gl_fast_rule_test
  475. glomin, a C++ code which finds a global minimum of a scalar function of a scalar variable, without the use of derivative information, by Richard Brent.
  476. glomin_test
  477. gmsh_io, a C++ code which reads or writes some of the files created by gmsh() for 1D, 2D or 3D meshes used by the finite element method (FEM).
  478. gmsh_io_test
  479. gmsh_to_fem, a C++ code which reads a mesh data file created by gmsh() and writes a pair of node and element files that correspond to the FEM format.
  480. gmsh_to_fem_test
  481. gnuplot_test, a C++ code which uses gnuplot() to create various kinds of plots.
  482. gprof_test
  483. graphics_dislin_test, a C++ code which creates various kinds of plots using the dislin() library.
  484. graphics_gnuplot_test, a C++ code which creates various kinds of plots using gnuplot().
  485. grf_display_opengl, a C++ code which reads a GRF file containing information about an abstract graph and displays a plot using OpenGL.
  486. grf_display_opengl_test
  487. grf_io, a C++ code which reads or writes a GRF file;
  488. grf_io_test
  489. gsl_test, a C++ code which tests the GSL library.
  490. haar_transform, a C++ code which computes the Haar transform of 1d or 2d data.
  491. haar_transform_test
  492. halton, a C++ code which computes elements of a Halton Quasi Monte Carlo (QMC) sequence, using a simple interface.
  493. halton_test
  494. hammersley, a C++ code which computes elements of a Hammersley Quasi Monte Carlo (QMC) sequence, using a simple interface.
  495. hammersley_test
  496. hankel_cholesky, a C++ code which computes the upper Cholesky factor R of a symmetric positive definite (SPD) matrix so that H = R' * R.
  497. hankel_cholesky_test
  498. hankel_spd, a C++ code which computes a lower triangular matrix L which is the Cholesky factor of a symmetric positive definite (SPD) Hankel matrix H, that is, H = L * L'.
  499. hankel_spd_test
  500. hdf5_test
  501. heat_mpi, a C++ code which uses the Message Passing Interface (MPI) to solve the 1D time dependent heat equation.
  502. heat_mpi_test
  503. heated_plate, a C++ code which solves the steady state heat equation in a 2D rectangular region, and is intended as a starting point for implementing an OpenMP parallel version.
  504. heated_plate_test
  505. heated_plate_openmp, a C++ code which solves the steady (time independent) heat equation in a 2D rectangular region, using OpenMP to run in parallel.
  506. heated_plate_openmp_test
  507. hello, a C++ code which prints out "Hello, world!".
  508. hello_test
  509. hello_mpi, a C++ code which prints out "Hello, world!" using the Message Passing Interface (MPI) for parallel programming.
  510. hello_mpi_test
  511. hello_openmp, a C++ code which prints out "Hello, world!" within the OpenMP parallel programming environment.
  512. hello_openmp_test
  513. hermite_cubic, a C++ code which computes the value, derivatives or integral of a Hermite cubic polynomial, or manipulates an interpolating function made up of piecewise Hermite cubic polynomials.
  514. hermite_cubic_test
  515. hermite_exactness, a C++ code which tests the polynomial exactness of Gauss-Hermite quadrature rules for approximating the integral of a function with density exp(-x^2) over the interval (-oo,+oo).
  516. hermite_exactness_test
  517. hermite_integrands, a C++ code which defines test integrands for Hermite integrals with density exp(-x^2) over the interval (-oo,+oo).
  518. hermite_integrands_test
  519. hermite_interpolant, a C++ code which computes the Hermite interpolant, a polynomial that matches function values and derivatives.
  520. hermite_interpolant_test
  521. hermite_polynomial, a C++ code which evaluates the physicist's Hermite polynomial, the probabilist's Hermite polynomial, the Hermite function, and related functions.
  522. hermite_polynomial_test
  523. hermite_product_polynomial, a C++ code which defines Hermite product polynomials, creating a multivariate polynomial as the product of univariate Hermite polynomials.
  524. hermite_product_polynomial_test
  525. hermite_rule, a C++ code which computes and writes out a Gauss-Hermite quadrature rule for approximating the integral of a function with density exp(-x^2) over the interval (-oo,+oo).
  526. hermite_rule_test
  527. hexahedron_jaskowiec_rule, a C++ code which returns a symmetric Jaskowiec quadrature rule for the hexahedron, with exactness up to total degree 21.
  528. hexahedron_jaskowiec_rule_test
  529. hexahedron_witherden_rule, a C++ code which returns a symmetric Witherden quadrature rule for the hexahedron, with exactness up to total degree 11.
  530. hexahedron_witherden_rule_test
  531. hexdump, a C++ code which produces a hexadecimal dump of a file;
  532. hexdump_test
  533. high_card_simulation, a C++ code which simulates a situation in which you see the cards in a deck one by one, and must select the one you think is the highest and stop; the program uses gnuplot() to create a graph of the results.
  534. high_card_simulation_test
  535. hilbert_curve, a C++ code which computes the sequence of discrete Hilbert curves whose limit is a space-filling curve.
  536. hilbert_curve_test
  537. histogram_data_2d_sample, a C++ code which demonstrates how to construct a Probability Density Function (PDF) from sample data over a 2D domain, and then to use that PDF to create new samples.
  538. histogram_data_2d_sample_test
  539. htmlindex, a C++ code which creates a skeleton HTML page for a marked-up C, C++ or FORTRAN file;
  540. htmlindex_test
  541. humps, a C++ code which evaluates the humps() function, its first and second derivatives and its antiderivative.
  542. humps_test
  543. hyper_2f1, a C++ code which evaluates the hypergeometric functions 2F1(a,b,c;x) for real or complex parameters a, b, c, and argument x, by N. Michel and M. Stoitsov.
  544. hyper_2f1_test
  545. hyperball_integrals, a C++ code which returns the exact value of the integral of any monomial over the interior of the unit hyperball in M dimensions.
  546. hyperball_integrals_test
  547. hyperball_monte_carlo, a C++ code which applies a Monte Carlo method to estimate the integral of a function over the interior of the unit ball in M dimensions;
  548. hyperball_monte_carlo_test
  549. hyperball_volume_monte_carlo, a C++ code which applies a Monte Carlo procedure to estimate the volume of the unit ball in M dimensions;
  550. hyperball_volume_monte_carlo_test
  551. hypercube_exactness, a C++ code which tests the polynomial exactness of a quadrature rule over the interior of the unit hypercube in M dimensions.
  552. hypercube_exactness_test
  553. hypercube_grid, a C++ code which computes a grid of points over the interior of a hypercube in M dimensions.
  554. hypercube_grid_test
  555. hypercube_integrals, a C++ code which returns the exact value of the integral of any monomial over the interior of the unit hypercube in M dimensions.
  556. hypercube_integrals_test
  557. hypercube_monte_carlo, a C++ code which applies a Monte Carlo method to estimate the integral of a function over the interior of the unit hypercube in M dimensions.
  558. hypercube_monte_carlo_test
  559. hypersphere, a C++ code which carries out various operations for an M dimensional hypersphere, including converting between Cartesian and spherical coordinates, stereographic projection, sampling the surface of the sphere, and computing the surface area and volume.
  560. hypersphere_test
  561. hypersphere_integrals, a C++ code which returns the exact value of the integral of any monomial over the surface of the unit hypersphere in M dimensions.
  562. hypersphere_integrals_test
  563. hypersphere_monte_carlo, a C++ code which applies a Monte Carlo method to estimate the integral of a function on the surface of the unit sphere in M dimensions;
  564. hypersphere_monte_carlo_test
  565. i2_binary_to_ascii, a C++ code which converts a file of short int (I2) data from binary to ASCII format.
  566. i2_binary_to_ascii_test
  567. i4lib, a C++ code which contains many utility routines, using single precision integer (I4) arithmetic.
  568. i4lib_test
  569. i8lib, a C++ code which contains many utility routines, using double precision integer (I8) arithmetic.
  570. i8lib_test
  571. image_denoise, a C++ code which applies simple filtering operations to a noisy image.
  572. image_denoise_test
  573. image_edge, a C++ code which demonstrates a simple procedure for edge detection in images.
  574. image_edge_test
  575. index, a C++ code which converts a M-dimensional vector index to a one-dimensional vector index; it can handle zero and one based indexing schemes, as well as column major and row major conventions.
  576. index_test
  577. interp, a C++ code which parameterizes and interpolates data;
  578. interp_test
  579. is_prime, a C++ code which implements various versions of the sieve of Eratosthenes to determine whether a given integer is prime.
  580. is_prime_test
  581. isbn, a C++ code which determines the check digit for an International Standard Book Number (ISBN) or report whether a given ISBN is valid.
  582. isbn_test
  583. ising_2d_simulation, a C++ code which simulates the evolution of a 2D array of positive and negative charges, each of which is likely to flip to be in agreement with neighbors, using gnuplot() to display the initial and final configurations.
  584. ising_2d_simulation_test
  585. jacobi, a C++ code which implements the Jacobi iteration for linear systems.
  586. jacobi_test
  587. jacobi_eigenvalue, a C++ code which implements the Jacobi iteration for the iterative determination of the eigenvalues and eigenvectors of a real symmetric matrix.
  588. jacobi_eigenvalue_test
  589. jacobi_exactness, a C++ code which tests the polynomial exactness of rules for integrals with a Jacobi weight function.
  590. jacobi_exactness_test
  591. jacobi_openmp, a C++ code which illustrates the use of the OpenMP application program interface to parallelize a Jacobi iteration solving A*x=b.
  592. jacobi_openmp_test
  593. jacobi_polynomial, a C++ code which evaluates the Jacobi polynomial and associated functions.
  594. jacobi_polynomial_test
  595. jacobi_rule, a C++ code which computes and writes out a Gauss-Jacobi quadrature rule of given order.
  596. jacobi_rule_test
  597. kmeans, a C++ code which handles the K-Means problem, which organizes a set of N points in M dimensions into K clusters;
  598. kmeans_test
  599. knapsack_01_brute, a C++ code which uses brute force to solve small versions of the 0/1 knapsack problem;
  600. knapsack_01_brute_test
  601. kronrod_rule, a C++ code which computes a Gauss and Gauss-Kronrod pair of quadrature rules of arbitrary order, by Robert Piessens, Maria Branders.
  602. kronrod_rule_test
  603. lagrange_approx_1d, a C++ code which defines and evaluates the Lagrange polynomial p(x) of degree m which approximates a set of nd data points (x(i),y(i)).
  604. lagrange_approx_1d_test
  605. lagrange_interp_1d, a C++ code which defines and evaluates the Lagrange polynomial p(x) which interpolates a set of data depending on a 1D argument, so that p(x(i)) = y(i).
  606. lagrange_interp_1d_test
  607. lagrange_interp_2d, a C++ code which defines and evaluates the Lagrange polynomial p(x,y) which interpolates a set of data depending on a 2D argument that was evaluated on a product grid, so that p(x(i),y(j)) = z(i,j).
  608. lagrange_interp_2d_test
  609. lagrange_interp_nd, a C++ code which defines and evaluates the Lagrange polynomial p(x) which interpolates a set of data depending on a M-dimensional argument that was evaluated on a product grid, so that p(x(i)) = z(i).
  610. lagrange_interp_nd_test
  611. lagrange_nd, a C++ code which implements several multivariate Lagrange interpolation schemes developed by Tomas Sauer.
  612. lagrange_nd_test
  613. laguerre_exactness, a C++ code which tests the polynomial exactness of Gauss-Laguerre quadrature rules for integrating functions with density exp(-x) over [0,+oo).
  614. laguerre_exactness_test
  615. laguerre_integrands, a C++ code which implements test problems for for Gauss-Laguerre type quadrature rules for approximating the integral of a function with density exp(-x) over the interval [0,+oo).
  616. laguerre_integrands_test
  617. laguerre_polynomial, a C++ code which evaluates the Laguerre polynomial, the generalized Laguerre polynomials, and the Laguerre function.
  618. laguerre_polynomial_test
  619. laguerre_rule, a C++ code which computes and writes out a Gauss-Laguerre quadrature rule for approximating the integral of a function with density exp(-x) over the interval [0,+oo).
  620. laguerre_rule_test
  621. lambert_w, a C++ code which evaluates Lambert's W function.
  622. lambert_w_test
  623. laplacian, a C++ code which carries out computations related to the discrete Laplacian operator, including full or sparse evaluation, evaluation for unequally spaced data sampling points, application to a set of data samples, solution of associated linear systems, eigenvalues and eigenvectors, and extension to 2D and 3D geometry.
  624. laplacian_test
  625. latin_center, a C++ code which computes Latin Center Squares of N points in M dimensions;
  626. latin_center_test
  627. latin_cover, a C++ code which produces N Latin squares which cover an NxN square, or NxN Latin cubes which cover an NxNxN cube.
  628. latin_cover_test
  629. latin_edge, a C++ code which computes Latin Edge Squares of N points in M dimensions;
  630. latin_edge_test
  631. latin_random, a C++ code which computes Latin Random Squares of N points in M dimensions;
  632. latin_random_test
  633. latinize, a C++ code which adjusts N points in M dimensions to form a Latin Hypercube;
  634. latinize_test
  635. lattice_rule, a C++ code which returns lattice rules for M-dimensional integration;
  636. lattice_rule_test
  637. lcvt, a C++ code which creates a Latinized Centroidal Voronoi Tessellation (CVT);
  638. lcvt_test
  639. lebesgue, a C++ code which is given a set of nodes in 1D, and plots the Lebesgue function, and estimates the Lebesgue constant, which measures the maximum magnitude of the potential error of Lagrange polynomial interpolation.
  640. lebesgue_test
  641. legendre_exactness, a C++ code which tests the monomial exactness of quadrature rules for the Legendre problem of integrating a function with density 1 over the interval [-1,+1].
  642. legendre_exactness_test
  643. legendre_fast_rule, a C++ code which uses a fast (order N) algorithm to compute a Gauss-Legendre quadrature rule of given order.
  644. legendre_fast_rule_test
  645. legendre_polynomial, a C++ code which evaluates the Legendre polynomial and associated functions.
  646. legendre_polynomial_test
  647. legendre_product_polynomial, a C++ code which defines Legendre product polynomials, creating a multivariate polynomial as the product of univariate Legendre polynomials.
  648. legendre_product_polynomial_test
  649. legendre_rule, a C++ code which writes out a Gauss-Legendre quadrature rule of given order.
  650. legendre_rule_test
  651. legendre_shifted_polynomial, a C++ code which evaluates the shifted Legendre polynomial, with the domain [0,1].
  652. legendre_shifted_polynomial_test
  653. levenshtein_distance, a C++ code which returns the Levenshtein distance between two strings.
  654. levenshtein_distance_test
  655. levenshtein_matrix, a C++ code which returns the Levenshtein distance matrix defined by two strings.
  656. levenshtein_matrix_test
  657. life_opengl, a C++ code which uses OpenGL to display the evolution of John Conway's Game of life.
  658. life_serial, a C++ code which computes a few steps of the evolution of John Conway's Game of Life, intended as a starting point for implementing a parallel version.
  659. life_serial_test
  660. lights_out_opengl, a C++ code which sets up the "Lights Out" puzzle, lighting up a few squares on a grid. An interactive user must then try to press squares in such a way that all the lights are turned off. The OpenGL graphics system is used.
  661. line_cvt_lloyd, a C++ code which applies Lloyd's iteration repeatedly to a set of N points, to compute a Centroidal Voronoi Tessellation (CVT) over the interior of a line segment in 1D.
  662. line_cvt_lloyd_test
  663. line_fekete_rule, a C++ code which estimates the location of N Fekete points, for polynomial interpolation or quadrature, over the interior of a line segment in 1D.
  664. line_fekete_rule_test
  665. line_felippa_rule, a C++ code which returns a Felippa quadrature rule for approximating integrals over the interior of a line segment in 1D.
  666. line_felippa_rule_test
  667. line_grid, a C++ code which computes a grid of points over the interior of a line segment in 1D.
  668. line_grid_test
  669. line_integrals, a C++ code which returns the exact value of the integral of any monomial over the length of the unit line in 1D.
  670. line_integrals_test
  671. line_monte_carlo, a C++ code which applies a Monte Carlo method to estimate the integral of a function over the length of the unit line in 1D.
  672. line_monte_carlo_test
  673. line_ncc_rule, a C++ code which computes a Newton Cotes (Closed) quadrature rule, using equally spaced points, over the interior of a line segment in 1D.
  674. line_ncc_rule_test
  675. line_nco_rule, a C++ code which computes a Newton Cotes Open (NCO) quadrature rule, using equally spaced points, over the interior of a line segment in 1D.
  676. line_nco_rule_test
  677. linear_algebra, C++ codes which carry out various linear algebra operations for matrices stored in a variety of formats.
  678. linpack_bench, a C++ code which is the LINPACK benchmark program;
  679. linpack_bench_test
  680. linpack_d, a C++ code which factors matrices in a variety of formats, and solving the associated linear systems, using double precision real arithmetic; it includes a function for the singular value decomposition (SVD) of a rectangular matrix, by Jack Dongarra, Cleve Moler, Jim Bunch, Pete Stewart.
  681. linpack_d_test
  682. linpack_z, a C++ code which factors matrices in a variety of formats, and solving the associated linear systems, using double precision complex arithmetic; it includes a function for the singular value decomposition (SVD) of a rectangular matrix, by Jack Dongarra, Cleve Moler, Jim Bunch, Pete Stewart.
  683. linpack_z_test
  684. lissajous, a C++ code which plots a Lissajous figure, of the form x = sin ( a1 t + b1 ), y = sin ( a2 t + b2 ), using OpenGL.
  685. lissajous_test
  686. llsq, a C++ code which solves the simple linear least squares (LLS) problem of finding the formula of a straight line y=a*x+b which minimizes the root-mean-square (RMS) error to a set of N data points.
  687. llsq_test
  688. lobatto_polynomial, a C++ code which evaluates Lobatto polynomials similar to Legendre polynomials except that they are 0 at both endpoints.
  689. lobatto_polynomial_test
  690. local_min, a C++ code which finds a local minimum of a scalar function of a scalar variable, without the use of derivative information, by Richard Brent.
  691. local_min_test
  692. local_min_rc, a C++ code which finds a local minimum of a scalar function of a scalar variable, without the use of derivative information, using reverse communication (RC), by Richard Brent.
  693. local_min_rc_test
  694. log_normal, a C++ code which returns quantities related to the log normal Probability Distribution Function (PDF).
  695. log_normal_test
  696. log_normal_truncated_ab, a C++ code which returns quantities related to the log normal Probability Distribution Function (PDF) truncated to the interval [A,B].
  697. log_normal_truncated_ab_test
  698. lorenz_ode, a C++ code which solves the Lorenz system of ordinary differential equations (ODE), creating output files that can be displayed by gnuplot().
  699. lorenz_ode_test
  700. luhn, a C++ code which computes the Luhn check digit for a string, or verify a string, as used for error detection in credit card numbers.
  701. luhn_test
  702. machar, a C++ code which dynamically computes the values of various machine constants, by William Cody;
  703. machar_test
  704. machine, a C++ code which returns tabulated values of the constants associated with computer arithmetic.
  705. machine_test
  706. makefiles_test, a C++ code which illustrates the use of makefiles for maintaining a software project;
  707. mandelbrot, a C++ code which generates an ASCII Portable Pixel Map (PPM) image of the Mandelbrot set;
  708. mandelbrot_test
  709. mandelbrot_openmp, a C++ code which generates an ASCII Portable Pixel Map (PPM) image of the Mandelbrot fractal set, using OpenMP for parallel execution;
  710. mandelbrot_openmp_test
  711. mandelbrot_ppm, a C++ code which generates a binary Portable Pixel Map (PPM) image of the Mandelbrot set, by Eric Weeks.
  712. mandelbrot_ppm_test
  713. mario, a C++ code which creates a sort of "needlepoint" image of Mario, as an array of colored squares.
  714. mario_test
  715. matrix_chain, a C++ code which finds the cost of the most efficient ordering to use when multiplying a sequence of matrices, using dynamic programming..
  716. matrix_chain_test
  717. matrix_exponential, a C++ code which demonstrates some simple approaches to the problem of computing the exponential of a matrix.
  718. matrix_exponential_test
  719. md, a C++ code which carries out a molecular dynamics simulation, and is intended as a starting point for implementing an OpenMP parallel version.
  720. md_test
  721. md_openmp, a C++ code which carries out a molecular dynamics simulation in parallel using OpenMP.
  722. md_openmp_test
  723. medit_mesh_io, a C++ code which reads or writes medit() MESH files defining a finite element mesh.
  724. medit_mesh_io_test
  725. medit_to_fem, a C++ code which reads a medit() MESH file and writes a corresponding pair of node and element files that correspond to the FEM format.
  726. medit_to_fem_test
  727. medit_to_ice, a C++ code which reads a medit() MESH file containing an ICE dataset and rewrites the information as a netcdf() file.
  728. medit_to_ice_test
  729. memory, a C++ code which declares and uses a sequence of larger and larger arrays, to see what the memory limits are on a given computer.
  730. memory_test
  731. mesh_bandwidth, a C++ code which returns the geometric bandwidth associated with a mesh of elements of any order and in a space of M dimensions.
  732. mesh_bandwidth_test
  733. mesh_display_opengl, a C++ code which reads the name of two data files defining a polygonal mesh, reads the data, and displays the mesh using opengl().
  734. mesh_display_opengl_test
  735. metis_test
  736. mgmres, a C++ code which applies the restarted Generalized Minimum Residual (GMRES) algorithm to solve a sparse linear system, using Compressed Row Storage (CRS) or sparse triplet (ST) format, by Lili Ju.
  737. mgmres_test
  738. mgs, a C++ code which is an example of legacy code, which the student is encouraged to study, understand, and document. This example is due to Diane O'Leary.
  739. mgs_test
  740. middle_square, a C++ code which implements the middle square algorithm for generating random integers. This is a very early method, attributed to von Neumann, which actually is deeply flawed, with short cycles.
  741. middle_square_test
  742. midpoint, a C++ code which solves one or more ordinary differential equations (ODE) using the (implicit) midpoint method, with a version of fsolve() handling the associated nonlinear equation, and using a fixed time step.
  743. midpoint_test
  744. midpoint_explicit, a C++ code which solves one or more ordinary differential equations (ODE) using the (explicit) midpoint method, also called the modified Euler method.
  745. midpoint_explicit_test
  746. midpoint_fixed, a C++ code which solves one or more ordinary differential equations (ODE) using the (implicit) midpoint method, using a fixed point iteration to solve the associated nonlinear equation.
  747. midpoint_fixed_test
  748. midpoint_gsl_test, a C++ code which calls the Gnu Scientific Library (GSL) implicit midpoint method solver for ordinary differential equation (ODE), and uses gnuplot() to plot the resulting solution.
  749. minesweeper_game, a C++ code which is a text-based implementation of the Minesweeper game, by Detelina Stoyanova.
  750. minpack, a C++ code which solves a system of nonlinear equations, by Jorge More, Danny Sorenson, Burton Garbow, Kenneth Hillstrom.
  751. minpack_test
  752. mixed_test, a C++ code which illustrates mixed language programming in which the main program is written in C++;
  753. monomial, a C++ code which enumerates, lists, ranks, unranks and randomizes multivariate monomials in a space of M dimensions, with total degree less than N, equal to N, or lying within a given range.
  754. monomial_test
  755. monomial_value, a C++ code which evaluates a monomial in M dimensions.
  756. monomial_value_test
  757. mpas_grid_display_opengl, a C++ code which reads information from an MPAS grid file, stored in netcdf() format, and displays the main (mainly hexagonal) mesh or the dual triangulation, using OpenGL.
  758. mpas_grid_display_opengl_test
  759. mpi_test, a C++ code which illustrates the use of the Message Passing Interface (MPI) for parallel programming;
  760. multitask_mpi, a C++ code which demonstrates how to multitask, that is, to execute several unrelated and distinct tasks simultaneously, using MPI for parallel execution.
  761. multitask_mpi_test
  762. multitask_openmp, a C++ code which demonstrates how to multitask, that is, to execute several unrelated and distinct tasks simultaneously, using OpenMP for parallel execution.
  763. multitask_openmp_test
  764. mxm_openmp, a C++ code which computes a dense matrix product C=A*B, using OpenMP for parallel execution.
  765. mxm_openmp_test
  766. mxm_serial, a C++ code which sets up a matrix multiplication problem A=B*C, intended as a starting point for implementing a parallel version.
  767. mxm_serial_test
  768. naca, a C++ code which takes the parameters of certain NACA airfoils and returns the coordinates of a sequence of points that outline the wing shape. The points can be plotted with gnuplot().
  769. naca_test
  770. nas, a C++ code which runs the NASA kernel benchmark.
  771. nas_test
  772. navier_stokes_2d_exact, a C++ code which evaluates an exact solution to the incompressible time-dependent Navier-Stokes equations over an arbitrary domain in 2D.
  773. navier_stokes_2d_exact_test
  774. navier_stokes_3d_exact, a C++ code which evaluates an exact solution to the incompressible time-dependent Navier-Stokes equations over an arbitrary domain in 3D.
  775. navier_stokes_3d_exact_test
  776. nearest_interp_1d, a C++ code which interpolates a set of data using a piecewise constant interpolant defined by the nearest neighbor criterion, creating graphics files for processing by gnuplot().
  777. nearest_interp_1d_test
  778. neighbors_to_metis_graph, a C++ code which reads a file describing the neighbor structure of a mesh of triangles or tetrahedrons, and writes a metis_graph() file suitable for input to one of the family of programs based on metis();
  779. neighbors_to_metis_graph_test
  780. netcdf_test
  781. newton_interp_1d, a C++ code which finds a polynomial interpolant to data using Newton divided differences.
  782. newton_interp_1d_test
  783. niederreiter, a C++ code which computes elements of the Niederreiter Quasi Mont Carlo (QMC) M-dimensional sequence [arbitrary base];
  784. niederreiter_test
  785. niederreiter2, a C++ code which computes elements of the Niederreiter M-dimensional Quasi Mont Carlo (QMC) sequence using base 2;
  786. niederreiter2_test
  787. nint_exactness_mixed, a C++ code which measures the polynomial exactness of an M-dimensional quadrature rule based on a mixture of 1D quadrature rule factors.
  788. nint_exactness_mixed_test
  789. nintlib, a C++ code which implements approximate integration (quadrature) in M dimensions;
  790. nintlib_test
  791. normal, a C++ code which implements a random number generator (RNG) for normally distributed values.
  792. normal_test
  793. obj_io, a C++ code which reads and writes the data in an OBJ 3D graphics file;
  794. obj_io_test
  795. ode, a C++ code which solves a system of ordinary differential equations (ODE), by Shampine and Gordon;
  796. ode_test
  797. openmp_test, a C++ code which uses the OpenMP interface for parallel programming shared memory system;
  798. optimize_test, a C++ code which looks at the use of automatic optimization by the compiler to make the executable code run faster.
  799. ornstein_uhlenbeck, a C++ code which approximates solutions of the Ornstein-Uhlenbeck stochastic ordinary differential equation (SODE) using the Euler method, the Euler-Maruyama method, and the Milstein method, and creating graphics files for processing by gnuplot().
  800. ornstein_uhlenbeck_test
  801. owen, a C++ code which evaluates Owen's T function;
  802. owen_test
  803. padua, a C++ code which returns the coordinates of the 2D Padua points, as well as interpolation weights or quadrature weights, and images of the points in gnuplot() graphics files.
  804. padua_test
  805. partial_digest, a C++ code which solves the partial digest problem;
  806. partial_digest_test
  807. partition_brute, a C++ code which uses a brute force algorithm to seek solutions of the partition problem, splitting a set of integers into two subsets with equal sum.
  808. partition_brute_test
  809. patterson_rule, a C++ code which returns the points and weights of a 1D Gauss-Patterson quadrature rule of order 1, 3, 7, 15, 31, 63, 127, 255 or 511.
  810. patterson_rule_test
  811. pbma_io, a C++ code which reads or writes an ASCII Portable Bit Map (PBM) graphics file;
  812. pbma_io_test
  813. pbmb_io, a C++ code which reads or writes a binary Portable Bit Map (PBM) graphics file;
  814. pbmb_io_test
  815. pce_burgers, a C++ code which defines and solves the time-dependent viscous Burgers equation, with uncertain viscosity, using a polynomial chaos expansion in terms of Hermite polynomials, by Gianluca Iaccarino.
  816. pce_burgers_test
  817. pce_ode_hermite, a C++ code which sets up a simple scalar ordinary differential equation (ODE) for exponential decay with an uncertain decay rate, using a polynomial chaos expansion in terms of Hermite polynomials.
  818. pce_ode_hermite_test
  819. pdflib, a C++ code which evaluates Probability Density Functions (PDF) and produces random samples from them, including beta, binomial, chi, exponential, gamma, inverse chi, inverse gamma, multinomial, normal, scaled inverse chi, and uniform.
  820. pdflib_test
  821. pentominoes, a C++ code which forms or plots any of the 12 members of the pentomino family, shapes formed from 5 adjacent squares.
  822. pentominoes_test
  823. persistence, a C++ code which demonstrates how to initialize, get, or set data stored within a function, using static/persistent/saved/local memory.
  824. persistence_test
  825. pgma_io, a C++ code which reads or writes an ASCII Portable Gray Map (PGM) 2D graphics file;
  826. pgma_io_test
  827. pgmb_io, a C++ code which reads or writes a binary Portable Gray Map (PGM) 2D graphics file;
  828. pgmb_io_test
  829. pink_noise, a C++ code which computes a pink noise signal obeying a 1/f power law.
  830. pink_noise_test
  831. poisson_1d_multigrid, a C++ code which applies the multigrid method to a discretized version of the 1D Poisson equation.
  832. poisson_1d_multigrid_test
  833. poisson_openmp, a C++ code which computes an approximate solution to the Poisson equation in a rectangle, using the Jacobi iteration to solve the linear system, and OpenMP to carry out the Jacobi iteration in parallel.
  834. poisson_openmp_test
  835. poisson_serial, a C++ code which computes an approximate solution to the Poisson equation in a rectangle, and is intended as the starting point for the creation of a parallel version.
  836. poisson_serial_test
  837. poisson_simulation, a C++ code which simulates a Poisson process in which events randomly occur with an average waiting time of Lambda, creating graphics files for processing by gnuplot().
  838. poisson_simulation_test
  839. polpak, a C++ code which evaluates a variety of mathematical functions, polynomials, and sequences, including Bell, Benford, Bernoulli, Bernstein, Cardan, Catalan, Charlier, Chebyshev, Collatz, Delannoy, Euler, Fibonacci, Gegenbauer, Gudermannian, Harmonic, Hermite, Hofstadter, Jacobi, Krawtchouk, Laguerre, Lambert, Legendre, Lerch, Meixner, Mertens, Moebius, Motzkin, Phi, Stirling, Tau, Tribonacci, Zernike.
  840. polpak_test
  841. polygon, a C++ code which computes properties of an arbitrary polygon in the plane, defined by a sequence of vertices, including interior angles, area, centroid, containment of a point, convexity, counter clockwise ordering, diameter, distance to a point, inradius, lattice area, nearest point in set, outradius, uniform sampling, and triangulation.
  842. polygon_test
  843. polygon_grid, a C++ code which generates a grid of points over the interior of a polygon in 2D.
  844. polygon_grid_test
  845. polygon_integrals, a C++ code which returns the exact value of the integral of any monomial over the interior of a polygon in 2D.
  846. polygon_integrals_test
  847. polygon_monte_carlo, a C++ code which applies a Monte Carlo method to estimate the integral of a function over the interior of a polygon in 2D.
  848. polygon_monte_carlo_test
  849. polygon_triangulate, a C++ code which triangulates a possibly nonconvex polygon in 2D, and which can use gnuplot() to display the external edges and internal diagonals of the triangulation.
  850. polygon_triangulate_test
  851. polygonal_surface_display_opengl, a C++ code which displays a surface in 3D described as polygons, using OpenGL.
  852. polygonal_surface_display_opengl_test
  853. polynomial, a C++ code which adds, multiplies, differentiates, evaluates and prints multivariate polynomials in a space of M dimensions.
  854. polynomial_test
  855. polynomial_conversion, a C++ code which converts representations of a polynomial between monomial, Bernstein, Chebyshev, Hermite, Laguerre and Legendre forms.
  856. polynomial_conversion_test
  857. polynomial_root_bound, a C++ code which computes the Cauchy bound on the magnitude of all roots of a polynomial with complex coefficients.
  858. polynomial_root_bound_test
  859. polyominoes, a C++ code which provides some utilities for manipulating polyominoes.
  860. polyominoes_test
  861. power_method, a C++ code which carries out the power method for finding a dominant eigenvalue and its eigenvector.
  862. power_method_test
  863. power_rule, a C++ code which constructs a power rule, that is, a product quadrature rule from identical 1D factor rules.
  864. power_rule_test
  865. ppma_io, a C++ code which reads or writes an ASCII Portable Pixel Map (PPM) graphics file;
  866. ppma_io_test
  867. ppmb_io, a C++ code which reads or writes a binary Portable Pixel Map (PPM) 2D pixel map graphics file;
  868. ppmb_io_test
  869. praxis, a C++ code which minimizes a scalar function of several variables, without requiring derivative information, by Richard Brent.
  870. praxis_test
  871. predator_prey_ode, a C++ code which solves a time-dependent predator-prey system of ordinary differential equations (ODE).
  872. predator_prey_ode_test
  873. prime, a C++ code which counts the number of primes between 1 and N, and is intended as a starting point for a parallel version.
  874. prime_test
  875. prime_mpi, a C++ code which counts the number of primes between 1 and N, using MPI for parallel execution.
  876. prime_mpi_test
  877. prime_openmp, a C++ code which counts the number of primes between 1 and N, using OpenMP for parallel execution.
  878. prime_openmp_test
  879. prime_pi, a C++ code which evaluates Pi(n), the number of primes less than or equal to an integer n.
  880. prime_pi_test
  881. prism_jaskowiec_rule, a C++ code which returns symmetric quadrature rules, with exactness up to total degree 20, over the interior of a prism with triangular base, by Jan Jaskowiec, Natarajan Sukumar.
  882. prism_jaskowiec_rule_test
  883. prism_witherden_rule, a C++ code which returns a symmetric Witherden quadrature rule for a prism with triangular base, with exactness up to total degree 10.
  884. prism_witherden_rule_test
  885. prob, a C++ code which evaluates, samples, inverts, and characterizes a number of Probability Density Functions (PDF) and Cumulative Density Functions (CDF), including anglit, arcsin, benford, birthday, bernoulli, beta_binomial, beta, binomial, bradford, burr, cardiod, cauchy, chi, chi squared, circular, cosine, deranged, dipole, dirichlet mixture, discrete, empirical, english sentence and word length, error, exponential, extreme values, f, fisk, folded normal, frechet, gamma, generalized logistic, geometric, gompertz, gumbel, half normal, hypergeometric, inverse gaussian, laplace, levy, logistic, log normal, log series, log uniform, lorentz, maxwell, multinomial, nakagami, negative binomial, normal, pareto, planck, poisson, power, quasigeometric, rayleigh, reciprocal, runs, sech, semicircular, student t, triangle, uniform, von mises, weibull, zipf.
  886. prob_test
  887. product_rule, a C++ code which creates an M-dimensional quadrature rule from a product of distinct 1d quadrature rules;
  888. product_rule_test
  889. pwl_approx_1d, a C++ code which approximates a set of data using a piecewise linear function.
  890. pwl_approx_1d_test
  891. pwl_interp_1d, a C++ code which interpolates a set of data using a piecewise linear function, creating graphics files for processing by gnuplot().
  892. pwl_interp_1d_test
  893. pwl_interp_2d, a C++ code which evaluates a piecewise linear interpolant to data defined on a regular 2D grid.
  894. pwl_interp_2d_test
  895. pwl_interp_2d_scattered, a C++ code which evaluates a piecewise linear interpolant to data which is available at an irregularly arranged set of points.
  896. pwl_interp_2d_scattered_test
  897. pwl_product_integral, a C++ code which calculates the exact value of the integral of the product of two piecewise linear functions f(x) and g(x).
  898. pwl_product_integral_test
  899. pyramid_exactness, a C++ code which investigates the polynomial exactness of a quadrature rule over the interior of the unit pyramid in 3D.
  900. pyramid_exactness_test
  901. pyramid_felippa_rule, a C++ code which returns a Felippa quadrature rule for approximating integrals over the interior of a pyramid in 3D.
  902. pyramid_felippa_rule_test
  903. pyramid_grid, a C++ code which computes a grid of points over the interior of the unit pyramid in 3D;
  904. pyramid_grid_test
  905. pyramid_integrals, a C++ code which returns the exact value of the integral of any monomial over the interior of the unit pyramid in 3D.
  906. pyramid_integrals_test
  907. pyramid_jaskowiec_rule, a C++ code which returns quadrature rules, with exactness up to total degree 20, over the interior of a pyramid in 3D, by Jan Jaskowiec, Natarajan Sukumar.
  908. pyramid_jaskowiec_rule_test
  909. pyramid_monte_carlo, a C++ code which applies a Monte Carlo method to estimate integrals of a function over the interior of the unit pyramid in 3D;
  910. pyramid_monte_carlo_test
  911. pyramid_rule, a C++ code which computes a conical product quadrature rule for a pyramid.
  912. pyramid_rule_test
  913. pyramid_witherden_rule, a C++ code which returns a Witherden quadrature rule, with exactness up to total degree 10, over the interior of a pyramid.
  914. pyramid_witherden_rule_test
  915. qr_solve, a C++ code which computes the linear least squares (LLS) solution of a system A*x=b.
  916. qr_solve_test
  917. quad_mpi, a C++ code which applies a quadrature rule to estimate an integral, working in parallel by using the Message Passing Interface (MPI);
  918. quad_mpi_test
  919. quad_openmp, a C++ code which applies a quadrature rule to estimate an integral over a 1D interval, using OpenMP for parallel execution;
  920. quad_openmp_test
  921. quad_rule, a C++ code which defines quadrature rules for approximating integrals;
  922. quad_rule_test
  923. quad_serial, a C++ code which applies a quadrature rule to estimate an integral, intended as a starting point for parallelization exercises.
  924. quad_serial_test
  925. quad2d, a C++ code which applies a product quadrature rule to estimate an integral over a 2D rectangle, intended as a starting point for parallelization exercises.
  926. quad2d_test
  927. quad2d_openmp, a C++ code which applies a product quadrature rule to estimate an integral over a 2D rectangle, using OpenMP for parallel execution;
  928. quad2d_openmp_test
  929. quadmom, a C++ code which computes a Gaussian quadrature rule for a weight function rho(x) based on the Golub-Welsch procedure that only requires knowledge of the moments of rho(x).
  930. quadmom_test
  931. quadrature_golub_welsch, a C++ code which computes the points and weights of a Gaussian quadrature rule using the Golub-Welsch procedure.
  932. quadrature_golub_welsch_test
  933. quadrature_least_squares, a C++ code which computes weights for sub-interpolatory quadrature rules, that is, it estimates integrals by integrating a polynomial that approximates the function data in a least squares sense.
  934. quadrature_least_squares_test
  935. quadrature_weights_vandermonde, a C++ code which computes the weights of a quadrature rule using the Vandermonde matrix, assuming that the points have been specified.
  936. quadrature_weights_vandermonde_test
  937. quadrature_weights_vandermonde_2d, a C++ code which computes the weights of a 2D quadrature rule using the Vandermonde matrix, assuming that the points have been specified.
  938. quadrature_weights_vandermonde_2d_test
  939. quadrilateral_mesh, a C++ code which handles meshes of quadrilaterals over a 2D region;
  940. quadrilateral_mesh_test
  941. quadrilateral_mesh_rcm, a C++ code which computes the Reverse Cuthill-McKee (RCM) reordering for nodes in a mesh of 4-node quadrilaterals.
  942. quadrilateral_mesh_rcm_test
  943. quadrilateral_witherden_rule, a C++ code which returns a symmetric Witherden quadrature rule for the quadrilateral, with exactness up to total degree 21.
  944. quadrilateral_witherden_rule_test
  945. quality, a C++ code which computes quality of distribution measures for pointsets in M dimensions;
  946. quality_test
  947. quaternions, a C++ code which carries out some simple arithmetic operations for quaternions.
  948. quaternions_test
  949. r83, a C++ code which contains linear algebra routines for r83 matrices (real, 64 bit, tridiagonal 3xN format).
  950. r83_test
  951. r83_np, a C++ code which contains linear algebra routines for r83_np matrices (real, 64 bit, tridiagonal 3xN format, nonpivoting factorization).
  952. r83_np_test
  953. r83p, a C++ code which contains linear algebra routines for r83p matrices (real, 64 bit, tridiagonal periodic format).
  954. r83p_test
  955. r83s, a C++ code which contains linear algebra routines for r83s matrices (real, 64 bit, tridiagonal scalar format).
  956. r83s_test
  957. r83t, a C++ code which contains linear algebra routines for r83t matrices (real, 64 bit, tridiagonal Mx3 format).
  958. r83t_test
  959. r83v, a C++ code which contains linear algebra routines for r83v matrices (real, 64 bit, tridiagonal three vector format).
  960. r83v_test
  961. r85, a C++ code which contains linear algebra routines for r85 matrices (real, 64 bit, pentadiagonal format).
  962. r85_test
  963. r8bb, a C++ code which contains linear algebra routines for r8bb matrices (real, 64 bit, border banded format).
  964. r8bb_test
  965. r8blt, a C++ code which contains linear algebra routines for r8blt matrices (real, 64 bit, band lower triangular format).
  966. r8blt_test
  967. r8bto, a C++ code which contains linear algebra routines for r8bto matrices (real, 64 bit, block Toeplitz format).
  968. r8bto_test
  969. r8but, a C++ code which contains linear algebra routines for r8but matrices (real, 64 bit, band upper triangular format).
  970. r8but_test
  971. r8cb, a C++ code which contains linear algebra routines for r8cb matrices (real, 64 bit, Compressed Band format).
  972. r8cb_test
  973. r8cbb, a C++ code which contains linear algebra routines for r8cbb matrices (real, 64 bit, Compressed Border Banded format).
  974. r8cbb_test
  975. r8ccs, a C++ code which contains linear algebra routines for r8ccs matrices (real, 64 bit, Compressed Column Storage (Colptr,Row,Value) format).
  976. r8ccs_test
  977. r8ci, a C++ code which contains linear algebra routines for r8ci matrices (real, 64 bit, circulant format).
  978. r8ci_test
  979. r8col, a C++ code which contains utility routines for R8COL's, that is, double precision real MxN arrays, considered as N column vectors, each of length M. The data may be thought of as a matrix of multiple columns, and many operations will be carried out columnwise.
  980. r8col_test
  981. r8gb, a C++ code which contains linear algebra routines for r8gb matrices (real, 64 bit, General Banded format).
  982. r8gb_test
  983. r8gd, a C++ code which contains linear algebra routines for r8gd matrices (real, 64 bit, general diagonal format).
  984. r8gd_test
  985. r8ge, a C++ code which contains linear algebra routines for R8GE matrices (real, 64 bit, General format).
  986. r8ge_test
  987. r8lib, a C++ code which contains many utility routines, using double precision real (R8) arithmetic.
  988. r8lib_test
  989. r8lt, a C++ code which contains linear algebra routines for R8LT matrices (real, 64 bit, Lower Triangular).
  990. r8lt_test
  991. r8ltt, a C++ code which contains linear algebra routines for r8ltt matrices (real, 64 bit, lower triangular Toeplitz format).
  992. r8ltt_test
  993. r8ncf, a C++ code which contains linear algebra routines for r8ncf matrices (real, 64 bit, nonsymmetric coordinate format).
  994. r8ncf_test
  995. r8pbl, a C++ code which contains linear algebra routines for r8pbl matrices (real, 64 bit, symmetric positive definite (SPD) band lower format).
  996. r8pbl_test
  997. r8pbu, a C++ code which contains linear algebra routines for r8pbu matrices (real, 64 bit, symmetric positive definite (SPD) band upper format).
  998. r8pbu_test
  999. r8po, a C++ code which contains linear algebra routines for r8po matrices (real, 64 bit, symmetric positive definite (SPD) format).
  1000. r8po_test
  1001. r8poly, a C++ code which operates on real polynomials, including evaluation, differentiation, integration, multiplication, synthetic division, shifting the base, computing a power, taking the norm. It also defines Chebyshev, Lagrange and Legendre polynomials.
  1002. r8poly_test
  1003. r8pp, a C++ code which contains linear algebra routines for r8pp matrices (real, 64 bit, symmetric positive definite (SPD) packed format).
  1004. r8pp_test
  1005. r8ri, a C++ code which contains linear algebra routines for r8ri matrices (real, 64 bit, row indexed format).
  1006. r8ri_test
  1007. r8row, a C++ code which contains utility routines for R8ROW's, that is, double precision real MxN arrays, considered as M row vectors, each of length N. The data may be thought of as a matrix of multiple rows, and many operations will be carried out rowwise.
  1008. r8row_test
  1009. r8sd, a C++ code which contains linear algebra routines for r8sd matrices (real, 64 bit, symmetric diagonal format).
  1010. r8sd_test
  1011. r8sm, a C++ code which contains linear algebra routines for r8sm matrices (real, 64 bit, Sherman-Morrison A-u*v' format).
  1012. r8sm_test
  1013. r8sr, a C++ code which carries out linear algebra operations for r8sr matrices (real, 64 bit, diagonal + compressed row offdiagonal format).
  1014. r8sr_test
  1015. r8ss, a C++ code which carries out linear algebra operations for r8ss matrices (real, 64 bit, symmetric skyline format).
  1016. r8ss_test
  1017. r8st, a C++ code which contains linear algebra routines for r8st matrices (real, 64 bit, Sparse Triplet (ST) (I,J,AIJ) format).
  1018. r8st_test
  1019. r8sto, a C++ code which contains linear algebra routines for r8sto matrices (real, 64 bit, symmetric Toeplitz N format).
  1020. r8sto_test
  1021. r8to, a C++ code which contains linear algebra routines for r8to matrices (real, 64 bit, Toeplitz 2*N-1 format).
  1022. r8to_test
  1023. r8ut, a C++ code which contains linear algebra routines for r8ut matrices (real, 64 bit, Upper Triangular).
  1024. r8ut_test
  1025. r8utp, a C++ code which carries out linear algebra operations on r8utp matrices, real 64 bit, Upper Triangular Packed format.
  1026. r8utp_test
  1027. r8utt, a C++ code which contains linear algebra routines for r8utt matrices (real, 64 bit, upper triangular Toeplitz format).
  1028. r8utt_test
  1029. r8vm, a C++ code which contains linear algebra routines for r8vm matrices (real, 64 bit, vandermonde format).
  1030. r8vm_test
  1031. rand48_test, a C++ code which demonstrates the use of the RAND48 family of random number generators (RNG) available in the C/C++ standard library.
  1032. randlc, a C++ code which implements a random number generator (RNG) used by the NAS Benchmark programs.
  1033. randlc_test
  1034. random_data, a C++ code which uses a random number generator (RNG) to sample points distribute according to various probability density functions (PDF), for various spatial dimensions, and geometries, including the M-dimensional cube, ellipsoid, simplex and sphere.
  1035. random_data_test
  1036. random_mpi, a C++ code which demonstrates one way to generate the same sequence of random numbers for both sequential execution and parallel execution under MPI.
  1037. random_mpi_test
  1038. random_openmp, a C++ code which illustrates how a parallel program using OpenMP can generate multiple distinct streams of random numbers.
  1039. random_openmp_test
  1040. random_sorted, a C++ code which generates vectors of random values which are already sorted.
  1041. random_sorted_test
  1042. ranlib, a C++ code which produces random samples from Probability Density Functions (PDF), including Beta, Chi-square Exponential, F, Gamma, Multivariate normal, Noncentral chi-square, Noncentral F, Univariate normal, random permutations, Real uniform, Binomial, Negative Binomial, Multinomial, Poisson and Integer uniform, by Barry Brown and James Lovato.
  1043. ranlib_test
  1044. rbf_interp_1d, a C++ code which defines and evaluates radial basis function (RBF) interpolants to 1D data.
  1045. rbf_interp_1d_test
  1046. rbf_interp_2d, a C++ code which defines and evaluates radial basis function (RBF) interpolants to 2D data.
  1047. rbf_interp_2d_test
  1048. rbf_interp_nd, a C++ code which defines and evaluates radial basis function (RBF) interpolants to M-dimensional data.
  1049. rbf_interp_nd_test
  1050. rcm, a C++ code which applies the Reverse Cuthill McKee (RCM) algorithm for reordering the nodes of a graph, and reducing the bandwidth of a corresponding sparse matrix;
  1051. rcm_test
  1052. reactor simulation, a C++ code which is a simple Monte Carlo simulation of the shielding effect of a slab of a certain thickness in front of a neutron source. This program was provided as an example with the book "Numerical Methods and Software."
  1053. reactor simulation_test
  1054. recomment, a C++ code which converts C style comments to C++ style comments.
  1055. recomment_test
  1056. ring_mpi, a C++ code which uses the MPI parallel programming environment, and measures the time necessary to copy a set of data around a ring of processes.
  1057. ring_mpi_test
  1058. rk4, a C++ code which applies the fourth order Runge-Kutta (RK) algorithm to estimate the solution of an ordinary differential equation (ODE) at the next time step.
  1059. rk4_test
  1060. rkf45, a C++ code which applies the Runge-Kutta-Fehlberg (RKF) algorithm to solve a system of ordinary differential equations (ODE);
  1061. rkf45_test
  1062. rnglib, a C++ code which implements a random number generator (RNG) with splitting facilities, allowing multiple independent streams to be computed, by L'Ecuyer and Cote.
  1063. rnglib_test
  1064. root_rc, a C++ code which seeks a solution of a scalar nonlinear equation f(x)=0, using reverse communication (RC), by Gaston Gonnet.
  1065. root_rc_test
  1066. roots_rc, a C++ code which seeks solutions of a system of nonlinear equations, using reverse communication (RC), by Gaston Gonnet.
  1067. roots_rc_test
  1068. rot13, a C++ code which makes a copy of a file which has been encoded using the ROT13 coding and a ROT5 coding for digits.
  1069. rot13_test
  1070. rotating_cube_display_opengl, a C++ code which displays a rotating color cube in 3D, using OpenGL;
  1071. rotating_cube_display_opengl_test
  1072. row_echelon_integer, a C++ code which carries out the exact computation of the integer row echelon form (IREF) and integer reduced row echelon form (IRREF) of an integer matrix.
  1073. row_echelon_integer_test
  1074. sandia_cubature, a C++ code which computes M-dimensional quadrature rules for certain regions and weight functions.
  1075. sandia_cubature_test
  1076. sandia_rules, a C++ code which produces 1D quadrature rules of Chebyshev, Clenshaw Curtis, Fejer 2, gegenbauer, generalized Hermite, generalized Laguerre, Hermite, Jacobi, Laguerre, legendre and Patterson types.
  1077. sandia_rules_test
  1078. sandia_rules2, a C++ code which contains a very small selection of functions which serve as an interface between sandia_sgmg() or sandia_sgmga() and sandia_rules().
  1079. sandia_rules2_test
  1080. sandia_sgmg, a C++ code which creates a sparse grid dataset based on a mixed set of 1D factor rules, and experiments with the use of a linear growth rate for the quadrature rules. This is a version of sgmg() that uses a different procedure for supplying the parameters needed to evaluate certain quadrature rules.
  1081. sandia_sgmg_test
  1082. sandia_sgmga, a C++ code which creates sparse grids based on a mixture of 1D quadrature rules, allowing anisotropic weights for each dimension. This is a version of sgmga() that uses a different procedure for supplying the parameters needed to evaluate certain quadrature rules.
  1083. sandia_sgmga_test
  1084. sandia_sgmgg, a C++ code which explores a generalized construction method for sparse grids.
  1085. sandia_sgmgg_test
  1086. sandia_sparse, a C++ code which produces a M-dimensional sparse grid, based on a variety of 1D quadrature rules; only isotropic grids are generated, that is, the same rule is used in each dimension, and the same maximum order is used in each dimension.
  1087. sandia_sparse_test
  1088. satisfy_brute, a C++ code which uses brute force to find all assignments of values to a set of logical variables which make a complicated logical statement true.
  1089. satisfy_brute_test
  1090. satisfy_mpi, a C++ code which demonstrates, for a particular circuit, an exhaustive search for solutions of the circuit satisfy problem, using MPI to perform the calculation in parallel.
  1091. satisfy_mpi_test
  1092. satisfy_openmp, a C++ code which demonstrates, for a particular circuit, an exhaustive search for solutions of the circuit satisfy problem, using OpenMP for parallel execution.
  1093. satisfy_openmp_test
  1094. schedule_openmp, a C++ code which demonstrates the default, static, and dynamic methods of scheduling loop iterations in OpenMP to avoid work imbalance.
  1095. schedule_openmp_test
  1096. screenshot_opengl, a C++ code which uses OpenGL() to save a screenshot of the graphics being displayed.
  1097. screenshot_opengl_test
  1098. sde, a C++ code which illustrates properties of stochastic ordinary differential equations (SODE), and common algorithms for their analysis, including the Euler method, the Euler-Maruyama method, and the Milstein method, making graphics files for processing and display by gnuplot(), by Desmond Higham;
  1099. sde_test
  1100. search_mpi, a C++ code which searches integers between A and B for a solution J such that F(J)=C, carried out in parallel using MPI.
  1101. search_mpi_test
  1102. search_serial, a C++ code which searches the integers from A to B for a value J such that F(J) = C. this version of the program is intended as a starting point for a parallel approach.
  1103. search_serial_test
  1104. set_theory, a C++ code which demonstrates various set theoretic operations using several models of a set.
  1105. set_theory_test
  1106. sftpack, a C++ code which implements the slow Fourier transform, intended as a teaching tool and comparison with the Fast Fourier Transform (FFT).
  1107. sftpack_test
  1108. sgefa_openmp, a C++ code which compares a standard linear algebra solver against a revised version which can be run in parallel with OpenMP.
  1109. sgefa_openmp_test
  1110. shallow_water_1d, a C++ code which simulates the evolution of a 1D fluid governed by the time-dependent shallow water equations.
  1111. shallow_water_1d_test
  1112. shepard_interp_1d, a C++ code which defines and evaluates Shepard interpolants to 1D data, based on inverse distance weighting.
  1113. shepard_interp_1d_test
  1114. shepard_interp_2d, a C++ code which defines and evaluates Shepard interpolants to 2D data, based on inverse distance weighting.
  1115. shepard_interp_2d_test
  1116. shepard_interp_nd, a C++ code which defines and evaluates Shepard interpolants to M-dimensional data, based on inverse distance weighting.
  1117. shepard_interp_nd_test
  1118. simple_ga, a C++ code which is a simple example of a genetic algorithm, by Dennis Cormier and Sita Raghavan.
  1119. simple_ga_test
  1120. simplex_coordinates, a C++ code which computes the Cartesian coordinates of the vertices of a regular simplex in M dimensions.
  1121. simplex_coordinates_test
  1122. simplex_gm_rule, a C++ code which defines Grundmann-Moeller quadrature rules over the interior of a triangle in 2D, a tetrahedron in 3D, or over the interior of the simplex in M dimensions.
  1123. simplex_gm_rule_test
  1124. simplex_grid, a C++ code which generates a regular grid of points over the interior of an arbitrary simplex in M dimensions.
  1125. simplex_grid_test
  1126. simplex_integrals, a C++ code which returns the exact value of the integral of any monomial over the interior of the unit simplex in M dimensions.
  1127. simplex_integrals_test
  1128. simplex_monte_carlo, a C++ code which uses the Monte Carlo method to estimate an integral over the interior of the unit simplex in M dimensions.
  1129. simplex_monte_carlo_test
  1130. sine_transform, a C++ code which demonstrates some simple properties of the discrete sine transform.
  1131. sine_transform_test
  1132. snakes_and_ladders, a C++ code which provides tools to analyze the game of Snakes and Ladders.
  1133. snakes_and_ladders_test
  1134. sobol, a C++ code which computes elements of the Sobol M-dimensional Quasi Mont Carlo (QMC) sequence, extended to a maximal spatial dimension of 1111, by Bennett Fox.
  1135. sobol_test
  1136. solve, a C++ code which implements a linear solver which makes it easy to create doubly-dimensioned arrays and solve associated linear systems.
  1137. solve_test
  1138. sor, a C++ code which implements a simple version of the Successive Over-Relaxation (SOR) method for the iterative solution of a linear system of equations.
  1139. sor_test
  1140. sort_rc, a C++ code which sorts a list of any kind of objects, using reverse communication (RC).
  1141. sort_rc_test
  1142. sparse_count, a C++ code which analyzes sparse grids in which a single family of 1D quadrature rules is used for all spatial dimensions, with a variety of growth rules.
  1143. sparse_count_test
  1144. sparse_display, a C++ code which reads information defining a matrix of numbers and displays the sparsity pattern or location of the nonzero elements using gnuplot(). This operation is already available in the built-in MATLAB spy() command.
  1145. sparse_display_test
  1146. sparse_grid_cc, a C++ code which creates sparse grids based on Clenshaw-Curtis rules.
  1147. sparse_grid_cc_test
  1148. sparse_grid_gl, a C++ code which creates sparse grids based on Gauss-Legendre rules.
  1149. sparse_grid_gl_test
  1150. sparse_grid_hermite, a C++ code which creates sparse grids based on Gauss-Hermite rules.
  1151. sparse_grid_hermite_test
  1152. sparse_grid_hw, a C++ code which creates sparse grids based on Gauss-Legendre, Gauss-Hermite, Gauss-Patterson, or a nested variation of Gauss-Hermite rules, by Florian Heiss and Viktor Winschel.
  1153. sparse_grid_hw_test
  1154. sparse_grid_laguerre, a C++ code which creates sparse grids based on Gauss-Laguerre rules.
  1155. sparse_grid_laguerre_test
  1156. sparse_grid_mixed, a C++ code which creates a sparse grid dataset based on a mixed set of 1D factor rules.
  1157. sparse_grid_mixed_test
  1158. sparse_interp_nd, a C++ code which defines a sparse interpolant to a function f(x) of a M-dimensional argument.
  1159. sparse_interp_nd_test
  1160. sphere_exactness, a C++ code which tests the polynomial exactness of a quadrature rule over the surface of the unit sphere in 3D;
  1161. sphere_exactness_test
  1162. sphere_fibonacci_grid, a C++ code which uses a Fibonacci spiral to create a grid of points on the surface of the unit sphere in 3D.
  1163. sphere_fibonacci_grid_test
  1164. sphere_grid, a C++ code which provides a number of ways of generating grids of points, or of points and lines, or of points and lines and faces, over the surface of the unit sphere in 3D.
  1165. sphere_grid_test
  1166. sphere_integrals, a C++ code which returns the exact value of the integral of any monomial over the surface of the unit sphere in 3D.
  1167. sphere_integrals_test
  1168. sphere_lebedev_rule, a C++ code which computes Lebedev quadrature rules for the surface of the unit sphere in 3D;
  1169. sphere_lebedev_rule_test
  1170. sphere_llq_grid, a C++ code which uses longitudes and latitudes to create grids of points, lines, and quadrilaterals on the surface of the unit sphere in 3D.
  1171. sphere_llq_grid_test
  1172. sphere_llt_grid, a C++ code which uses longitudes and latitudes to create grids of points, lines, and triangles on the surface of the unit sphere in 3D.
  1173. sphere_llt_grid_test
  1174. sphere_monte_carlo, a C++ code which applies a Monte Carlo method to estimate the integral of a function over the surface of the unit sphere in 3D;
  1175. sphere_monte_carlo_test
  1176. sphere_quad, a C++ code which uses triangulation to approximate an integral over the surface of the unit sphere in 3D;
  1177. sphere_quad_test
  1178. sphere_stereograph, a C++ code which computes the stereographic mapping between points on the plane Z=1 and the surface of the unit sphere in 3D.
  1179. sphere_stereograph_test
  1180. sphere_triangle_monte_carlo, a C++ code which applies a Monte Carlo method to estimate the integral of a function over a spherical triangle on the surface of the unit sphere in 3D;
  1181. sphere_triangle_monte_carlo_test
  1182. sphere_triangle_quad, a C++ code which uses quadrature to estimate the integral of a function over a spherical triangle on the surface of the unit sphere in 3D.
  1183. sphere_triangle_quad_test
  1184. sphere_voronoi_display_opengl, a C++ code which displays randomly selected generator points and colors in points on the sphere that are closest to each generator, on the surface of the unit sphere in 3D.
  1185. sphere_voronoi_display_opengl_test
  1186. sphere_xyz_display_opengl, a C++ code which reads XYZ information defining points and displays a unit sphere and the points, using OpenGL, on the surface of the unit sphere in 3D.
  1187. sphere_xyz_display_opengl_test
  1188. spiral_data, a C++ code which computes a velocity vector field that satisfies the continuity equation, writing the data to a file that can be plotted by gnuplot().
  1189. spiral_data_test
  1190. spline, a C++ code which interpolates or approximates data by piecewise polynomial functions;
  1191. spline_test
  1192. square_arbq_rule, a C++ code which returns quadrature rules, with exactness up to total degree 20, over the interior of the symmetric square in 2D, by Hong Xiao and Zydrunas Gimbutas.
  1193. square_arbq_rule_test
  1194. square_exactness, a C++ code which investigates the polynomial exactness of quadrature rules for f(x,y) over the interior of a square in 2D.
  1195. square_exactness_test
  1196. square_felippa_rule, a C++ code which returns a Felippa quadrature rule for approximating integrals over the interior of a square in 2D.
  1197. square_felippa_rule_test
  1198. square_grid, a C++ code which computes a grid of points over the interior of a square in 2D.
  1199. square_grid_test
  1200. square_hex_grid, a C++ code which computes a hexagonal grid of points over the interior of a square in 2D.
  1201. square_hex_grid_test
  1202. square_integrals, a C++ code which returns the exact value of the integral of any monomial over the interior of the unit square in 2D.
  1203. square_integrals_test
  1204. square_minimal_rule, a C++ code which returns "almost minimal" quadrature rules, with exactness up to total degree 55, over the interior of the symmetric square in 2D, by Mattia Festa and Alvise Sommariva.
  1205. square_minimal_rule_test
  1206. square_monte_carlo, a C++ code which applies a Monte Carlo method to estimate the integral of a function over the interior of the unit square in 2D.
  1207. square_monte_carlo_test
  1208. square_symq_rule, a C++ code which returns symmetric quadrature rules, with exactness up to total degree 20, over the interior of the symmetric square in 2D, by Hong Xiao and Zydrunas Gimbutas.
  1209. square_symq_rule_test
  1210. st_io, a C++ code which reads and writes sparse linear systems stored in the Sparse Triplet (ST) format.
  1211. st_io_test
  1212. st_to_ccs, a C++ code which converts sparse matrix data from Sparse Triplet (ST) format to Compressed Column Storage (CCS) format;
  1213. st_to_ccs_test
  1214. star_discrepancy, a C++ code which computes bounds on the star discrepancy of a set of N points in M dimensions, stored as a table file, by Eric Thiemard.
  1215. star_discrepancy_test
  1216. stiff_ode, a C++ code which considers an ordinary differential equation (ODE) which is an example of a stiff ODE.
  1217. stiff_ode_test
  1218. stla_io, a C++ code which reads and writes ASCII stereolithography (STL) 3d graphics files;
  1219. stla_io_test
  1220. stochastic_diffusion, functions which implement several versions of a stochastic diffusivity coefficient.
  1221. stochastic_diffusion_test
  1222. stochastic_heat2d, a C++ code which implements a finite difference method (FDM) for the steady (time independent) 2D heat equation, with a stochastic heat diffusivity coefficient.
  1223. stochastic_heat2d_test
  1224. stochastic_rk, a C++ code which applies a Runge-Kutta (RK) scheme to a stochastic ordinary differential equation (SODE).
  1225. stochastic_rk_test
  1226. stokes_2d_exact, a C++ code which evaluates exact solutions to the incompressible steady Stokes equations over the unit square in 2D.
  1227. stokes_2d_exact_test
  1228. string_pde, a C++ code which sets up and solves the partial differential equations (PDE) describing a vibrating string, creating files that can be displayed by gnuplot().
  1229. string_pde_test
  1230. stroud, a C++ code which defines quadrature rules for a variety of M-dimensional regions, including the interior of the square, cube and hypercube, the pyramid, cone and ellipse, the hexagon, the M-dimensional octahedron, the circle, sphere and hypersphere, the triangle, tetrahedron and simplex, and the surface of the circle, sphere and hypersphere.
  1231. stroud_test
  1232. subpak, a C++ code which contains many utility routines;
  1233. subpak_test
  1234. subset, a C++ code which enumerates, generates, randomizes, ranks and unranks combinatorial objects including combinations, compositions, Gray codes, index sets, partitions, permutations, polynomials, subsets, and Young tables. Backtracking routines are included to solve some combinatorial problems.
  1235. subset_test
  1236. subset_sum, a C++ code which seeks solutions of the subset sum problem, in which it is desired to find a subset of integers which has a given sum.
  1237. subset_sum_test
  1238. subset_sum_backtrack, a C++ code which uses backtracking to find solutions of the subset sum problem, in which it is desired to find a subset of integers which has a given sum.
  1239. subset_sum_backtrack_test
  1240. subset_sum_brute, a C++ code which uses brute force to find solutions of the subset sum problem, in which it is desired to find a subset of integers which has a given sum.
  1241. subset_sum_brute_test
  1242. svd_basis, a C++ code which applies the singular value decomposition (SVD) to a set of vectors, to extract the dominant modes;
  1243. svd_basis_test
  1244. svd_snowfall, a C++ code which reads a file containing historical snowfall data and analyzes the data with the Singular Value Decomposition (SVD), displaying the results using gnuplot().
  1245. svd_snowfall_test
  1246. svd_test
  1247. svd_truncated, a C++ code which demonstrates the computation of the reduced or truncated Singular Value Decomposition (SVD) that is useful for cases when one dimension of the matrix is much smaller than the other.
  1248. svd_truncated_test
  1249. table_io, a C++ code which reads and writes a simple dataset stored as a table file;
  1250. table_io_test
  1251. task_division, a C++ code which implements a simple procedure for smoothly dividing T tasks among P processors; such a method can be useful in MPI and other parallel environments, particularly when T is not an exact multiple of P, and when the processors can be indexed starting from 0 or from 1.
  1252. task_division_test
  1253. test_approx, a C++ code which implements test problems for approximation, provided as a set of (x,y) data.
  1254. test_approx_test
  1255. test_eigen, a C++ code which implements test matrices for eigenvalue analysis.
  1256. test_eigen_test
  1257. test_int, a C++ code which implements test problems for approximate integration in one dimension.
  1258. test_int_test
  1259. test_int_2d, a C++ code which implements test problems for approximate integration in two dimensions.
  1260. test_int_2d_test
  1261. test_interp, a C++ code which defines test problems for interpolation, provided as a set of (x,y) data.
  1262. test_interp_test
  1263. test_interp_1d, a C++ code which defines test problems for interpolation of data y(x), which depends on a 1D argument.
  1264. test_interp_1d_test
  1265. test_interp_2d, a C++ code which defines test problems for interpolation of data z(x,y), depending on a 2D argument.
  1266. test_interp_2d_test
  1267. test_interp_nd, a C++ code which defines test problems for interpolation of data z(x), depending on an M-dimensional argument.
  1268. test_interp_nd_test
  1269. test_lls, a C++ code which implements linear least squares (LLS) test problems of the form A*x=b.
  1270. test_lls_test
  1271. test_matrix, a C++ code which defines test matrices for which the condition number, determinant, eigenvalues, eigenvectors, inverse, null vectors, P*L*U factorization or linear system solution are known. Examples include the Fibonacci, Hilbert, Redheffer, Vandermonde, Wathen and Wilkinson matrices.
  1272. test_matrix_test
  1273. test_matrix_exponential, a C++ code which defines a set of test cases for computing the matrix exponential.
  1274. test_matrix_exponential_test
  1275. test_min, a C++ code which implements test problems for minimization of a scalar function of a scalar variable.
  1276. test_min_test
  1277. test_nint, a C++ code which implements test problems for approximate integration (quadrature) in M dimensions.
  1278. test_nint_test
  1279. test_opt_con, a C++ code which defines test problems for the minimization of a scalar function of several variables, with the search constrained to lie within a specified hyper-rectangle.
  1280. test_opt_con_test
  1281. test_optimization, a C++ code which implements test problems for optimization of a scalar function of several variables, as described by Molga and Smutnicki.
  1282. test_optimization_test
  1283. test_partial_digest, a C++ code which generates cases of the partial digest problem.
  1284. test_partial_digest_test
  1285. test_values, a C++ code which supplies test values of various mathematical functions, including Abramowitz, AGM, Airy, Bell, Bernoulli, Bessel, Beta, Binomial, Bivariate Normal, Catalan, Cauchy, Chebyshev, Chi Square, Clausen, Clebsch Gordan, Collatz, Cosine integral, Dawson, Debye, Dedekind, dilogarithm, Exponential integral, Elliptic, Error, Euler, Exponential integral, F probability, Fresnel, Frobenius, Gamma, Gegenbauer, Goodwin, Gudermannian, Harmonic, Hermite, Hypergeometric 1F1, Hypergeometric 2F1, inverse trigonometic, Jacobi, Julian Ephemeris Date, Kelvin, Laguerre, Laplace, Legendre, Lerch, Lobachevsky, Lobatto, Logarithmic integral, Log normal, McNugget numbers, Mertens, Mittag-Leffler, Moebius, Multinomial, Negative binomial, Nine J, Normal, Omega, Owen, Partition, Phi, Pi, Poisson, Polylogarithm, Polyomino, Prime, Psi, Rayleigh, Hyperbolic Sine integral, Sigma, Sine Power integral, Sine integral, Six J, Sphere area, Sphere volume, Spherical harmonic, Stirling, Stromgen, Struve, Student, Subfactorial, Student probability, Three J, Transport, Trigamma, Truncated normal, van der Corput, von Mises, Weibull, Wright omega, Zeta.
  1286. test_values_test
  1287. test_zero, a C++ code which implements test problems for the solution of a single nonlinear equation in one variable.
  1288. test_zero_test
  1289. tester, a BASH script which runs the test programs.
  1290. testpack, a C++ code which demonstrates the use of a set of test integrand functions chosen by Alan Genz.
  1291. testpack_test
  1292. tet_mesh, a C++ code which works with tetrahedral meshes in 3D;
  1293. tet_mesh_test
  1294. tet_mesh_boundary, a C++ code which reads information defining a tetrahedral mesh of points in 3D, and determines the triangular faces that form the boundary of the mesh; it writes files containing the nodes and elements defining this tri_surface data.
  1295. tet_mesh_boundary_test
  1296. tet_mesh_display_opengl, a C++ code which reads a mesh of tetrahedrons and displays the nodes and edges using OpenGL.
  1297. tet_mesh_display_opengl_test
  1298. tet_mesh_l2q, a C++ code which reads information about a 4-node (linear) mesh of tetrahedrons and creates data defining a corresponding 10-node (quadratic) mesh;
  1299. tet_mesh_l2q_test
  1300. tet_mesh_q2l, a C++ code which reads information about a 10-node (quadratic) mesh of tetrahedrons and creates data defining a corresponding 4-node (linear) mesh;
  1301. tet_mesh_q2l_test
  1302. tet_mesh_quad, a C++ code which estimates the integral of a function over a region defined by a tetrahedral mesh.
  1303. tet_mesh_quad_test
  1304. tet_mesh_quality, a C++ code which reads a node coordinate file and a tetrahedron file and returns quality measures for the tetrahedral mesh;
  1305. tet_mesh_quality_test
  1306. tet_mesh_rcm, a C++ code which computes the Reverse Cuthill McKee (RCM) reordering for the nodes of a tet_mesh that uses 4-node or 10-node tetrahedrons;
  1307. tet_mesh_rcm_test,
  1308. tet_mesh_refine, a C++ code which refines a mesh of tetrahedrons;
  1309. tet_mesh_refine_test
  1310. tet_mesh_tet_neighbors, a C++ code which reads information about a mesh of tetrahedrons, and creates a list of the tetrahedrons that are adjacent to a given tetrahedron;
  1311. tet_mesh_tet_neighbors_test
  1312. tet_mesh_to_gmsh, a C++ code which converts a mesh of tetrahedrons to gmsh() format;
  1313. tet_mesh_to_gmsh_test
  1314. tet_mesh_to_xml, a C++ code which converts a mesh of tetrahedrons to XML format;
  1315. tet_mesh_to_xml_test
  1316. tet_mesh_volumes, a C++ code which computes the volume of each tetrahedron in a mesh of tetrahedrons;
  1317. tet_mesh_volumes_test
  1318. tetrahedron, a C++ code which computes properties including the centroid, circumsphere, dihedral angles, edge lengths, face angles, face areas, insphere, quality, solid angles, and volume of a tetrahedron in 3D.
  1319. tetrahedron_test
  1320. tetrahedron_arbq_rule, a C++ code which returns quadrature rules, with exactness up to total degree 15, over the interior of a tetrahedron in 3D, by Hong Xiao and Zydrunas Gimbutas.
  1321. tetrahedron_arbq_rule_test
  1322. tetrahedron_exactness, a C++ code which tests the polynomial exactness of a quadrature rule over the interior of a tetrahedron in 3D.
  1323. tetrahedron_exactness_test
  1324. tetrahedron_felippa_rule, a C++ code which returns a Felippa quadrature rule for approximating integrals over the interior of a tetrahedron in 3D.
  1325. tetrahedron_felippa_rule_test
  1326. tetrahedron_grid, a C++ code which computes a grid of points over the interior of a tetrahedron in 3D.
  1327. tetrahedron_grid_test
  1328. tetrahedron_integrals, a C++ code which returns the exact value of the integral of any monomial over the interior of the unit tetrahedron in 3D.
  1329. tetrahedron_integrals_test
  1330. tetrahedron_jaskowiec_rule, a C++ code which returns quadrature rules, with exactness up to total degree 20, over the interior of a tetrahedron in 3D, by Jan Jaskowiec, Natarajan Sukumar.
  1331. tetrahedron_jaskowiec_rule_test
  1332. tetrahedron_keast_rule, a C++ code which defines a Keast quadrature rule, of degree of exactness 0 through 8, over the interior of the tetrahedron in 3D.
  1333. tetrahedron_keast_rule_test
  1334. tetrahedron_monte_carlo, a C++ code which uses the Monte Carlo method to estimate an integral over the interior of a general tetrahedron in 3D.
  1335. tetrahedron_monte_carlo_test
  1336. tetrahedron_ncc_rule, a C++ code which defines Newton-Cotes closed (NCC) quadrature rules over the interior of a tetrahedron in 3D.
  1337. tetrahedron_ncc_rule_test
  1338. tetrahedron_nco_rule, a C++ code which defines Newton-Cotes open (NCO) quadrature rules over the interior of a tetrahedron in 3D.
  1339. tetrahedron_nco_rule_test
  1340. tetrahedron_witherden_rule, a C++ code which returns a symmetric Witherden quadrature rule for the tetrahedron, with exactness up to total degree 10.
  1341. tetrahedron_witherden_rule_test
  1342. tetrahedron01_monte_carlo, a C++ code which uses the Monte Carlo method to estimate an integral over the interior of the unit tetrahedron in 3D.
  1343. tetrahedron01_monte_carlo_test
  1344. three_body_ode, a C++ code which simulates the behavior of three planets, constrained to lie in a plane, and moving under the influence of gravity, by Walter Gander and Jiri Hrebicek.
  1345. three_body_ode_test
  1346. tiler_3d, a C++ code which blends a pattern repeatedly into a region in 3D;
  1347. tiler_3d_test
  1348. timer_test, a C++ code which measures the CPU time used by a portion of a user's program;
  1349. timestamp, a C++ code which prints the current YMDHMS date as a timestamp, and other timekeeping operations;
  1350. timestamp_test
  1351. toeplitz_cholesky, a C++ code which computes the Cholesky factorization of a symmetric positive definite (SPD) Toeplitz matrix.
  1352. toeplitz_cholesky_test
  1353. toms097, a C++ code which computes the distance between all pairs of nodes in a directed graph with weighted edges, using Floyd's algorithm. This is a version of ACM TOMS algorithm 97.
  1354. toms097_test
  1355. toms112, a C++ code which determines whether a point is contained in a polygon, by Moshe Shimrat. This is a version of ACM TOMS algorithm 112.
  1356. toms112_test
  1357. toms178, a C++ code which seeks the minimizer of a scalar function of several variables using the Hooke-Jeeves method, by Arthur Kaupe. This is a version of ACM TOMS algorithm 178.
  1358. toms178_test
  1359. toms179, a C++ code which calculates the incomplete Beta ratio, by Oliver Ludwig. This is a version of ACM TOMS algorithm 179.
  1360. toms179_test
  1361. toms243, a C++ code which evaluates the logarithm of a complex value, by David Collens. This is a version of ACM TOMS algorithm 243.
  1362. toms243_test
  1363. toms291, a C++ code which approximates the logarithm of the Gamma function; this is a version of ACM TOMS algorithm 291.
  1364. toms291_test
  1365. toms443, a C++ code which evaluates Lambert's W function. This is a version of ACM TOMS algorithm 443.
  1366. toms443_test
  1367. toms446, a C++ code which manipulates Chebyshev series for interpolation and approximation. This is a version of ACM TOMS algorithm 446, by Roger Broucke.
  1368. toms446_test
  1369. toms462, a C++ code which evaluates the upper right tail of the bivariate normal distribution; that is, the probability that normal variables X and Y with correlation R will satisfy H <= X and K <= Y. This is a version of ACM TOMS algorithm 462.
  1370. toms462_test
  1371. toms515, a C++ code which selects subsets of size K from a set of size N, This is a version of ACM TOMS Algorithm 515, by Bill Buckles, Matthew Lybanon.
  1372. toms515_test
  1373. toms577, a C++ code which evaluates Carlson's elliptic integral functions RC, RD, RF and RJ. This is a version of ACM TOMS algorithm 577.
  1374. toms577_test
  1375. toms655, a C++ code which computes the weights for interpolatory quadrature rule; this library is commonly called IQPACK, by Sylvan Elhay and Jaroslav Kautsky. This is a version of ACM TOMS algorithm 655.
  1376. toms655_test
  1377. toms743, a C++ code which evaluates Lambert's W function. This is a version of ACM TOMS algorithm 743, by Barry, Barry and Culligan-Hensley.
  1378. toms743_test
  1379. toms886, a C++ code which defines the Padua points for interpolation in a 2D region, including the rectangle, triangle, and ellipse, by Marco Caliari, Stefano de Marchi, Marco Vianello. This is a version of ACM TOMS algorithm 886.
  1380. toms886_test
  1381. toms917, a C++ code which evaluates the Wright Omega function, by Piers Lawrence, Robert Corless, David Jeffrey. This is a version of ACM TOMS algorithm 917.
  1382. toms917_test
  1383. trapezoidal, a C++ code which solves one or more ordinary differential equations (ODE) using the (implicit) trapezoidal method, and a version of fsolve() to handle the nonlinear equation.
  1384. trapezoidal_test
  1385. treepack, a C++ code which defines, analyzes, and manipulates trees, a simple kind of graph with no circuits. Special cases include rooted and binary trees. Representations include adjacency, arc, Pruefer code, and parent. Operations include center, diameter, eccentricity, enumeration, generation one at a time, random selection, traversal.
  1386. treepack_test
  1387. tri_surface_display_opengl, a C++ code which displays the 3D graphics information in a tri_surface file using OpenGL.
  1388. tri_surface_display_opengl_test
  1389. tri_surface_io, a C++ code which reads and writes the 3D graphics information in a tri_surface file;
  1390. tri_surface_io_test
  1391. triangle, a C++ code which computes properties, including angles, area, centroid, circumcircle, edge lengths, incircle, orientation, orthocenter, and quality, of a triangle in 2D.
  1392. triangle_test
  1393. triangle_analyze, a C++ code which reads a triangle defined in a file, and computes angles, area, centroid, circumcircle, edge lengths, incircle, orientation, orthocenter, and quality.
  1394. triangle_analyze_test
  1395. triangle_dunavant_rule, a C++ code which defines Dunavant quadrature rules over the interior of a triangle in 2D.
  1396. triangle_dunavant_rule_test
  1397. triangle_exactness, a C++ code which tests the polynomial exactness of a quadrature rule over the interior of a triangle in 2D.
  1398. triangle_exactness_test
  1399. triangle_fekete_rule, a C++ code which sets up one of seven Fekete rules for interpolation or quadrature over the interior of a triangle in 2D.
  1400. triangle_fekete_rule_test
  1401. triangle_felippa_rule, a C++ code which returns a Felippa quadrature rule for approximating integrals over the interior of a triangle in 2D.
  1402. triangle_felippa_rule_test
  1403. triangle_grid, a C++ code which computes a grid of points over the interior of a triangle in 2D.
  1404. triangle_grid_test
  1405. triangle_histogram, a C++ code which computes histograms of data over the interior of the unit triangle in 2D.
  1406. triangle_histogram_test
  1407. triangle_integrals, a C++ code which returns the exact value of the integral of any polynomial over the interior of an arbitrary triangle in 2D.
  1408. triangle_integrals_test
  1409. triangle_interpolate, a C++ code which shows how vertex data can be interpolated at any point in the interior of a triangle.
  1410. triangle_interpolate_test
  1411. triangle_io, a C++ code which reads or writes files created by Jonathan Shewchuk's triangle() program.
  1412. triangle_io_test
  1413. triangle_lyness_rule, a C++ code which returns Lyness-Jespersen quadrature rules over the interior of a triangle in 2D;
  1414. triangle_lyness_rule_test
  1415. triangle_monte_carlo, a C++ code which uses the Monte Carlo method to estimate an integral over the interior of a general triangle in 2D.
  1416. triangle_monte_carlo_test
  1417. triangle_ncc_rule, a C++ code which defines Newton-Cotes closed (NCC) quadrature rules over the interior of a triangle in 2D.
  1418. triangle_ncc_rule_test
  1419. triangle_nco_rule, a C++ code which defines Newton-Cotes open (NCO) quadrature rules over the interior of a triangle in 2D.
  1420. triangle_nco_rule_test
  1421. triangle_svg, a C++ code which uses Scalable Vector Graphics (SVG) to plot a triangle and any number of points, to illustrate quadrature rules and sampling techniques.
  1422. triangle_svg_test
  1423. triangle_symq_rule, a C++ code which returns efficient symmetric quadrature rules, with exactness up to total degree 50, over the interior of a triangle in 2D, by Hong Xiao and Zydrunas Gimbutas.
  1424. triangle_symq_rule_test
  1425. triangle_to_fem, a C++ code which reads the NODE and ELE files created by Jonathan Shewchuk's triangle() program to describe a triangular mesh, and writes a corresponding pair of node and element files in the 2D FEM format.
  1426. triangle_to_fem_test
  1427. triangle_to_xml, a C++ code which reads the NODE and ELE files created by Jonathan Shewchuk's triangle() program to describe a triangular mesh in 2D, and writes out a corresponding XML mesh file for use by dolfin() or fenics().
  1428. triangle_to_xml_test
  1429. triangle_twb_rule, a C++ code which generates the points and weights of quadrature rules over the interior of a triangle in 2D, determined by Taylor, Wingate, and Bos.
  1430. triangle_twb_rule_test
  1431. triangle_wandzura_rule, a C++ code which returns a Wandzura quadrature rule of exactness 5, 10, 15, 20, 25 or 30 over the interior of the triangle in 2D.
  1432. triangle_wandzura_rule_test
  1433. triangle_witherden_rule, a C code which returns a symmetric Witherden quadrature rule for the triangle, with exactness up to total degree 20.
  1434. triangle_witherden_rule_test
  1435. triangle01_integrals, a C++ code which returns the integral of any monomial over the interior of the unit triangle in 2D.
  1436. triangle01_integrals_test
  1437. triangle01_monte_carlo, a C++ code which uses the Monte Carlo method to estimate an integral over the interior of the unit triangle in 2D.
  1438. triangle01_monte_carlo_test
  1439. triangulation, a C++ code which computes the triangulation of a set of points in the plane, and performs various operations using a triangulation, including searching a Delaunay triangulation to find which triangle contains a given point.
  1440. triangulation_test
  1441. triangulation_boundary_nodes, a C++ code which reads data defining a triangulation, determines which nodes lie on the boundary, and writes their coordinates to a file;
  1442. triangulation_boundary_nodes_test
  1443. triangulation_corner, a C++ code which modifies triangulations in which one or more triangles have more than one boundary edge.
  1444. triangulation_corner_test
  1445. triangulation_delaunay_discrepancy, a C++ code which measures the amount by which a triangulation fails the local Delaunay test;
  1446. triangulation_delaunay_discrepancy_test
  1447. triangulation_display_opengl, a C++ code which reads files defining a 2D triangulation and displays an image using OpenGL.
  1448. triangulation_display_opengl_test
  1449. triangulation_histogram, a C++ code which computes histograms of data over a triangulation.
  1450. triangulation_histogram_test
  1451. triangulation_l2q, a C++ code which reads information about a 3-node (linear) triangulation and creates data defining a corresponding 6-node (quadratic) triangulation;
  1452. triangulation_l2q_test
  1453. triangulation_mask, a C++ code which reads a triangulation and calls a user-supplied routine to consider each triangle for deletion;
  1454. triangulation_mask_test
  1455. triangulation_node_to_element, a C++ code which reads files describing a set of nodes, their triangulation, and the value of one or more quantities at each node, and outputs a file that averages the quantities for each element. This operation in effect creates an "order1" finite element model of the data.
  1456. triangulation_node_to_element_test
  1457. triangulation_orient, a C++ code which ensures that the triangles in an order 3 or order 6 triangulation have positive orientation;
  1458. triangulation_orient_test
  1459. triangulation_plot, a C++ code which plots the nodes and elements of a triangulation as a PostScript (PS) file;
  1460. triangulation_plot_test
  1461. triangulation_q2l, a C++ code which reads information about a 6-node triangulation and creates data defining a corresponding 3-node triangulation;
  1462. triangulation_q2l_test
  1463. triangulation_quad, a C++ code which reads information about a triangulation and the value of a function at the nodes and estimates the integral of the function over the triangulated region.
  1464. triangulation_quad_test
  1465. triangulation_quality, a C++ code which reads information about a triangulation and computes various quality measures;
  1466. triangulation_quality_test
  1467. triangulation_refine, a C++ code which refines a triangulation;
  1468. triangulation_refine_test
  1469. triangulation_svg, a C++ code which creates an SVG image of a triangulation, which can be displayed by a web browser.
  1470. triangulation_svg_test
  1471. triangulation_t3_to_t4, a C++ code which reads information about a 3-node triangulation and creates data defining a corresponding 4-node triangulation (vertices + centroid);
  1472. triangulation_t3_to_t4_test
  1473. triangulation_triangle_neighbors, a C++ code which reads data defining a triangulation, finds the three neighbor triangles for each triangle, and writes them to a file;
  1474. triangulation_triangle_neighbors_test
  1475. truncated_normal, a C++ code which works with the truncated normal distribution over [A,B], or [A,+oo) or (-oo,B], returning the probability density function (PDF), the cumulative density function (CDF), the inverse CDF, the mean, the variance, and sample values.
  1476. truncated_normal_test
  1477. truncated_normal_rule, a C++ code which computes a quadrature rule for a normal probability density function (PDF), sometimes called a Gaussian distribution, that has been truncated to [A,+oo), (-oo,B] or [A,B].
  1478. truncated_normal_rule_test
  1479. tsp_brute, a C++ code which reads a file of city-to-city distances and solves a (small!) traveling salesperson problem, using brute force.
  1480. tsp_brute_test
  1481. ubvec, a C++ code which demonstrates how nonnegative integers can be stored as unsigned binary vectors, and arithmetic can be performed on them.
  1482. ubvec_test
  1483. umfpack_test, a C++ code which calls umfpack(), which solves sparse linear systems, part of the SuiteSparse package, by Timothy Davis.
  1484. unicycle, a C++ code which considers permutations containing a single cycle, sometimes called cyclic permutations.
  1485. unicycle_test
  1486. uniform, a C++ code which implements uniform random number generators (RNG) for a variety of arithmetic types.
  1487. uniform_test
  1488. upc, a C++ code which computes the check digit of a uniform product code (UPC), or reports whether a full 12-digit UPC is actually valid.
  1489. upc_test
  1490. valgrind_test
  1491. van_der_corput, a C++ code which evaluates the van der Corput 1-dimensional Quasi Mont Carlo (QMC) sequence, using a simple interface.
  1492. van_der_corput_test
  1493. vandermonde, a C++ code which implements the Bjork-Pereyra algorithm for accurate solution of linear systems involving the Vandermonde matrix.
  1494. vandermonde_test
  1495. vandermonde_approx_1d, a C++ code which finds a polynomial approximant to data y(x) of a 1D argument by setting up and solving an overdetermined linear system for the polynomial coefficients involving the Vandermonde matrix.
  1496. vandermonde_approx_1d_test
  1497. vandermonde_approx_2d, a C++ code which finds a polynomial approximant p(x,y) to data z(x,y) of a 2D argument by setting up and solving an overdetermined linear system for the polynomial coefficients involving the Vandermonde matrix.
  1498. vandermonde_approx_2d_test
  1499. vandermonde_interp_1d, a C++ code which finds a polynomial interpolant to data y(x) of a 1D argument by setting up and solving a linear system for the polynomial coefficients involving the Vandermonde matrix, creating graphics files for processing by gnuplot().
  1500. vandermonde_interp_1d_test
  1501. vandermonde_interp_2d, a C++ code which finds a polynomial interpolant to data z(x,y) of a 2D argument by setting up and solving a linear system for the polynomial coefficients involving the Vandermonde matrix.
  1502. vandermonde_interp_2d_test
  1503. walker_sample, a C++ code which efficiently samples a discrete probability vector using Walker sampling.
  1504. walker_sample_test
  1505. walsh_transform, a C++ code which implements the Walsh data transform.
  1506. walsh_transform_test
  1507. wathen_matrix, a C++ code which compares storage schemes (full, banded, sparse triplet ) and solution strategies: Linpack full, Linpack banded, conjugate gradient (CG), for linear systems involving the Wathen matrix, which can arise when solving a problem using the finite element method (FEM).
  1508. wathen_matrix_test
  1509. wave_mpi, a C++ code which uses finite differences and the Message Passing Interface (MPI) to estimate a solution to the wave equation.
  1510. wave_mpi_test
  1511. wavelet, a C++ code which does some simple calculations with wavelet transforms;
  1512. wavelet_test
  1513. wedge_exactness, a C++ code which investigates the polynomial exactness of a quadrature rule over the interior of the unit wedge in 3D.
  1514. wedge_exactness_test
  1515. wedge_felippa_rule, a C++ code which returns a Felippa quadrature rule for approximating integrals over the interior of the unit wedge in 3D.
  1516. wedge_felippa_rule_test
  1517. wedge_grid, a C++ code which computes a grid of points over the interior of the unit wedge in 3D.
  1518. wedge_grid_test
  1519. wedge_integrals, a C++ code which returns the exact value of the integral of any monomial over the interior of the unit wedge in 3D.
  1520. wedge_integrals_test
  1521. wedge_monte_carlo, a C++ code which uses the Monte Carlo method to estimate an integral over the interior of the unit wedge in 3D.
  1522. wedge_monte_carlo_test
  1523. weekday, a C++ code which determines the day of the week corresponding to a given date, such as 14 October 1066, Julian calendar, ... which was a Saturday.
  1524. weekday_test
  1525. wishart_matrix, a C++ code which produces sample matrices from the Wishart or Bartlett distributions, useful for sampling random covariance matrices.
  1526. wishart_matrix_test
  1527. wtime, a C++ code which returns a reading of the wall clock time in seconds.
  1528. wtime_test
  1529. zero, a C++ code which seeks a solution of a scalar nonlinear equation f(x)=0, by Richard Brent.
  1530. zero_test
  1531. zero_itp, a C++ code which finds a zero of a scalar function of a scalar variable, starting from a change of sign interval, using the Interpolate/Truncate/Project (ITP) method, which has faster convergence than the bisection method.
  1532. zero_itp_test
  1533. zero_rc, a C++ code which seeks a solution of a scalar nonlinear equation f(x)=0, using reverse communication (RC), by Richard Brent.
  1534. zero_rc_test
  1535. ziggurat, a C++ code which samples the uniform, normal or exponential distributions, using the ziggurat method, by Marsaglia and Tsang.
  1536. ziggurat_test
  1537. ziggurat_inline, a C++ code which generates variates from the uniform, normal or exponential distributions, using an inline random number generator for very fast execution, by Marsaglia and Tsang.
  1538. ziggurat_inline_test
  1539. ziggurat_openmp, a C++ code which demonstrates how ziggurat() can be used as a random number generator (RNG) in an OpenMP parallel program.
  1540. ziggurat_openmp_test


Last revised on 03 March 2024.