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. biharmonic_exact, a C++ code which evaluates exact solutions w(x,y) to the biharmonic equation del^2 w = 0 or wxxxx + 2 wxxyy + wyyyy = 0
  107. biharmonic_exact_test
  108. bins, a C++ code which handles geometric data partially sorted into bins;
  109. bins_test
  110. 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.
  111. bisection_test
  112. 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].
  113. bisection_integer_test
  114. 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).
  115. bisection_rc_test
  116. black_scholes, a C++ code which implements some simple approaches to the Black-Scholes option valuation theory, by Desmond Higham.
  117. black_scholes_test
  118. blas0, a C++ code which contains auxilliary functions for the Basic Linear Algebra Subprograms (BLAS).
  119. blas0_test
  120. 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.
  121. blas1_d_test
  122. 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.
  123. blas1_z_test
  124. blas2_d, a C++ code which constitutes the Level 2 Basic Linear Algebra Subprograms (BLAS), for matrix-vector operations, using double precision real arithmetic.
  125. blas2_d_test
  126. blas3_d, a C++ code which constitutes the Level 3 Basic Linear Algebra Subprograms (BLAS) for matrix-matrix operations, using double precision arithmetic;
  127. blas3_d_test
  128. blend, a C++ code which uses transfinite interpolation to fill in data within a square or a cube based on boundary values;
  129. blend_test
  130. bmp_io, a C++ code which reads or writes the graphics information in a Microsoft BMP file.
  131. bmp_io_test
  132. bmp_to_ppma, a C++ code which converts an image file from Microsoft BMP format to ASCII Portable Pixel Map (PPM) format.
  133. bmp_to_ppma_test
  134. bmp_to_ppmb, a C++ code which converts an image file from Microsoft BMP format to binary Portable Pixel Map (PPM) format.
  135. bmp_to_ppmb_test
  136. boost_test, a C++ code which demonstrates the boost() libraries.
  137. 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;
  138. box_behnken_test
  139. brc_data, a C++ code which creates a file of randomly generated temperature readings to be associated with weather stations at 413 world cities. A file like this, with 1 billion records, is used for the billion record challenge (BRC).
  140. brc_data_test
  141. brc_naive, a C++ code which reads a file of randomly generated temperature readings, associated with weather stations at 413 world cities, and computes the minimum, mean, and maximum temperature for each weather station. It also reports the total execution time. Processing such a data file with one billion records is the substance of the billion record challenge (BRC).
  142. brc_naive_test
  143. brownian_motion_simulation, a C++ code which simulates Brownian motion in an M-dimensional region, creating graphics files for processing by gnuplot().
  144. brownian_motion_simulation_test
  145. burgers_exact, a C++ code which evaluates exact solutions of the time-dependent 1D viscous Burgers equation.
  146. burgers_exact_test
  147. bvec, a C++ code which demonstrates how signed integers can be stored as binary vectors, and arithmetic can be performed on them.
  148. bvec_test
  149. c++_calls_c_test, a C++ code which which calls a C function.
  150. c++_calls_f77_test, a C++ code which calls a FORTRAN77 subroutine.
  151. c++_calls_f90_test, a C++ code which calls a FORTRAN90 subroutine.
  152. c8_complex_lib, a C++ code which implements double precision complex (C8) numbers;
  153. c8_complex_lib_test
  154. c8lib, a C++ code which implements certain elementary functions for double precision complex (C8) variables;
  155. c8lib_test
  156. c8poly, a C++ code which operates on complex polynomials.
  157. c8poly_test
  158. caesar, a C++ code which applies a Caesar Shift Cipher to a string of text.
  159. caesar_test
  160. 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.
  161. calendar_rd_test
  162. calpak, a C++ code which computes various simple calendrical quantities. It can work with various calendars including Egyptian, English, French Revolutionary, Gregorian, Julian, and Julian Ephemeris Date. It can convert a date from one calendar to another. It can return the day of the week for a given date. It can convert from day-number/year to day/month/year format. It can calculate the time difference between two dates.
  163. calpak_test
  164. candy_count, a C++ code which counts the types of candy in a rectangular container, which might be a vector, matrix, or 3D box. The candy is assumed to have C possible types, and to have been entered into the container in a cycle that begins with type 1. While the vector case is easy, it is already difficult to come up with a general formula for the MxN matrix case.
  165. candy_count_test
  166. catalog, a C++ code which reads a C, C++, Fortran77, Fortran90, MATLAB, Octave, Python, or R file, and prints every line that begins with a special index tag that identifies each individual function. 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.
  167. catalog_test
  168. cauchy_principal_value, a C++ code which uses Gauss-Legendre quadrature to estimate the Cauchy Principal Value (CPV) of certain singular integrals.
  169. cauchy_principal_value_test
  170. 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.
  171. caustic_opengl_test
  172. cblas_test, a C++ code which uses cblas(), which, is a C translation of the Fortran77 Basic Linear Algebra Subprograms (BLAS) used by the C translation of the Fortran77 LAPACK linear algebra package.
  173. ccn_rule, a C++ code which defines a nested Clenshaw Curtis quadrature rule.
  174. ccn_rule_test
  175. ccs_io, a C++ code which reads and writes sparse linear systems stored in the Compressed Column Storage (CCS) format.
  176. ccs_io_test
  177. ccs_to_st, a C++ code which converts a sparse matrix from Compressed Column Storage (CCS) to sparse triplet (ST) format.
  178. ccs_to_st_test
  179. 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.
  180. cdflib_test
  181. cellular_automaton, a C++ code which demonstrates the 1D Cellular Automaton known as rule #30.
  182. cellular_automaton_test
  183. 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)
  184. cg_test
  185. 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).
  186. cg_rc_test
  187. 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.
  188. change_dynamic_test
  189. chebyshev, a C++ code which computes the Chebyshev interpolant or approximant to a given function over an interval.
  190. chebyshev_test
  191. 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).
  192. chebyshev_interp_1d_test
  193. 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.
  194. chebyshev_polynomial_test
  195. 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.
  196. chebyshev_series_test
  197. chebyshev1_exactness, a C++ code which tests the polynomial exactness of Gauss-Chebyshev type 1 quadrature rules.
  198. chebyshev1_exactness_test
  199. chebyshev1_rule, a C++ code which computes and writes out a Gauss-Chebyshev type 1 quadrature rule of given order.
  200. chebyshev1_rule_test
  201. chebyshev2_exactness, a C++ code which tests the polynomial exactness of Gauss-Chebyshev type 2 quadrature rules.
  202. chebyshev2_exactness_test
  203. chebyshev2_rule, a C++ code which computes a Gauss-Chebyshev type 2 quadrature rule of given order.
  204. chebyshev2_rule_test
  205. chrpak, a C++ code which manipulates characters and strings;
  206. chrpak_test
  207. circle_arc_grid, a C++ code which computes grid points along a circular arc.
  208. circle_arc_grid_test
  209. 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.
  210. circle_integrals_test
  211. 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;
  212. circle_monte_carlo_test
  213. 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).
  214. circle_rule_test
  215. 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().
  216. circle_segment_test
  217. cities, a C++ code which works with city-to-city distance matrices;
  218. cities_test
  219. clapack_test, a C++ code which uses clapack(), a C translation of the blas() and lapack() linear algebra libraries.
  220. clausen, a C++ code which evaluates a Chebyshev interpolant to the Clausen function Cl2(x).
  221. clausen_test
  222. clenshaw_curtis_grid, a C++ code which sets up a Clenshaw Curtis quadrature rule in multiple dimensions;
  223. clenshaw_curtis_grid_test
  224. clenshaw_curtis_rule, a C++ code which implements a Clenshaw Curtis quadrature rule;
  225. clenshaw_curtis_rule_test
  226. closest_pair_brute, a C++ code which uses brute force to solve a 2D version of the closest pair problem, which identifies the closest pair of points in a given collection.
  227. closest_pair_brute_test
  228. closest_point_brute, a C++ code which uses brute force to find the nearest of a set of N points in D dimensions to a given test point. This is sometimes called a nearest neighbor calculation.
  229. closest_point_brute_test
  230. cnf_io, a C++ code which reads or writes DIMACS Conjunctive Normal Form (CNF) files defining satisfiability problems in terms of a boolean formula.
  231. cnf_io_test
  232. collatz_recursive, a C++ code which demonstrates recursive programming by considering the simple Collatz 3n+1 problem.
  233. collatz_recursive_test
  234. colored_noise, a C++ code which generates samples of noise obeying a 1/f^alpha power law.
  235. colored_noise_test
  236. combo, a C++ code which ranks, unranks, enumerates, lists and randomly selects balanced sequences, cycles, graphs, Gray codes, subsets, partitions, permutations, restricted growth functions, Pruefer codes and trees.
  237. combo_test
  238. 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.
  239. communicator_mpi_test
  240. companion_matrix, a C++ code which computes the companion matrix for a polynomial. The polynomial may be represented in the standard monomial basis, or as a sum of Chebyshev, Gegenbauer, Hermite, Laguerre, or Lagrange basis polynomials. All the roots of the polynomial can be determined as the eigenvalues of the corresponding companion matrix.
  241. companion_matrix_test
  242. 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.
  243. compass_search_test
  244. complex_numbers_test, a C++ code which demonstrates some simple features involved in the use of complex numbers in C programming.
  245. 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.
  246. components_test
  247. condition, a C++ code which implements several methods of computing or estimating the condition number of a matrix.
  248. condition_test
  249. continued_fraction, a C++ code which implements some simple algorithms for dealing with simple and generalized continued fractions.
  250. continued_fraction_test
  251. cordic, a C++ code which computes a few special functions using the CORDIC algorithm.
  252. cordic_test
  253. correlation, a C++ code which contains examples of statistical correlation functions.
  254. correlation_test
  255. cosine_transform, a C++ code which demonstrates some simple properties of the discrete cosine transform (DCT).
  256. cosine_transform_test
  257. cpp_arrays_test, a C++ code which uses vectors, matrices and tensors.
  258. cpp_exact, a C++ code which evaluates exact solutions to a few selected examples of ordinary differential equations (ODE) and partial differential equations (PDE).
  259. cpp_files_test, a C++ code which uses files.
  260. cpp_grid, a C++ code which generates a regular grid of points inside a variety of regions in one, two, three or many dimensions.
  261. cpp_integrals, a C++ code which returns the exact value of the integral of any monomial over a line, square, cube, a polygon, a circle, a disk, a sphere, a ball, a triangle, a tetrahedron, a simplex, and various other geometric regions.
  262. cpp_intrinsics_test, a C++ code which illustrates the use of intrinsic functions supplied by C++.
  263. cpp_monte_carlo, a C++ code which uses Monte Carlo sampling to estimate areas and integrals.
  264. cpp_ode_solver, a C++ code which solves one or more differential equations (ODE) using a method of a particular order, either explicit or implicit. Some methods require a nonlinear equation solver. Some methods used a fixed stepsize, while others adapt the stepsize based on an error estimate.
  265. cpp_random_test, a C++ code which uses the random number generator (RNG) functions.
  266. cpp_rule, a C++ code which computes a quadrature rule which estimates the integral of a function f(x), which might be defined over a one dimensional region (a line) or more complex shapes such as a circle, a triangle, a quadrilateral, a polygon, or a higher dimensional region, and which might include an associated weight function w(x).
  267. 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.
  268. cpp_test, a C++ code which illustrates some features of the C++ language;
  269. cr2crlf, a C++ code which reads a text file and replaces carriage returns by carriage returns + line feeds.
  270. cr2crlf_test
  271. cr2lf, a C++ code which reads a text file and replaces carriage returns by line feeds.
  272. cr2lf_test
  273. crc, a C++ code which computes the cyclic redundancy checksum (CRC) as used by the PNG data format.
  274. crc_test
  275. crrm, a C++ code which reads a text file and removes the carriage return character.
  276. crrm_test
  277. 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.
  278. cube_arbq_rule_test
  279. cube_exactness, a C++ code which investigates the polynomial exactness of quadrature rules over the interior of a cube in 3D.
  280. cube_exactness_test
  281. cube_felippa_rule, a C++ code which returns a Felippa quadrature rule for approximating integrals over the interior of a cube in 3D.
  282. cube_felippa_rule_test
  283. cube_grid, a C++ code which computes a grid of points over the interior of a cube in 3D.
  284. cube_grid_test
  285. 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.
  286. cube_integrals_test
  287. 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.
  288. cube_monte_carlo_test
  289. 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.
  290. cuda_loop_test
  291. cvt, a C++ code which computes an N point Centroidal Voronoi Tessellation (CVT) in M dimensions;
  292. cvt_test
  293. 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;
  294. cvt_box_test
  295. 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.
  296. cycle_brent_test
  297. 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.
  298. cycle_floyd_test
  299. cyclic_reduction, a C++ code which solves a tridiagonal linear system using cyclic reduction;
  300. cyclic_reduction_test
  301. deblank, a C++ code which reads a file and writes a copy containing no blank lines.
  302. deblank_test
  303. decomment, a C++ code which makes a copy of a text file that omits all comment lines, that begin with "#".
  304. decomment_test
  305. delaunay_tree_2d, a C++ code which computes the Delaunay triangulation of a 2D dataset, by Olivier Devillers.
  306. delaunay_tree_2d_test
  307. detroff, a C++ code which removes from a file every occurrence of the troff() overprint pair character+backspace, that makes a man() page printable;
  308. detroff_test
  309. diaphony, a C++ code which computes the diaphony of an M-dimensional pointset.
  310. diaphony_test
  311. differ, a C++ code which is given function values at equally spaced locations, and the order of a derivative, and uses the finite difference method (FDM) to compute a linear combination of these function values which approximated that derivative.
  312. differ_test
  313. dijkstra, a C++ code which implements a simple version of Dijkstra's minimum distance algorithm for graphs.
  314. dijkstra_test
  315. dijkstra_openmp, a C++ code which uses OpenMP to parallelize a simple example of Dijkstra's minimum distance algorithm for graphs.
  316. dijkstra_openmp_test
  317. 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.
  318. discrete_pdf_sample_2d_test
  319. 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.
  320. disk_grid_test
  321. 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;
  322. disk_monte_carlo_test
  323. disk_rule, a C++ code which computes quadrature rules for the general disk in 2D.
  324. disk_rule_test
  325. 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.
  326. disk01_integrals_test
  327. 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;
  328. disk01_monte_carlo_test
  329. 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;
  330. disk01_positive_monte_carlo_test
  331. 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).
  332. disk01_rule_test
  333. dislin_test, a C++ code which calls dislin(), which is a package of scientific graphics software.
  334. divdif, a C++ code which creates, prints and manipulates divided difference polynomials from a table of values (x,f(x)). The code can compute the coefficients of the Newton and power sum forms of the interpolating polynomial. It can compute the derivative or antiderivate polynomial. It can compute the form of the Lagrange basis polynomials. It can compute the points and weights for Newton Cotes quadrature rules. It can compute the weights for a Lagrange interpolation scheme.
  335. divdif_test
  336. 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.
  337. doomsday_test
  338. 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.
  339. dream_test
  340. duel_simulation, a C++ code which simulates N repetitions of a duel between two players, each of whom has a known firing accuracy.
  341. duel_simulation_test
  342. 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.
  343. edge_test
  344. eigs, a C++ code which computes the eigenvalues and eigenvectors of a matrix.
  345. eigs_test
  346. eispack, a C++ code which carries out eigenvalue computations. It includes a function to compute the singular value decomposition (SVD) of a rectangular matrix. superseded by lapack();
  347. eispack_test
  348. 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.
  349. ellipse_test
  350. ellipse_grid, a C++ code which computes grid points over the interior of an ellipse in 2D.
  351. ellipse_grid_test
  352. 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.
  353. ellipse_monte_carlo_test
  354. ellipsoid, a C++ code which carries out geometric calculations for ellipsoids, including area, random sampling, conversion between standard and quadratic forms.
  355. ellipsoid_test
  356. ellipsoid_grid, a C++ code which computes a grid of points over the interior of an ellipsoid in 3D.
  357. ellipsoid_grid_test
  358. 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.
  359. ellipsoid_monte_carlo_test
  360. elliptic_integral, a C++ code which evaluates complete elliptic integrals of first, second and third kind, using Carlson's elliptic integral functions.
  361. elliptic_integral_test
  362. euler, a C++ code which solves one or more ordinary differential equations (ODE) using the forward Euler method.
  363. euler_test
  364. 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).
  365. exactness_test
  366. fair_dice_simulation, a C++ code which simulates N tosses of 2 dice, creating graphics files for processing by gnuplot().
  367. fair_dice_simulation_test
  368. faure, a C++ code which computes elements of the Faure M-dimensional Quasi Mont Carlo (QMC) sequence;
  369. faure_test
  370. fd_predator_prey, a C++ code which solves a pair of predator prey ordinary differential equations (ODE) using the finite difference method (FDM).
  371. fd_predator_prey_test
  372. 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().
  373. fd1d_advection_diffusion_steady_test
  374. 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().
  375. fd1d_advection_ftcs_test
  376. 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().
  377. fd1d_advection_lax_test
  378. 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().
  379. fd1d_advection_lax_wendroff_test
  380. 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.
  381. fd1d_burgers_lax_test
  382. 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.
  383. fd1d_burgers_leap_test
  384. fd1d_bvp, a C++ code which applies the finite difference method (FDM) to a two point boundary value problem (BVP) in one spatial dimension.
  385. fd1d_bvp_test
  386. 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;
  387. fd1d_heat_explicit_test
  388. fd1d_heat_implicit, a C++ code which implements a finite difference method (FDM), implicit in time, of the time dependent 1D heat equation;
  389. fd1d_heat_implicit_test
  390. fd1d_heat_steady, a C++ code which implements a finite difference method (FDM) for the steady (time independent) 1D heat equation;
  391. fd1d_heat_steady_test
  392. 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.
  393. fd1d_wave_test
  394. fd2d_heat_steady, a C++ code which implements a finite difference method (FDM) for the steady (time independent) 2D heat equation;
  395. fd2d_heat_steady_test
  396. 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.)
  397. fem_basis_test
  398. 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;
  399. fem_io_test
  400. 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.
  401. fem_to_gmsh_test
  402. 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.
  403. fem_to_triangle_test
  404. 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.
  405. fem_to_xml_test
  406. 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;
  407. fem1d_test
  408. 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;
  409. fem1d_adaptive_test
  410. 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.
  411. fem1d_bvp_linear_test
  412. 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.
  413. fem1d_bvp_quadratic_test
  414. fem1d_heat_steady, a C++ code which implements the finite element method (FEM) for the steady (time independent) 1D heat equation;
  415. fem1d_heat_steady_test
  416. 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.
  417. fem1d_lagrange_test
  418. 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;
  419. fem1d_nonlinear_test
  420. fem1d_pack, a C++ code which contains utilities for 1D finite element method (FEM) calculations.
  421. fem1d_pack_test
  422. 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;
  423. fem1d_pmethod_test
  424. 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.
  425. fem1d_project_test
  426. 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.
  427. fem1d_sample_test
  428. 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.
  429. fem2d_bvp_linear_test
  430. 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.
  431. fem2d_bvp_quadratic_test
  432. 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.
  433. fem2d_bvp_serene_test
  434. 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;
  435. fem2d_heat_test
  436. 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;
  437. fem2d_heat_rectangle_test
  438. 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.
  439. fem2d_mesh_display_opengl_test
  440. fem2d_pack, a C++ code which implements various 2D finite element method (FEM) calculations;
  441. fem2d_pack_test
  442. 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.
  443. fem2d_poisson_rectangle_test
  444. 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.
  445. fem2d_poisson_rectangle_linear_test
  446. 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.
  447. fem2d_project_test
  448. 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.
  449. fem2d_project_function_test
  450. 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.
  451. fem2d_sample_test
  452. fem3d_pack, a C++ code which contains utilities for 3D finite element method (FEM) calculations.
  453. fem3d_pack_test
  454. 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).
  455. fem3d_project_test
  456. fem3d_sample, a C++ code which evaluates a finite element function defined on a 3D tetrahedral mesh.
  457. fem3d_sample_test
  458. fern_opengl, a C++ code which uses OpenGL to display the Barnsley fractal fern.
  459. fern_opengl_test
  460. 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.
  461. feynman_kac_1d_test
  462. 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.
  463. feynman_kac_2d_test
  464. 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.
  465. feynman_kac_3d_test
  466. fft_openmp, a C++ code which demonstrates the computation of a Fast Fourier Transform (FFT) in parallel, using OpenMP.
  467. fft_openmp_test
  468. 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.
  469. fft_serial_test
  470. 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.
  471. file_name_sequence_test
  472. 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.
  473. files_multiple_test
  474. 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).
  475. filon_rule_test
  476. filum, a C++ code which performs various operations with files;
  477. filum_test
  478. 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.
  479. fire_simulation_test
  480. fisher_exact, a C++ code which returns an exact solution of the Kolmogorov Petrovsky Piskonov Fisher partial differential equation (PDE) ut=uxx+u*(1-u).
  481. fisher_exact_test
  482. flame_exact, a C++ code which returns the exact solution of an ordinary differential equation (ODE) which models the growth of a ball of flame in a combustion process. The exact solution is defined in terms of the Lambert W function.
  483. flame_exact_test
  484. floyd, a C++ code which implements Floyd's algorithm for finding the shortest distance between pairs of nodes on a directed graph.
  485. floyd_test
  486. 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.
  487. fn_test
  488. football_dynamic, a C++ code which uses dynamic programming to count the ways of achieving a given score in football.
  489. football_dynamic_test
  490. freefem_msh_io, a C++ code which reads and writes files used by the FreeFem++ finite element program to store mesh information.
  491. freefem_msh_io_test
  492. 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.
  493. fsolve_test
  494. 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;
  495. fsu_dakota_test
  496. g++_intrinsics_test, a C++ code which tests or demonstrates some of the intrinsic functions provided by the Gnu G++ compiler for C++.
  497. 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++.
  498. gauss_seidel, a C++ code which implements the Gauss-Seidel iteration for linear systems.
  499. gauss_seidel_test
  500. gegenbauer_cc, a C++ code which computes the Gegenbauer weighted integral of a function f(x) using a Clenshaw-Curtis approach.
  501. gegenbauer_cc_test
  502. gegenbauer_exactness, a C++ code which tests the polynomial exactness of Gauss-Gegenbauer quadrature rules.
  503. gegenbauer_exactness_test
  504. gegenbauer_polynomial, a C++ code which evaluates the Gegenbauer polynomial and associated functions.
  505. gegenbauer_polynomial_test
  506. gegenbauer_rule, a C++ code which computes and writes out a Gauss-Gegenbauer quadrature rule of given order.
  507. gegenbauer_rule_test
  508. gen_hermite_exactness, a C++ code which tests the polynomial exactness of generalized Gauss-Hermite quadrature rules.
  509. gen_hermite_exactness_test
  510. gen_hermite_rule, a C++ code which computes and writes out a generalized Gauss-Hermite quadrature rule of given order and parameter value.
  511. gen_hermite_rule_test
  512. gen_laguerre_exactness, a C++ code which tests the polynomial exactness of generalized Gauss-Laguerre quadrature rules.
  513. gen_laguerre_exactness_test
  514. gen_laguerre_rule, a C++ code which computes and writes out a generalized Gauss-Laguerre quadrature rule of given order and parameter value.
  515. gen_laguerre_rule_test
  516. 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.
  517. geometry_test
  518. geompack, a C++ code which computes Delaunay triangulations, Voronoi diagrams, and other information, by Barry Joe.
  519. geompack_test
  520. 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.
  521. gl_fast_rule_test
  522. 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.
  523. glomin_test
  524. 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).
  525. gmsh_io_test
  526. 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.
  527. gmsh_to_fem_test
  528. gnuplot_test, a C++ code which uses gnuplot() to create various kinds of plots.
  529. gprof_test
  530. graphics_dislin_test, a C++ code which creates various kinds of plots using the dislin() library.
  531. graphics_gnuplot_test, a C++ code which creates various kinds of plots using gnuplot().
  532. grf_display_opengl, a C++ code which reads a GRF file containing information about an abstract graph and displays a plot using OpenGL.
  533. grf_display_opengl_test
  534. grf_io, a C++ code which reads or writes a GRF file;
  535. grf_io_test
  536. grid_to_bmp, a C++ code which reads a text file of data on a rectangular grid and creates a BMP graphics file containing a color image of the data.
  537. grid_to_bmp_test
  538. gsl_test, a C++ code which uses the GNU Scientific Library (GSL), which includes utilities to handle Basis splines, BLAS (Basic Linear Algebra Subprograms), Chebyshev Approximation, Complex numbers, Ordinary Differential Equations (ODE), Discrete Hankel Transforms, Discrete Wavelet Transforms, Eigenvalues and Eigenvectors, Fast Fourier Transforms (FFT), Histograms, IEEE Floating Point Calculations, Interpolation, Least Squares Fitting, Linear Algebra, Minimization, Monte Carlo Integration, N-Tuples, Numerical Differentiation, Permutations, Physical Constants, Quadrature (Numerical Integration), Quasi-Random sequences, Random Distributions, Random Numbers, Root finding of general nonlinear equations, Roots of Polynomials, Running Statistics, Series Acceleration, Simulated Annealing, Sorting, Sparse Matrices, Special Functions, Statistics, Vectors and matrices.
  539. haar_transform, a C++ code which computes the Haar transform of 1d or 2d data.
  540. haar_transform_test
  541. halton, a C++ code which computes elements of a Halton Quasi Monte Carlo (QMC) sequence, using a simple interface.
  542. halton_test
  543. hammersley, a C++ code which computes elements of a Hammersley Quasi Monte Carlo (QMC) sequence, using a simple interface.
  544. hammersley_test
  545. hankel_cholesky, a C++ code which computes the upper Cholesky factor R of a symmetric positive definite (SPD) matrix so that H = R' * R.
  546. hankel_cholesky_test
  547. 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'.
  548. hankel_spd_test
  549. hb_io, a C++ code which reads and writes sparse linear systems stored in the Harwell Boeing (HB) format for sparse matrices.
  550. hb_io_test
  551. hdf5_test, a C++ code which uses HDF5, a file format, library, and utility codes for efficiently managaing large and complex datasets.
  552. heat_mpi, a C++ code which uses the Message Passing Interface (MPI) to solve the 1D time dependent heat equation.
  553. heat_mpi_test
  554. 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.
  555. heated_plate_test
  556. 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.
  557. heated_plate_openmp_test
  558. hello, a C++ code which prints out "Hello, world!".
  559. hello_test
  560. hello_mpi, a C++ code which prints out "Hello, world!" using the Message Passing Interface (MPI) for parallel programming.
  561. hello_mpi_test
  562. hello_openmp, a C++ code which prints out "Hello, world!" within the OpenMP parallel programming environment.
  563. hello_openmp_test
  564. helmholtz_openmp, a C++ code which solves the discretized Helmholtz equation in 2D using the OpenMP application program interface for carrying out parallel computations in a shared memory environment.
  565. helmholtz_openmp_test
  566. 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.
  567. hermite_cubic_test
  568. 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).
  569. hermite_exactness_test
  570. hermite_integrands, a C++ code which defines test integrands for Hermite integrals with density exp(-x^2) over the interval (-oo,+oo).
  571. hermite_integrands_test
  572. hermite_interpolant, a C++ code which computes the Hermite interpolant, a polynomial that matches function values and derivatives.
  573. hermite_interpolant_test
  574. hermite_polynomial, a C++ code which evaluates the physicist's Hermite polynomial, the probabilist's Hermite polynomial, the Hermite function, and related functions.
  575. hermite_polynomial_test
  576. hermite_product_polynomial, a C++ code which defines Hermite product polynomials, creating a multivariate polynomial as the product of univariate Hermite polynomials.
  577. hermite_product_polynomial_test
  578. 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).
  579. hermite_rule_test
  580. hexahedron_jaskowiec_rule, a C++ code which returns a symmetric Jaskowiec quadrature rule for the hexahedron, with exactness up to total degree 21.
  581. hexahedron_jaskowiec_rule_test
  582. hexahedron_witherden_rule, a C++ code which returns a symmetric Witherden quadrature rule for the hexahedron, with exactness up to total degree 11.
  583. hexahedron_witherden_rule_test
  584. hexdump, a C++ code which produces a hexadecimal dump of a file;
  585. hexdump_test
  586. 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.
  587. high_card_simulation_test
  588. hilbert_curve, a C++ code which computes the sequence of discrete Hilbert curves whose limit is a space-filling curve.
  589. hilbert_curve_test
  590. 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.
  591. histogram_data_2d_sample_test
  592. htmlindex, a C++ code which creates a skeleton HTML page for a marked-up C, C++ or FORTRAN file;
  593. htmlindex_test
  594. humps, a C++ code which evaluates the humps() function, its first and second derivatives and its antiderivative.
  595. humps_test
  596. 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.
  597. hyper_2f1_test
  598. 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.
  599. hyperball_integrals_test
  600. 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;
  601. hyperball_monte_carlo_test
  602. hypercube_exactness, a C++ code which tests the polynomial exactness of a quadrature rule over the interior of the unit hypercube in M dimensions.
  603. hypercube_exactness_test
  604. hypercube_grid, a C++ code which computes a grid of points over the interior of a hypercube in M dimensions.
  605. hypercube_grid_test
  606. 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.
  607. hypercube_integrals_test
  608. 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.
  609. hypercube_monte_carlo_test
  610. 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.
  611. hypersphere_test
  612. 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.
  613. hypersphere_integrals_test
  614. 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;
  615. hypersphere_monte_carlo_test
  616. i2_binary_to_ascii, a C++ code which converts a file of short int (I2) data from binary to ASCII format.
  617. i2_binary_to_ascii_test
  618. i4lib, a C++ code which contains many utility routines, using single precision integer (I4) arithmetic.
  619. i4lib_test
  620. image_denoise, a C++ code which applies simple filtering operations to a noisy image.
  621. image_denoise_test
  622. image_edge, a C++ code which demonstrates a simple procedure for edge detection in images.
  623. image_edge_test
  624. 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.
  625. index_test
  626. interp, a C++ code which parameterizes and interpolates data;
  627. interp_test
  628. is_prime, a C++ code which implements various versions of the sieve of Eratosthenes to determine whether a given integer is prime.
  629. is_prime_test
  630. isbn, a C++ code which determines the check digit for an International Standard Book Number (ISBN) or report whether a given ISBN is valid.
  631. isbn_test
  632. 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.
  633. ising_2d_simulation_test
  634. jacobi, a C++ code which implements the Jacobi iteration for linear systems.
  635. jacobi_test
  636. jacobi_eigenvalue, a C++ code which implements the Jacobi iteration for the iterative determination of the eigenvalues and eigenvectors of a real symmetric matrix.
  637. jacobi_eigenvalue_test
  638. jacobi_exactness, a C++ code which tests the polynomial exactness of rules for integrals with a Jacobi weight function.
  639. jacobi_exactness_test
  640. jacobi_openmp, a C++ code which illustrates the use of the OpenMP application program interface to parallelize a Jacobi iteration solving A*x=b.
  641. jacobi_openmp_test
  642. jacobi_polynomial, a C++ code which evaluates the Jacobi polynomial and associated functions.
  643. jacobi_polynomial_test
  644. jacobi_rule, a C++ code which computes and writes out a Gauss-Jacobi quadrature rule of given order.
  645. jacobi_rule_test
  646. kdv_exact, a C++ code which evaluates exact solutions of the Korteweg-deVries (KdV) partial differential equation (PDE).
  647. kdv_exact_test
  648. kmeans, a C++ code which handles the K-Means problem, which organizes a set of N points in M dimensions into K clusters;
  649. kmeans_test
  650. knapsack_01_brute, a C++ code which uses brute force to solve small versions of the 0/1 knapsack problem, in which a knapsack of limited weight capacity is to be packed as full as possible, selecting items from a set of varying weights;
  651. knapsack_01_brute_test
  652. knapsack_rational, a C++ code which solves the rational knapsack problem, in which a knapsack of limited weight capacity is filled with profitable items. This variation of the knapsack problem allows a fractional part of an item to be included in the knapsack. The result is an upper bound on the maximum possible profit for the knapsack problem.
  653. knapsack_rational_test
  654. knapsack_values, a C++ code which returns some simple examples of the knapsack problem, in which N items are available, each with given value V and weight W. A thief's knapsack can carry no more than K pounds. The thief seeks a selection S of items to carry in the knapsack of maximum total value.
  655. knapsack_values_test
  656. kronrod_rule, a C++ code which computes a Gauss and Gauss-Kronrod pair of quadrature rules of arbitrary order, by Robert Piessens, Maria Branders.
  657. kronrod_rule_test
  658. 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)).
  659. lagrange_approx_1d_test
  660. 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).
  661. lagrange_interp_1d_test
  662. 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).
  663. lagrange_interp_2d_test
  664. 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).
  665. lagrange_interp_nd_test
  666. lagrange_nd, a C++ code which implements several multivariate Lagrange interpolation schemes developed by Tomas Sauer.
  667. lagrange_nd_test
  668. 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).
  669. laguerre_exactness_test
  670. 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).
  671. laguerre_integrands_test
  672. laguerre_polynomial, a C++ code which evaluates the Laguerre polynomial, the generalized Laguerre polynomials, and the Laguerre function.
  673. laguerre_polynomial_test
  674. 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).
  675. laguerre_rule_test
  676. lambert_w, a C++ code which evaluates Lambert's W function.
  677. lambert_w_test
  678. lapack_test, a C++ code which calls lapack(), which is a Fortran library, containing a standard linear algebra package for solving linear systems, computing matrix factorizations, and solving eigenvalue problems. A precompiled copy of the lapack() library is often available on most scientific computing systems. This code illustrates how a C++ calling program interacts with a Fortran library.
  679. laplacian_matrix, 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.
  680. laplacian_matrix_test
  681. latin_center, a C++ code which computes Latin Center Squares of N points in M dimensions;
  682. latin_center_test
  683. latin_cover, a C++ code which produces N Latin squares which cover an NxN square, or NxN Latin cubes which cover an NxNxN cube.
  684. latin_cover_test
  685. latin_edge, a C++ code which computes Latin Edge Squares of N points in M dimensions;
  686. latin_edge_test
  687. latin_random, a C++ code which computes Latin Random Squares of N points in M dimensions;
  688. latin_random_test
  689. latinize, a C++ code which adjusts N points in M dimensions to form a Latin Hypercube;
  690. latinize_test
  691. lattice_rule, a C++ code which returns lattice rules for M-dimensional integration;
  692. lattice_rule_test
  693. lcvt, a C++ code which creates a Latinized Centroidal Voronoi Tessellation (CVT);
  694. lcvt_test
  695. 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.
  696. lebesgue_test
  697. 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].
  698. legendre_exactness_test
  699. legendre_fast_rule, a C++ code which uses a fast (order N) algorithm to compute a Gauss-Legendre quadrature rule of given order.
  700. legendre_fast_rule_test
  701. legendre_polynomial, a C++ code which evaluates the Legendre polynomial and associated functions.
  702. legendre_polynomial_test
  703. legendre_product_polynomial, a C++ code which defines Legendre product polynomials, creating a multivariate polynomial as the product of univariate Legendre polynomials.
  704. legendre_product_polynomial_test
  705. legendre_rule, a C++ code which writes out a Gauss-Legendre quadrature rule of given order.
  706. legendre_rule_test
  707. legendre_shifted_polynomial, a C++ code which evaluates the shifted Legendre polynomial, with the domain [0,1].
  708. legendre_shifted_polynomial_test
  709. levenshtein_distance, a C++ code which returns the Levenshtein distance between two strings.
  710. levenshtein_distance_test
  711. levenshtein_matrix, a C++ code which returns the Levenshtein distance matrix defined by two strings.
  712. levenshtein_matrix_test
  713. lf2cr, a C++ code which converts linefeeds to carriage returns in a file;
  714. lf2cr_test
  715. lf2crlf, a C++ code which converts linefeeds to carriage returns + linefeeds in a file;
  716. lf2crlf_test
  717. lfrm, a C++ code which removes all linefeed characters from a file;
  718. lfrm_test
  719. life_opengl, a C++ code which uses OpenGL to display the evolution of John Conway's Game of life.
  720. 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.
  721. life_serial_test
  722. lights_out_game, a C++ code which sets up the "Lights Out" game, 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.
  723. 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.
  724. line_cvt_lloyd_test
  725. 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.
  726. line_fekete_rule_test
  727. line_felippa_rule, a C++ code which returns a Felippa quadrature rule for approximating integrals over the interior of a line segment in 1D.
  728. line_felippa_rule_test
  729. line_grid, a C++ code which computes a grid of points over the interior of a line segment in 1D.
  730. line_grid_test
  731. 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.
  732. line_integrals_test
  733. 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.
  734. line_monte_carlo_test
  735. 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.
  736. line_ncc_rule_test
  737. 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.
  738. line_nco_rule_test
  739. linear_algebra, C++ codes which carry out various linear algebra operations for matrices stored in a variety of formats.
  740. linpack_bench, a C++ code which is the LINPACK benchmark program;
  741. linpack_bench_test
  742. 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.
  743. linpack_d_test
  744. 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.
  745. linpack_z_test
  746. lissajous, a C++ code which plots a Lissajous figure, of the form x = sin ( a1 t + b1 ), y = sin ( a2 t + b2 ), using OpenGL.
  747. lissajous_test
  748. 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.
  749. llsq_test
  750. lobatto_polynomial, a C++ code which evaluates Lobatto polynomials similar to Legendre polynomials except that they are 0 at both endpoints.
  751. lobatto_polynomial_test
  752. 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.
  753. local_min_test
  754. 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.
  755. local_min_rc_test
  756. log_normal, a C++ code which returns quantities related to the log normal Probability Distribution Function (PDF).
  757. log_normal_test
  758. 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].
  759. log_normal_truncated_ab_test
  760. logistic_exact, a C++ code which evaluates an exact solution of the logistic equation, an ordinary differential equation (ODE) which models population growth in the face of a limited carrying capacity.
  761. logistic_exact_test
  762. lorenz_ode, a C++ code which solves the Lorenz system of ordinary differential equations (ODE), creating output files that can be displayed by gnuplot().
  763. lorenz_ode_test
  764. 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.
  765. luhn_test
  766. machar, a C++ code which dynamically computes the values of various machine constants, by William Cody;
  767. machar_test
  768. machine, a C++ code which returns tabulated values of the constants associated with computer arithmetic.
  769. machine_test
  770. makefiles_test, a C++ code which illustrates the use of makefiles for maintaining a software project;
  771. mandelbrot, a C++ code which generates an ASCII Portable Pixel Map (PPM) image of the Mandelbrot set;
  772. mandelbrot_test
  773. mandelbrot_openmp, a C++ code which generates an ASCII Portable Pixel Map (PPM) image of the Mandelbrot fractal set, using OpenMP for parallel execution;
  774. mandelbrot_openmp_test
  775. mandelbrot_ppm, a C++ code which generates a binary Portable Pixel Map (PPM) image of the Mandelbrot set, by Eric Weeks.
  776. mandelbrot_ppm_test
  777. mario, a C++ code which creates a sort of "needlepoint" image of Mario, as an array of colored squares.
  778. mario_test
  779. matrix_chain_brute, a C++ code which finds the cost of the most efficient ordering to use when multiplying a sequence of matrices, using brute force.
  780. matrix_chain_brute_test
  781. matrix_chain_dynamic, a C++ code which finds the cost of the most efficient ordering to use when multiplying a sequence of matrices, using dynamic programming.
  782. matrix_chain_dynamic_test
  783. matrix_exponential, a C++ code which demonstrates some simple approaches to the problem of computing the exponential of a matrix.
  784. matrix_exponential_test
  785. md, a C++ code which carries out a molecular dynamics simulation, and is intended as a starting point for implementing an OpenMP parallel version.
  786. md_test
  787. md_openmp, a C++ code which carries out a molecular dynamics simulation in parallel using OpenMP.
  788. md_openmp_test
  789. medit_mesh_io, a C++ code which reads or writes medit() MESH files defining a finite element mesh.
  790. medit_mesh_io_test
  791. 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.
  792. medit_to_fem_test
  793. 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.
  794. memory_test
  795. 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.
  796. mesh_bandwidth_test
  797. 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().
  798. mesh_display_opengl_test
  799. metis_test, a C++ code which demonstrates metis(), which partitions unstructured graphs or meshes, and computes fill-reducing reorderings of sparse matrices.
  800. 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.
  801. mgmres_test
  802. 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.
  803. mgs_test
  804. 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.
  805. middle_square_test
  806. 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.
  807. midpoint_test
  808. midpoint_adaptive, a C++ code which solves one or more ordinary differential equations (ODE) using the (implicit) midpoint method, with fsolve() solving the implicit equation, and an adaptive time step. Plots of the solution and timestep history are created using gnuplot().
  809. midpoint_adaptive_test
  810. 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.
  811. midpoint_explicit_test
  812. 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.
  813. midpoint_fixed_test
  814. 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.
  815. minesweeper_game, a C++ code which is a text-based implementation of the Minesweeper game, by Detelina Stoyanova.
  816. minpack, a C++ code which solves systems of nonlinear equations or nonlinear least squares problems (NLS), by Jorge More, Danny Sorenson, Burton Garbow, Kenneth Hillstrom.
  817. minpack_test
  818. mixed_test, a C++ code which illustrates mixed language programming in which the main program is written in C++;
  819. 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.
  820. monomial_test
  821. monomial_value, a C++ code which evaluates a monomial in M dimensions.
  822. monomial_value_test
  823. mpi_test, a C++ code which illustrates the use of the Message Passing Interface (MPI) for parallel programming;
  824. 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.
  825. multitask_mpi_test
  826. 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.
  827. multitask_openmp_test
  828. mxm, a C++ code which sets up a matrix multiplication problem A=B*C, intended as a starting point for implementing a parallel version.
  829. mxm_test
  830. mxm_openmp, a C++ code which computes a dense matrix product C=A*B, using OpenMP for parallel execution.
  831. mxm_openmp_test
  832. 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().
  833. naca_test
  834. nas, a C++ code which runs the NASA kernel benchmark.
  835. nas_test
  836. 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.
  837. navier_stokes_2d_exact_test
  838. 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.
  839. navier_stokes_3d_exact_test
  840. 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().
  841. nearest_interp_1d_test
  842. 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();
  843. neighbors_to_metis_graph_test
  844. newton_interp_1d, a C++ code which finds a polynomial interpolant to data using Newton divided differences.
  845. newton_interp_1d_test
  846. niederreiter, a C++ code which computes elements of the Niederreiter Quasi Mont Carlo (QMC) M-dimensional sequence [arbitrary base];
  847. niederreiter_test
  848. niederreiter2, a C++ code which computes elements of the Niederreiter M-dimensional Quasi Mont Carlo (QMC) sequence using base 2;
  849. niederreiter2_test
  850. 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.
  851. nint_exactness_mixed_test
  852. nintlib, a C++ code which implements approximate integration (quadrature) in M dimensions;
  853. nintlib_test
  854. normal, a C++ code which implements a random number generator (RNG) for normally distributed values.
  855. normal_test
  856. normal_dataset, a C++ code which creates a multivariate normal random dataset and writes it to a file.
  857. normal_dataset_test
  858. obj_io, a C++ code which reads and writes the data in an OBJ 3D graphics file;
  859. obj_io_test
  860. ode, a C++ code which solves a system of ordinary differential equations (ODE), by Shampine and Gordon;
  861. ode_test
  862. openmp_test, a C++ code which uses the OpenMP interface for parallel programming shared memory system;
  863. optimize_test, a C++ code which looks at the use of automatic optimization by the compiler to make the executable code run faster.
  864. 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().
  865. ornstein_uhlenbeck_test
  866. owen, a C++ code which evaluates Owen's T function;
  867. owen_test
  868. 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.
  869. padua_test
  870. partial_digest, a C++ code which solves the partial digest problem;
  871. partial_digest_test
  872. 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.
  873. partition_brute_test
  874. 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.
  875. patterson_rule_test
  876. pbma_io, a C++ code which reads or writes an ASCII Portable Bit Map (PBM) graphics file;
  877. pbma_io_test
  878. pbmb_io, a C++ code which reads or writes a binary Portable Bit Map (PBM) graphics file;
  879. pbmb_io_test
  880. 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.
  881. pce_burgers_test
  882. 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.
  883. pce_ode_hermite_test
  884. 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.
  885. pdflib_test
  886. pentominoes, a C++ code which forms or plots any of the 12 members of the pentomino family, shapes formed from 5 adjacent squares.
  887. pentominoes_test
  888. persistence, a C++ code which demonstrates how to initialize, get, or set data stored within a function, using static/persistent/saved/local memory.
  889. persistence_test
  890. pgma_io, a C++ code which reads or writes an ASCII Portable Gray Map (PGM) 2D graphics file;
  891. pgma_io_test
  892. pgmb_io, a C++ code which reads or writes a binary Portable Gray Map (PGM) 2D graphics file;
  893. pgmb_io_test
  894. pink_noise, a C++ code which computes a pink noise signal obeying a 1/f power law.
  895. pink_noise_test
  896. point_merge, a C++ code which considers N points in M-dimensional space, and counts or indexes the unique or tolerably unique items.
  897. point_merge_test
  898. poisson_1d, a C++ code which solves a discretized version of the Poisson equation -uxx = f(x) on the interval a ≤ x ≤ b, with Dirichlet boundary conditions u(a) = ua, u(b) = ub. The linear system is solved using Gauss-Seidel iteration.
  899. poisson_1d_test
  900. poisson_1d_multigrid, a C++ code which applies the multigrid method to a discretized version of the 1D Poisson equation.
  901. poisson_1d_multigrid_test
  902. poisson_2d, a C++ code which solves the Poisson equation in a rectangle, using finite differences and Jacobi iteration.
  903. poisson_2d_test
  904. 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.
  905. poisson_openmp_test
  906. 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.
  907. poisson_serial_test
  908. 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().
  909. poisson_simulation_test
  910. 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, Hypergeometric 2F1, Jacobi, Krawtchouk, Laguerre, Lambert, Legendre, Lerch, Meixner, Mertens, Moebius, Motzkin, Phi, Stirling Number, Tau, Tribonacci, Zernike.
  911. polpak_test
  912. 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.
  913. polygon_test
  914. polygon_grid, a C++ code which generates a grid of points over the interior of a polygon in 2D.
  915. polygon_grid_test
  916. polygon_integrals, a C++ code which returns the exact value of the integral of any monomial over the interior of a polygon in 2D.
  917. polygon_integrals_test
  918. 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.
  919. polygon_monte_carlo_test
  920. 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.
  921. polygon_triangulate_test
  922. polygonal_surface_display_opengl, a C++ code which displays a surface in 3D described as polygons, using OpenGL.
  923. polygonal_surface_display_opengl_test
  924. polynomial, a C++ code which adds, multiplies, differentiates, evaluates and prints multivariate polynomials in a space of M dimensions.
  925. polynomial_test
  926. polynomial_conversion, a C++ code which converts representations of a polynomial between monomial, Bernstein, Chebyshev, Gegenbauer, Hermite, Laguerre and Legendre forms.
  927. polynomial_conversion_test
  928. polynomial_root_bound, a C++ code which computes the Cauchy bound on the magnitude of all roots of a polynomial with complex coefficients.
  929. polynomial_root_bound_test
  930. polyominoes, a C++ code which provides some utilities for manipulating polyominoes.
  931. polyominoes_test
  932. porous_medium_exact, a C++ code which returns an exact solution of the porous medium equation (PME), dudt=Del^2(u^m), a partial differential equation (PDE) related to the diffusion equation, based on the Barenblatt solution.
  933. porous_medium_exact_test
  934. power_method, a C++ code which carries out the power method for finding a dominant eigenvalue and its eigenvector.
  935. power_method_test
  936. power_rule, a C++ code which constructs a power rule, that is, a product quadrature rule from identical 1D factor rules.
  937. power_rule_test
  938. ppma_io, a C++ code which reads or writes an ASCII Portable Pixel Map (PPM) graphics file;
  939. ppma_io_test
  940. ppmb_io, a C++ code which reads or writes a binary Portable Pixel Map (PPM) 2D pixel map graphics file;
  941. ppmb_io_test
  942. ppmb_to_bmp, a C++ code which converts a binary Portable Pixel Map (PPM) file to a BMP file.
  943. ppmb_to_bmp_test
  944. ppmb_to_ppma, a C++ code which converts a binary Portable Pixel Map (PPM) file to an ASCII PPM file.
  945. ppmb_to_ppma_test
  946. praxis, a C++ code which minimizes a scalar function of several variables, without requiring derivative information, by Richard Brent.
  947. praxis_test
  948. predator_prey_ode, a C++ code which solves a time-dependent predator-prey system of ordinary differential equations (ODE).
  949. predator_prey_ode_test
  950. 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.
  951. prime_test
  952. prime_fermat, a C++ code which applies Fermat's primality test to an integer n, which always correctly identifies primes, but sometimes also accepts nonprimes. Nonetheless, the test is useful for weeding out most nonprimes. The accuracy of the test can be improved by running it for several bases.
  953. prime_fermat_test
  954. prime_mpi, a C++ code which counts the number of primes between 1 and N, using MPI for parallel execution.
  955. prime_mpi_test
  956. prime_openmp, a C++ code which counts the number of primes between 1 and N, using OpenMP for parallel execution.
  957. prime_openmp_test
  958. prime_pi, a C++ code which evaluates Pi(n), the number of primes less than or equal to an integer n.
  959. prime_pi_test
  960. 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.
  961. prism_jaskowiec_rule_test
  962. 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.
  963. prism_witherden_rule_test
  964. 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.
  965. prob_test
  966. product_rule, a C++ code which creates an M-dimensional quadrature rule from a product of distinct 1d quadrature rules;
  967. product_rule_test
  968. pwl_approx_1d, a C++ code which approximates a set of data using a piecewise linear function.
  969. pwl_approx_1d_test
  970. pwl_interp_1d, a C++ code which interpolates a set of data using a piecewise linear function, creating graphics files for processing by gnuplot().
  971. pwl_interp_1d_test
  972. pwl_interp_2d, a C++ code which evaluates a piecewise linear interpolant to data defined on a regular 2D grid.
  973. pwl_interp_2d_test
  974. 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.
  975. pwl_interp_2d_scattered_test
  976. 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).
  977. pwl_product_integral_test
  978. pyramid_exactness, a C++ code which investigates the polynomial exactness of a quadrature rule over the interior of the unit pyramid in 3D.
  979. pyramid_exactness_test
  980. pyramid_felippa_rule, a C++ code which returns a Felippa quadrature rule for approximating integrals over the interior of a pyramid in 3D.
  981. pyramid_felippa_rule_test
  982. pyramid_grid, a C++ code which computes a grid of points over the interior of the unit pyramid in 3D;
  983. pyramid_grid_test
  984. 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.
  985. pyramid_integrals_test
  986. 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.
  987. pyramid_jaskowiec_rule_test
  988. 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;
  989. pyramid_monte_carlo_test
  990. pyramid_rule, a C++ code which computes a conical product quadrature rule for a pyramid.
  991. pyramid_rule_test
  992. 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.
  993. pyramid_witherden_rule_test
  994. qr_solve, a C++ code which computes the linear least squares (LLS) solution of a system A*x=b.
  995. qr_solve_test
  996. quad_mpi, a C++ code which applies a quadrature rule to estimate an integral, working in parallel by using the Message Passing Interface (MPI);
  997. quad_mpi_test
  998. quad_openmp, a C++ code which applies a quadrature rule to estimate an integral over a 1D interval, using OpenMP for parallel execution;
  999. quad_openmp_test
  1000. quad_rule, a C++ code which defines quadrature rules for approximating integrals;
  1001. quad_rule_test
  1002. quad_serial, a C++ code which applies a quadrature rule to estimate an integral, intended as a starting point for parallelization exercises.
  1003. quad_serial_test
  1004. 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.
  1005. quad2d_test
  1006. quad2d_openmp, a C++ code which applies a product quadrature rule to estimate an integral over a 2D rectangle, using OpenMP for parallel execution;
  1007. quad2d_openmp_test
  1008. 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).
  1009. quadmom_test
  1010. quadrature_golub_welsch, a C++ code which computes the points and weights of a Gaussian quadrature rule using the Golub-Welsch procedure.
  1011. quadrature_golub_welsch_test
  1012. 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.
  1013. quadrature_least_squares_test
  1014. 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.
  1015. quadrature_weights_vandermonde_test
  1016. 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.
  1017. quadrature_weights_vandermonde_2d_test
  1018. quadrilateral_mesh, a C++ code which handles meshes of quadrilaterals over a 2D region;
  1019. quadrilateral_mesh_test
  1020. quadrilateral_mesh_rcm, a C++ code which computes the Reverse Cuthill-McKee (RCM) reordering for nodes in a mesh of 4-node quadrilaterals.
  1021. quadrilateral_mesh_rcm_test
  1022. quadrilateral_witherden_rule, a C++ code which returns a symmetric Witherden quadrature rule for the quadrilateral, with exactness up to total degree 21.
  1023. quadrilateral_witherden_rule_test
  1024. quality, a C++ code which computes quality of distribution measures for pointsets in M dimensions;
  1025. quality_test
  1026. quaternions, a C++ code which carries out some simple arithmetic operations for quaternions.
  1027. quaternions_test
  1028. r83, a C++ code which contains linear algebra routines for r83 matrices (real, 64 bit, tridiagonal 3xN format).
  1029. r83_test
  1030. r83_np, a C++ code which contains linear algebra routines for r83_np matrices (real, 64 bit, tridiagonal 3xN format, nonpivoting factorization).
  1031. r83_np_test
  1032. r83p, a C++ code which contains linear algebra routines for r83p matrices (real, 64 bit, tridiagonal periodic format).
  1033. r83p_test
  1034. r83s, a C++ code which contains linear algebra routines for r83s matrices (real, 64 bit, tridiagonal scalar format).
  1035. r83s_test
  1036. r83t, a C++ code which contains linear algebra routines for r83t matrices (real, 64 bit, tridiagonal Mx3 format).
  1037. r83t_test
  1038. r83v, a C++ code which contains linear algebra routines for r83v matrices (real, 64 bit, tridiagonal three vector format).
  1039. r83v_test
  1040. r85, a C++ code which contains linear algebra routines for r85 matrices (real, 64 bit, pentadiagonal format).
  1041. r85_test
  1042. r8bb, a C++ code which contains linear algebra routines for r8bb matrices (real, 64 bit, border banded format).
  1043. r8bb_test
  1044. r8blt, a C++ code which contains linear algebra routines for r8blt matrices (real, 64 bit, band lower triangular format).
  1045. r8blt_test
  1046. r8bto, a C++ code which contains linear algebra routines for r8bto matrices (real, 64 bit, block Toeplitz format).
  1047. r8bto_test
  1048. r8but, a C++ code which contains linear algebra routines for r8but matrices (real, 64 bit, band upper triangular format).
  1049. r8but_test
  1050. r8cb, a C++ code which contains linear algebra routines for r8cb matrices (real, 64 bit, Compressed Band format).
  1051. r8cb_test
  1052. r8cbb, a C++ code which contains linear algebra routines for r8cbb matrices (real, 64 bit, Compressed Border Banded format).
  1053. r8cbb_test
  1054. r8ccs, a C++ code which contains linear algebra routines for r8ccs matrices (real, 64 bit, Compressed Column Storage (Colptr,Row,Value) format).
  1055. r8ccs_test
  1056. r8ci, a C++ code which contains linear algebra routines for r8ci matrices (real, 64 bit, circulant format).
  1057. r8ci_test
  1058. 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.
  1059. r8col_test
  1060. r8gb, a C++ code which contains linear algebra routines for r8gb matrices (real, 64 bit, General Banded format).
  1061. r8gb_test
  1062. r8gd, a C++ code which contains linear algebra routines for r8gd matrices (real, 64 bit, general diagonal format).
  1063. r8gd_test
  1064. r8ge, a C++ code which contains linear algebra routines for R8GE matrices (real, 64 bit, General format).
  1065. r8ge_test
  1066. r8lib, a C++ code which contains many utility routines, using double precision real (R8) arithmetic.
  1067. r8lib_test
  1068. r8lt, a C++ code which contains linear algebra routines for R8LT matrices (real, 64 bit, Lower Triangular).
  1069. r8lt_test
  1070. r8ltt, a C++ code which contains linear algebra routines for r8ltt matrices (real, 64 bit, lower triangular Toeplitz format).
  1071. r8ltt_test
  1072. r8ncf, a C++ code which contains linear algebra routines for r8ncf matrices (real, 64 bit, nonsymmetric coordinate format).
  1073. r8ncf_test
  1074. r8pbl, a C++ code which contains linear algebra routines for r8pbl matrices (real, 64 bit, symmetric positive definite (SPD) band lower format).
  1075. r8pbl_test
  1076. r8pbu, a C++ code which contains linear algebra routines for r8pbu matrices (real, 64 bit, symmetric positive definite (SPD) band upper format).
  1077. r8pbu_test
  1078. r8po, a C++ code which contains linear algebra routines for r8po matrices (real, 64 bit, symmetric positive definite (SPD) format).
  1079. r8po_test
  1080. 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.
  1081. r8poly_test
  1082. r8pp, a C++ code which contains linear algebra routines for r8pp matrices (real, 64 bit, symmetric positive definite (SPD) packed format).
  1083. r8pp_test
  1084. r8ri, a C++ code which contains linear algebra routines for r8ri matrices (real, 64 bit, row indexed format).
  1085. r8ri_test
  1086. 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.
  1087. r8row_test
  1088. r8sd, a C++ code which contains linear algebra routines for r8sd matrices (real, 64 bit, symmetric diagonal format).
  1089. r8sd_test
  1090. r8sm, a C++ code which contains linear algebra routines for r8sm matrices (real, 64 bit, Sherman-Morrison A-u*v' format).
  1091. r8sm_test
  1092. r8sr, a C++ code which carries out linear algebra operations for r8sr matrices (real, 64 bit, diagonal + compressed row offdiagonal format).
  1093. r8sr_test
  1094. r8ss, a C++ code which carries out linear algebra operations for r8ss matrices (real, 64 bit, symmetric skyline format).
  1095. r8ss_test
  1096. r8st, a C++ code which contains linear algebra routines for r8st matrices (real, 64 bit, Sparse Triplet (ST) (I,J,AIJ) format).
  1097. r8st_test
  1098. r8sto, a C++ code which contains linear algebra routines for r8sto matrices (real, 64 bit, symmetric Toeplitz N format).
  1099. r8sto_test
  1100. r8to, a C++ code which contains linear algebra routines for r8to matrices (real, 64 bit, Toeplitz 2*N-1 format).
  1101. r8to_test
  1102. r8ut, a C++ code which contains linear algebra routines for r8ut matrices (real, 64 bit, Upper Triangular).
  1103. r8ut_test
  1104. r8utp, a C++ code which carries out linear algebra operations on r8utp matrices, real 64 bit, Upper Triangular Packed format.
  1105. r8utp_test
  1106. r8utt, a C++ code which contains linear algebra routines for r8utt matrices (real, 64 bit, upper triangular Toeplitz format).
  1107. r8utt_test
  1108. r8vm, a C++ code which contains linear algebra routines for r8vm matrices (real, 64 bit, vandermonde format).
  1109. r8vm_test
  1110. 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.
  1111. randlc, a C++ code which implements a random number generator (RNG) used by the NAS Benchmark programs.
  1112. randlc_test
  1113. 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.
  1114. random_data_test
  1115. 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.
  1116. random_mpi_test
  1117. random_openmp, a C++ code which illustrates how a parallel program using OpenMP can generate multiple distinct streams of random numbers.
  1118. random_openmp_test
  1119. random_sorted, a C++ code which generates vectors of random values which are already sorted.
  1120. random_sorted_test
  1121. 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.
  1122. ranlib_test
  1123. rbf_interp_1d, a C++ code which defines and evaluates radial basis function (RBF) interpolants to 1D data.
  1124. rbf_interp_1d_test
  1125. rbf_interp_2d, a C++ code which defines and evaluates radial basis function (RBF) interpolants to 2D data.
  1126. rbf_interp_2d_test
  1127. rbf_interp_nd, a C++ code which defines and evaluates radial basis function (RBF) interpolants to M-dimensional data.
  1128. rbf_interp_nd_test
  1129. 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;
  1130. rcm_test
  1131. 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."
  1132. reactor simulation_test
  1133. recomment, a C++ code which converts C style comments to C++ style comments.
  1134. recomment_test
  1135. reword, a C++ code which reads a text file and writes a copy which has a fixed number of words per line.
  1136. reword_test
  1137. 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.
  1138. ring_mpi_test
  1139. rk1, a C++ code which solves one or more ordinary differential equations (ODE) using an explicit Runge-Kutta method of order 1, usually known as Euler's explicit method.
  1140. rk1_test
  1141. rk1_implicit, a C++ code which solves one or more ordinary differential equations (ODE) using the Runge-Kutta order 1 implicit method, with a version of fsolve() handling the associated nonlinear equation, and using a fixed time step. This method is often called the backward Euler method.
  1142. rk1_implicit_test
  1143. rk2, a C++ code which solves one or more ordinary differential equations (ODE) using an explicit Runge-Kutta method of order 2, also known as Heun's method, the modified Euler method, or the explicit midpoint method.
  1144. rk2_test
  1145. rk2_implicit, a C++ code which solves one or more ordinary differential equations (ODE) using the Runge-Kutta order 2 implicit method, using fsolve() to solve the implicit equation, and using a fixed time step. rk2_implicit() is also known as the implicit midpoint method.
  1146. rk2_implicit_test
  1147. 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.
  1148. rk4_test
  1149. rkf45, a C++ code which applies the Runge-Kutta-Fehlberg (RKF) algorithm to solve a system of ordinary differential equations (ODE);
  1150. rkf45_test
  1151. 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.
  1152. rnglib_test
  1153. root_rc, a C++ code which seeks a solution of a scalar nonlinear equation f(x)=0, using reverse communication (RC), by Gaston Gonnet.
  1154. root_rc_test
  1155. roots_rc, a C++ code which seeks solutions of a system of nonlinear equations, using reverse communication (RC), by Gaston Gonnet.
  1156. roots_rc_test
  1157. 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.
  1158. rot13_test
  1159. rotating_cube_display_opengl, a C++ code which displays a rotating color cube in 3D, using OpenGL;
  1160. rotating_cube_display_opengl_test
  1161. 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.
  1162. row_echelon_integer_test
  1163. sandia_cubature, a C++ code which computes M-dimensional quadrature rules for certain regions and weight functions.
  1164. sandia_cubature_test
  1165. 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.
  1166. sandia_rules_test
  1167. 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().
  1168. sandia_rules2_test
  1169. 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.
  1170. sandia_sgmg_test
  1171. 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.
  1172. sandia_sgmga_test
  1173. sandia_sgmgg, a C++ code which explores a generalized construction method for sparse grids.
  1174. sandia_sgmgg_test
  1175. 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.
  1176. sandia_sparse_test
  1177. 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.
  1178. satisfy_brute_test
  1179. 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.
  1180. satisfy_mpi_test
  1181. 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.
  1182. satisfy_openmp_test
  1183. schedule_openmp, a C++ code which demonstrates the default, static, and dynamic methods of scheduling loop iterations in OpenMP to avoid work imbalance.
  1184. schedule_openmp_test
  1185. screenshot_opengl, a C++ code which uses OpenGL() to save a screenshot of the graphics being displayed.
  1186. screenshot_opengl_test
  1187. 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;
  1188. sde_test
  1189. 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.
  1190. search_mpi_test
  1191. 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.
  1192. search_serial_test
  1193. set_theory, a C++ code which demonstrates various set theoretic operations using several models of a set.
  1194. set_theory_test
  1195. sftpack, a C++ code which implements the slow Fourier transform, intended as a teaching tool and comparison with the Fast Fourier Transform (FFT).
  1196. sftpack_test
  1197. sgefa_openmp, a C++ code which compares a standard linear algebra solver against a revised version which can be run in parallel with OpenMP.
  1198. sgefa_openmp_test
  1199. sgmg, a C++ code which constructs a sparse grid whose factors are possibly distinct 1D quadrature rules.
  1200. sgmg_test
  1201. sgmga, a C++ code which implements a family of sparse grid rules. These rules are "mixed", in that a different 1D quadrature rule can be specified for each dimension. Moreover, each 1D quadrature rule comes in a family of increasing size whose growth rate (typically linear or exponential) is chosen by the user. Finally, the user may also specify different weights for each dimension, resulting in anisotropic rules.
  1202. sgmga_test
  1203. shallow_water_1d, a C++ code which simulates the evolution of a 1D fluid governed by the time-dependent shallow water equations.
  1204. shallow_water_1d_test
  1205. shepard_interp_1d, a C++ code which defines and evaluates Shepard interpolants to 1D data, based on inverse distance weighting.
  1206. shepard_interp_1d_test
  1207. shepard_interp_2d, a C++ code which defines and evaluates Shepard interpolants to 2D data, based on inverse distance weighting.
  1208. shepard_interp_2d_test
  1209. shepard_interp_nd, a C++ code which defines and evaluates Shepard interpolants to M-dimensional data, based on inverse distance weighting.
  1210. shepard_interp_nd_test
  1211. sigmoid_derivative, a C++ code which evaluates derivatives of any order for the sigmoid function s(x)=1/(1+exp(-x)). The test code creates graphics images using gnuplot().
  1212. sigmoid_derivative_test
  1213. simple_ga, a C++ code which is a simple example of a genetic algorithm, by Dennis Cormier and Sita Raghavan.
  1214. simple_ga_test
  1215. simplex_coordinates, a C++ code which computes the Cartesian coordinates of the vertices of a regular simplex in M dimensions.
  1216. simplex_coordinates_test
  1217. 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.
  1218. simplex_gm_rule_test
  1219. simplex_grid, a C++ code which generates a regular grid of points over the interior of an arbitrary simplex in M dimensions.
  1220. simplex_grid_test
  1221. 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.
  1222. simplex_integrals_test
  1223. 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.
  1224. simplex_monte_carlo_test
  1225. sine_gordon_exact, a C++ code which returns an exact solution of the Sine-Gordon equation, a partial differential equation (PDE) of the form uxy=sin(u).
  1226. sine_gordon_exact_test
  1227. sine_transform, a C++ code which demonstrates some simple properties of the discrete sine transform.
  1228. sine_transform_test
  1229. snakes_and_ladders, a C++ code which provides tools to analyze the game of Snakes and Ladders.
  1230. snakes_and_ladders_test
  1231. 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.
  1232. sobol_test
  1233. solve, a C++ code which implements a linear solver which makes it easy to create doubly-dimensioned arrays and solve associated linear systems.
  1234. solve_test
  1235. 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.
  1236. sor_test
  1237. sort_rc, a C++ code which sorts a list of any kind of objects, using reverse communication (RC).
  1238. sort_rc_test
  1239. 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.
  1240. sparse_count_test
  1241. 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.
  1242. sparse_display_test
  1243. sparse_grid_cc, a C++ code which creates sparse grids based on Clenshaw-Curtis rules.
  1244. sparse_grid_cc_test
  1245. sparse_grid_gl, a C++ code which creates sparse grids based on Gauss-Legendre rules.
  1246. sparse_grid_gl_test
  1247. sparse_grid_hermite, a C++ code which creates sparse grids based on Gauss-Hermite rules.
  1248. sparse_grid_hermite_test
  1249. 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.
  1250. sparse_grid_hw_test
  1251. sparse_grid_laguerre, a C++ code which creates sparse grids based on Gauss-Laguerre rules.
  1252. sparse_grid_laguerre_test
  1253. sparse_grid_mixed, a C++ code which creates a sparse grid dataset based on a mixed set of 1D factor rules.
  1254. sparse_grid_mixed_test
  1255. sparse_interp_nd, a C++ code which defines a sparse interpolant to a function f(x) of a M-dimensional argument.
  1256. sparse_interp_nd_test
  1257. sphere_exactness, a C++ code which tests the polynomial exactness of a quadrature rule over the surface of the unit sphere in 3D;
  1258. sphere_exactness_test
  1259. 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.
  1260. sphere_fibonacci_grid_test
  1261. 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.
  1262. sphere_grid_test
  1263. 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.
  1264. sphere_integrals_test
  1265. sphere_lebedev_rule, a C++ code which computes Lebedev quadrature rules for the surface of the unit sphere in 3D;
  1266. sphere_lebedev_rule_test
  1267. 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.
  1268. sphere_llq_grid_test
  1269. 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.
  1270. sphere_llt_grid_test
  1271. 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;
  1272. sphere_monte_carlo_test
  1273. sphere_quad, a C++ code which uses triangulation to approximate an integral over the surface of the unit sphere in 3D;
  1274. sphere_quad_test
  1275. 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.
  1276. sphere_stereograph_test
  1277. 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;
  1278. sphere_triangle_monte_carlo_test
  1279. 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.
  1280. sphere_triangle_quad_test
  1281. 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.
  1282. sphere_voronoi_display_opengl_test
  1283. 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.
  1284. sphere_xyz_display_opengl_test
  1285. spiral_exact, a C++ code which computes a 2D velocity vector field that is an exact solution of the continuity equation.
  1286. spiral_exact_test
  1287. spline, a C++ code which interpolates or approximates data by piecewise polynomial functions;
  1288. spline_test
  1289. 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.
  1290. square_arbq_rule_test
  1291. 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.
  1292. square_exactness_test
  1293. square_felippa_rule, a C++ code which returns a Felippa quadrature rule for approximating integrals over the interior of a square in 2D.
  1294. square_felippa_rule_test
  1295. square_grid, a C++ code which computes a grid of points over the interior of a square in 2D.
  1296. square_grid_test
  1297. square_hex_grid, a C++ code which computes a hexagonal grid of points over the interior of a square in 2D.
  1298. square_hex_grid_test
  1299. 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.
  1300. square_integrals_test
  1301. 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.
  1302. square_minimal_rule_test
  1303. 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.
  1304. square_monte_carlo_test
  1305. 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.
  1306. square_symq_rule_test
  1307. st_io, a C++ code which reads and writes sparse linear systems stored in the Sparse Triplet (ST) format.
  1308. st_io_test
  1309. st_to_ccs, a C++ code which converts sparse matrix data from Sparse Triplet (ST) format to Compressed Column Storage (CCS) format;
  1310. st_to_ccs_test
  1311. 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.
  1312. star_discrepancy_test
  1313. stiff_ode, a C++ code which considers an ordinary differential equation (ODE) which is an example of a stiff ODE.
  1314. stiff_ode_test
  1315. stla_io, a C++ code which reads and writes ASCII stereolithography (STL) 3d graphics files;
  1316. stla_io_test
  1317. stochastic_diffusion, functions which implement several versions of a stochastic diffusivity coefficient.
  1318. stochastic_diffusion_test
  1319. 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.
  1320. stochastic_heat2d_test
  1321. stochastic_rk, a C++ code which applies a Runge-Kutta (RK) scheme to a stochastic ordinary differential equation (SODE).
  1322. stochastic_rk_test
  1323. stokes_2d_exact, a C++ code which evaluates exact solutions to the incompressible steady Stokes equations over the unit square in 2D.
  1324. stokes_2d_exact_test
  1325. 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().
  1326. string_pde_test
  1327. stroud_rule, 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.
  1328. stroud_rule_test
  1329. subpak, a C++ code which contains many utility routines;
  1330. subpak_test
  1331. 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.
  1332. subset_test
  1333. 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.
  1334. subset_sum_test
  1335. 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.
  1336. subset_sum_backtrack_test
  1337. 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.
  1338. subset_sum_brute_test
  1339. subset_sum_swap, a C++ code which uses swapping to try to improve an initial estimated solution of the subset sum problem, which seeks a subset of a set of integers which has a given sum. Even when an exact solution exists, this approach often only finds an approximate solution.
  1340. subset_sum_swap_test
  1341. svd_basis, a C++ code which applies the singular value decomposition (SVD) to a set of vectors, to extract the dominant modes;
  1342. svd_basis_test
  1343. 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().
  1344. svd_snowfall_test
  1345. svd_test, a C++ code which demonstrates the computation of the singular value decomposition (SVD) and a few of its properties.
  1346. 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.
  1347. svd_truncated_test
  1348. table_io, a C++ code which reads and writes a simple dataset stored as a table file;
  1349. table_io_test
  1350. 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.
  1351. task_division_test
  1352. test_approx, a C++ code which implements test problems for approximation, provided as a set of (x,y) data.
  1353. test_approx_test
  1354. test_eigen, a C++ code which implements test matrices for eigenvalue analysis.
  1355. test_eigen_test
  1356. test_int, a C++ code which implements test problems for approximate integration in one dimension.
  1357. test_int_test
  1358. test_int_2d, a C++ code which implements test problems for approximate integration in two dimensions.
  1359. test_int_2d_test
  1360. test_interp, a C++ code which defines test problems for interpolation, provided as a set of (x,y) data.
  1361. test_interp_test
  1362. test_interp_1d, a C++ code which defines test problems for interpolation of data y(x), which depends on a 1D argument.
  1363. test_interp_1d_test
  1364. test_interp_2d, a C++ code which defines test problems for interpolation of data z(x,y), depending on a 2D argument.
  1365. test_interp_2d_test
  1366. test_interp_nd, a C++ code which defines test problems for interpolation of data z(x), depending on an M-dimensional argument.
  1367. test_interp_nd_test
  1368. test_lls, a C++ code which implements linear least squares (LLS) test problems of the form A*x=b.
  1369. test_lls_test
  1370. 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.
  1371. test_matrix_test
  1372. test_matrix_exponential, a C++ code which defines a set of test cases for computing the matrix exponential.
  1373. test_matrix_exponential_test
  1374. test_min, a C++ code which implements test problems for minimization of a scalar function of a scalar variable.
  1375. test_min_test
  1376. test_nint, a C++ code which implements test problems for approximate integration (quadrature) in M dimensions.
  1377. test_nint_test
  1378. 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.
  1379. test_opt_con_test
  1380. test_optimization, a C++ code which implements test problems for optimization of a scalar function of several variables, as described by Molga and Smutnicki.
  1381. test_optimization_test
  1382. test_partial_digest, a C++ code which generates cases of the partial digest problem.
  1383. test_partial_digest_test
  1384. 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, Dixon elliptic functions, Exponential integral, Elliptic, Error, Euler, Exponential integral, F probability, Fresnel, Frobenius, Gamma, Gegenbauer, Goodwin, Gudermannian, Harmonic, Hermite, Hypergeometric 1F1, Hypergeometric 2F1, inverse trigonometic, Jacobi Elliptic functions sn(), cn(), dn(), the Julian Ephemeris Date, Kelvin, Laguerre, Lambert W, Laplace, Legendre, Lerch, Lobachevsky, Lobatto, Logarithmic integral, Log normal, McNugget numbers, Mersenne primes, Mertens, Mittag-Leffler, Moebius, Multinomial, Negative binomial, Nine J, Normal, Omega, Owen, Partition, Phi, Pi, Poisson, Polylogarithm, Polynomial Resultant, 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.
  1385. test_values_test
  1386. test_zero, a C++ code which implements test problems for the solution of a single nonlinear equation in one variable.
  1387. test_zero_test
  1388. tester, a BASH script which runs the test programs.
  1389. testpack, a C++ code which demonstrates the use of a set of test integrand functions chosen by Alan Genz.
  1390. testpack_test
  1391. tet_mesh, a C++ code which works with tetrahedral meshes in 3D;
  1392. tet_mesh_test
  1393. 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.
  1394. tet_mesh_boundary_test
  1395. tet_mesh_display_opengl, a C++ code which reads a mesh of tetrahedrons and displays the nodes and edges using OpenGL.
  1396. tet_mesh_display_opengl_test
  1397. 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;
  1398. tet_mesh_l2q_test
  1399. 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;
  1400. tet_mesh_q2l_test
  1401. tet_mesh_quad, a C++ code which estimates the integral of a function over a region defined by a tetrahedral mesh.
  1402. tet_mesh_quad_test
  1403. tet_mesh_quality, a C++ code which reads a node coordinate file and a tetrahedron file and returns quality measures for the tetrahedral mesh;
  1404. tet_mesh_quality_test
  1405. 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;
  1406. tet_mesh_rcm_test,
  1407. tet_mesh_refine, a C++ code which refines a mesh of tetrahedrons;
  1408. tet_mesh_refine_test
  1409. 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;
  1410. tet_mesh_tet_neighbors_test
  1411. tet_mesh_to_gmsh, a C++ code which converts a mesh of tetrahedrons to gmsh() format;
  1412. tet_mesh_to_gmsh_test
  1413. tet_mesh_to_xml, a C++ code which converts a mesh of tetrahedrons to XML format;
  1414. tet_mesh_to_xml_test
  1415. tet_mesh_volumes, a C++ code which computes the volume of each tetrahedron in a mesh of tetrahedrons;
  1416. tet_mesh_volumes_test
  1417. 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.
  1418. tetrahedron_test
  1419. 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.
  1420. tetrahedron_arbq_rule_test
  1421. tetrahedron_exactness, a C++ code which tests the polynomial exactness of a quadrature rule over the interior of a tetrahedron in 3D.
  1422. tetrahedron_exactness_test
  1423. tetrahedron_felippa_rule, a C++ code which returns a Felippa quadrature rule for approximating integrals over the interior of a tetrahedron in 3D.
  1424. tetrahedron_felippa_rule_test
  1425. tetrahedron_grid, a C++ code which computes a grid of points over the interior of a tetrahedron in 3D.
  1426. tetrahedron_grid_test
  1427. 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.
  1428. tetrahedron_integrals_test
  1429. 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.
  1430. tetrahedron_jaskowiec_rule_test
  1431. 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.
  1432. tetrahedron_keast_rule_test
  1433. 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.
  1434. tetrahedron_monte_carlo_test
  1435. tetrahedron_ncc_rule, a C++ code which defines Newton-Cotes closed (NCC) quadrature rules over the interior of a tetrahedron in 3D.
  1436. tetrahedron_ncc_rule_test
  1437. tetrahedron_nco_rule, a C++ code which defines Newton-Cotes open (NCO) quadrature rules over the interior of a tetrahedron in 3D.
  1438. tetrahedron_nco_rule_test
  1439. tetrahedron_witherden_rule, a C++ code which returns a symmetric Witherden quadrature rule for the tetrahedron, with exactness up to total degree 10.
  1440. tetrahedron_witherden_rule_test
  1441. 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.
  1442. tetrahedron01_monte_carlo_test
  1443. 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.
  1444. three_body_ode_test
  1445. tiler_3d, a C++ code which blends a pattern repeatedly into a region in 3D;
  1446. tiler_3d_test
  1447. timer_test, a C++ code which measures the CPU time used by a portion of a user's program;
  1448. timestamp, a C++ code which prints the current YMDHMS date as a timestamp, and other timekeeping operations;
  1449. timestamp_test
  1450. toeplitz_cholesky, a C++ code which computes the Cholesky factorization of a symmetric positive definite (SPD) Toeplitz matrix.
  1451. toeplitz_cholesky_test
  1452. 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.
  1453. toms097_test
  1454. 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.
  1455. toms112_test
  1456. 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.
  1457. toms178_test
  1458. toms179, a C++ code which calculates the incomplete Beta ratio, by Oliver Ludwig. This is a version of ACM TOMS algorithm 179.
  1459. toms179_test
  1460. toms243, a C++ code which evaluates the logarithm of a complex value, by David Collens. This is a version of ACM TOMS algorithm 243.
  1461. toms243_test
  1462. toms291, a C++ code which approximates the logarithm of the Gamma function; this is a version of ACM TOMS algorithm 291.
  1463. toms291_test
  1464. toms443, a C++ code which evaluates Lambert's W function. This is a version of ACM TOMS algorithm 443.
  1465. toms443_test
  1466. toms446, a C++ code which manipulates Chebyshev series for interpolation and approximation. This is a version of ACM TOMS algorithm 446, by Roger Broucke.
  1467. toms446_test
  1468. 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.
  1469. toms462_test
  1470. 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.
  1471. toms515_test
  1472. 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.
  1473. toms577_test
  1474. 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.
  1475. toms655_test
  1476. 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.
  1477. toms743_test
  1478. 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.
  1479. toms886_test
  1480. 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.
  1481. toms917_test
  1482. 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.
  1483. trapezoidal_test
  1484. 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.
  1485. treepack_test
  1486. tri_surface_display_opengl, a C++ code which displays the 3D graphics information in a tri_surface file using OpenGL.
  1487. tri_surface_display_opengl_test
  1488. tri_surface_io, a C++ code which reads and writes the 3D graphics information in a tri_surface file;
  1489. tri_surface_io_test
  1490. triangle, a C++ code which computes properties, including angles, area, centroid, circumcircle, edge lengths, incircle, orientation, orthocenter, and quality, of a triangle in 2D.
  1491. triangle_test
  1492. 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.
  1493. triangle_analyze_test
  1494. triangle_dunavant_rule, a C++ code which defines Dunavant quadrature rules over the interior of a triangle in 2D.
  1495. triangle_dunavant_rule_test
  1496. triangle_exactness, a C++ code which tests the polynomial exactness of a quadrature rule over the interior of a triangle in 2D.
  1497. triangle_exactness_test
  1498. 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.
  1499. triangle_fekete_rule_test
  1500. triangle_felippa_rule, a C++ code which returns a Felippa quadrature rule for approximating integrals over the interior of a triangle in 2D.
  1501. triangle_felippa_rule_test
  1502. triangle_grid, a C++ code which computes a grid of points over the interior of a triangle in 2D.
  1503. triangle_grid_test
  1504. triangle_histogram, a C++ code which computes histograms of data over the interior of the unit triangle in 2D.
  1505. triangle_histogram_test
  1506. 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.
  1507. triangle_integrals_test
  1508. triangle_interpolate, a C++ code which shows how vertex data can be interpolated at any point in the interior of a triangle.
  1509. triangle_interpolate_test
  1510. triangle_io, a C++ code which reads or writes files created by Jonathan Shewchuk's triangle() program.
  1511. triangle_io_test
  1512. triangle_lyness_rule, a C++ code which returns Lyness-Jespersen quadrature rules over the interior of a triangle in 2D;
  1513. triangle_lyness_rule_test
  1514. 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.
  1515. triangle_monte_carlo_test
  1516. triangle_ncc_rule, a C++ code which defines Newton-Cotes closed (NCC) quadrature rules over the interior of a triangle in 2D.
  1517. triangle_ncc_rule_test
  1518. triangle_nco_rule, a C++ code which defines Newton-Cotes open (NCO) quadrature rules over the interior of a triangle in 2D.
  1519. triangle_nco_rule_test
  1520. 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.
  1521. triangle_svg_test
  1522. 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.
  1523. triangle_symq_rule_test
  1524. 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.
  1525. triangle_to_fem_test
  1526. 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().
  1527. triangle_to_xml_test
  1528. 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.
  1529. triangle_twb_rule_test
  1530. 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.
  1531. triangle_wandzura_rule_test
  1532. triangle_witherden_rule, a C code which returns a symmetric Witherden quadrature rule for the triangle, with exactness up to total degree 20.
  1533. triangle_witherden_rule_test
  1534. triangle01_integrals, a C++ code which returns the integral of any monomial over the interior of the unit triangle in 2D.
  1535. triangle01_integrals_test
  1536. 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.
  1537. triangle01_monte_carlo_test
  1538. 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.
  1539. triangulation_test
  1540. 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;
  1541. triangulation_boundary_nodes_test
  1542. triangulation_corner, a C++ code which modifies triangulations in which one or more triangles have more than one boundary edge.
  1543. triangulation_corner_test
  1544. triangulation_delaunay_discrepancy, a C++ code which measures the amount by which a triangulation fails the local Delaunay test;
  1545. triangulation_delaunay_discrepancy_test
  1546. triangulation_display_opengl, a C++ code which reads files defining a 2D triangulation and displays an image using OpenGL.
  1547. triangulation_display_opengl_test
  1548. triangulation_histogram, a C++ code which computes histograms of data over a triangulation.
  1549. triangulation_histogram_test
  1550. triangulation_l2q, a C++ code which reads information about a 3-node (linear) triangulation and creates data defining a corresponding 6-node (quadratic) triangulation;
  1551. triangulation_l2q_test
  1552. triangulation_mask, a C++ code which reads a triangulation and calls a user-supplied routine to consider each triangle for deletion;
  1553. triangulation_mask_test
  1554. 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.
  1555. triangulation_node_to_element_test
  1556. triangulation_orient, a C++ code which ensures that the triangles in an order 3 or order 6 triangulation have positive orientation;
  1557. triangulation_orient_test
  1558. triangulation_plot, a C++ code which plots the nodes and elements of a triangulation as a PostScript (PS) file;
  1559. triangulation_plot_test
  1560. triangulation_q2l, a C++ code which reads information about a 6-node triangulation and creates data defining a corresponding 3-node triangulation;
  1561. triangulation_q2l_test
  1562. 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.
  1563. triangulation_quad_test
  1564. triangulation_quality, a C++ code which reads information about a triangulation and computes various quality measures;
  1565. triangulation_quality_test
  1566. triangulation_rcm, a C++ code which reads files describing a triangulation of nodes in 2D, and applies the Reverse Cuthill McKee (RCM) algorithm to produce a renumbering of the triangulation with a reduced bandwidth.
  1567. triangulation_rcm_test
  1568. triangulation_refine, a C++ code which refines a triangulation;
  1569. triangulation_refine_test
  1570. triangulation_svg, a C++ code which creates an SVG image of a triangulation, which can be displayed by a web browser.
  1571. triangulation_svg_test
  1572. 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);
  1573. triangulation_t3_to_t4_test
  1574. 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;
  1575. triangulation_triangle_neighbors_test
  1576. 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.
  1577. truncated_normal_test
  1578. 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].
  1579. truncated_normal_rule_test
  1580. tsp_brute, a C++ code which reads a file of city-to-city distances and solves a (small!) traveling salesperson problem, using brute force.
  1581. tsp_brute_test
  1582. ubvec, a C++ code which demonstrates how nonnegative integers can be stored as unsigned binary vectors, and arithmetic can be performed on them.
  1583. ubvec_test
  1584. umfpack_test, a C++ code which calls umfpack(), which solves sparse linear systems, part of the SuiteSparse package, by Timothy Davis.
  1585. uncontrol, a C++ code which makes a copy of a text file which contains no control characters.
  1586. uncontrol_test
  1587. unicycle, a C++ code which considers permutations containing a single cycle, sometimes called cyclic permutations.
  1588. unicycle_test
  1589. uniform, a C++ code which implements uniform random number generators (RNG) for a variety of arithmetic types.
  1590. uniform_test
  1591. 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.
  1592. upc_test
  1593. valgrind_test, a C++ code which uses valgrind(), a suite of debuggers and applications which include a memory leak detector.
  1594. van_der_corput, a C++ code which evaluates the van der Corput 1-dimensional Quasi Mont Carlo (QMC) sequence, using a simple interface.
  1595. van_der_corput_test
  1596. vandermonde, a C++ code which implements the Bjork-Pereyra algorithm for accurate solution of linear systems involving the Vandermonde matrix.
  1597. vandermonde_test
  1598. 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.
  1599. vandermonde_approx_1d_test
  1600. 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.
  1601. vandermonde_approx_2d_test
  1602. 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().
  1603. vandermonde_interp_1d_test
  1604. 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.
  1605. vandermonde_interp_2d_test
  1606. walker_sample, a C++ code which efficiently samples a discrete probability vector using Walker sampling.
  1607. walker_sample_test
  1608. walsh_transform, a C++ code which implements the Walsh data transform.
  1609. walsh_transform_test
  1610. 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).
  1611. wathen_matrix_test
  1612. wave_mpi, a C++ code which uses the finite difference method (FDM) and the Message Passing Interface (MPI) to estimate a solution to the wave equation.
  1613. wave_mpi_test
  1614. wavelet, a C++ code which does some simple calculations with wavelet transforms;
  1615. wavelet_test
  1616. wedge_exactness, a C++ code which investigates the polynomial exactness of a quadrature rule over the interior of the unit wedge in 3D.
  1617. wedge_exactness_test
  1618. wedge_felippa_rule, a C++ code which returns a Felippa quadrature rule for approximating integrals over the interior of the unit wedge in 3D.
  1619. wedge_felippa_rule_test
  1620. wedge_grid, a C++ code which computes a grid of points over the interior of the unit wedge in 3D.
  1621. wedge_grid_test
  1622. 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.
  1623. wedge_integrals_test
  1624. 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.
  1625. wedge_monte_carlo_test
  1626. 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.
  1627. weekday_test
  1628. wishart_matrix, a C++ code which produces sample matrices from the Wishart or Bartlett distributions, useful for sampling random covariance matrices.
  1629. wishart_matrix_test
  1630. wrap, a C++ code which makes a copy of a text file in which no line is longer than a user-specified wrap length.
  1631. wrap_test
  1632. wrap2, a C++ code which wraps long lines in a text file, but which wraps some lines early, so as to avoid breaking words.
  1633. wrap2_test
  1634. wtime, a C++ code which returns a reading of the wall clock time in seconds.
  1635. wtime_test
  1636. xy_display_opengl, a C++ code which reads XY information defining points in 2D, and displays an image using OpenGL.
  1637. xy_io, a C++ code which reads and writes files in the XY, XYL and XYF simple graphics formats.
  1638. xy_io_test
  1639. xyf_display_opengl, a C++ code which reads XYF information defining points and faces in 2D, and displays an image using OpenGL.
  1640. xyl_display_opengl, a C++ code which reads XYL information defining points and lines in 2D, and displays an image using OpenGL.
  1641. xyz_display_opengl, a C++ code which reads XYZ information defining points in 3D, and displays an image using OpenGL.
  1642. xyz_io, a C++ code which reads and writes simple graphics files in the XYZ, XYZL, and XYZF formats.
  1643. xyz_io_test, a C++ code which reads and writes simple graphics files in the XYZ, XYZL, and XYZF formats.
  1644. xyzf_display_opengl, a C++ code which reads XYZF information defining points and faces in 3D, and displays an image using OpenGL.
  1645. xyzl_display_opengl, a C++ code which reads XYZL information defining points and lines in 3D, and displays an image using OpenGL.
  1646. zero_brent, a C++ code which seeks a solution of a scalar nonlinear equation f(x)=0, by Richard Brent.
  1647. zero_brent_test
  1648. zero_chandrupatla, a C++ code which finds a zero of a scalar function of a scalar variable, starting from a change of sign interval, using the Chandrupatla method, which can converge faster than bisection, regula falsi, or Brent's method, by Tirupathi Chandrapatla.
  1649. zero_chandrupatla_test
  1650. 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.
  1651. zero_itp_test
  1652. zero_laguerre, a C++ code which uses Laguerre's method to find the zero of a function. The method needs first and second derivative information. The method almost always works when the function is a polynomial.
  1653. zero_laguerre_test
  1654. zero_muller, a C++ code which seeks a root of a nonlinear equation using the Muller method, with complex arithmetic.
  1655. zero_muller_test
  1656. zero_rc, a C++ code which seeks a solution of a scalar nonlinear equation f(x)=0, using reverse communication (RC), by Richard Brent.
  1657. zero_rc_test
  1658. ziggurat, a C++ code which samples the uniform, normal or exponential distributions, using the ziggurat method, by Marsaglia and Tsang.
  1659. ziggurat_test
  1660. 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.
  1661. ziggurat_inline_test
  1662. ziggurat_openmp, a C++ code which demonstrates how ziggurat() can be used as a random number generator (RNG) in an OpenMP parallel program.
  1663. ziggurat_openmp_test


Last revised on 29 October 2024.