C Codes


  1. allocatable_array_test
  2. alpert_rule, a C code which can set up an Alpert quadrature rule for functions which are regular, log(x) singular, or 1/sqrt(x) singular.
  3. alpert_rule_test
  4. 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.
  5. analemma_test
  6. 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.
  7. annulus_monte_carlo_test
  8. 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.
  9. annulus_rule_test
  10. args, a C code which reports the command line arguments with which it was invoked;
  11. args_test
  12. asa005, a C code which evaluates the lower tail of the noncentral Student T distribution, by BE Cooper; this is a version of Applied Statistics Algorithm 5;
  13. asa005_test
  14. asa006, a C code which computes the Cholesky factor of a positive definite symmetric matrix, by Michael Healy; this is a version of Applied Statistics Algorithm 6;
  15. asa006_test
  16. asa007, a C code which computes the inverse of a positive definite symmetric matrix, by Michael Healy; this is a version of Applied Statistics Algorithm 7,
  17. asa007_test
  18. asa032, a C code which evaluates the incomplete Gamma function, by G Bhattacharjee; this is a version of Applied Statistics Algorithm 32;
  19. asa032_test
  20. 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;
  21. asa047_test
  22. 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.
  23. asa053_test
  24. asa058, a C code which carries out K-means clustering of data, by David Sparks; this is a version of Applied Statistics Algorithm 58;
  25. asa058_test
  26. 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;
  27. asa063_test
  28. asa066, a C code which computes the Cumulative Density Function (CDF) of the standard normal distribution, by David Hill; this is a version of Applied Statistics Algorithm 66;
  29. asa066_test
  30. asa076, a C code which evaluates the Owen T function, by Young and Minder; this is a version of Applied Statistics Algorithm 76;
  31. asa076_test
  32. asa082, a C code which computes the determinant of an orthogonal matrix; this is Applied Statistics Algorithm 82, by J C Gower.
  33. asa082_test
  34. asa091, a C code which computes the percentage points of the Chi-square distribution, by Best and Roberts; this is a version of Applied Statistics Algorithm 91;
  35. asa091_test
  36. asa103, a C code which evaluates the digamma or psi function, by Jose Bernardo; this is a version of Applied Statistics Algorithm 103;
  37. asa103_test
  38. asa109, a C code which inverts the incomplete Beta function, by Cran, Martin and Thomas; this is a version of Applied Statistics Algorithm 109;
  39. asa109_test
  40. 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;
  41. asa111_test
  42. asa113, a C code which clusters data using a transfer and swap algorithm, by Banfield and Bassill; this is a version of Applied Statistics Algorithm 113;
  43. asa113_test
  44. asa121, a C code which evaluates the trigamma function, by BE Schneider; this is a version of Applied Statistics Algorithm 121;
  45. asa121_test
  46. asa136, a C code which implements a clustering algorithm, by Hartigan and Wong; this is a version of Applied Statistics Algorithm 136;
  47. asa136_test
  48. asa144, a C code which randomly generates tables with given row and column sums, by James Boyett; this is a version of Applied Statistics Algorithm 144;
  49. asa144_test
  50. asa147, a C code which evaluates the incomplete Gamma function, by Chi Leung Lau; this is a version of Applied Statistics Algorithm 147;
  51. asa147_test
  52. 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;
  53. asa152_test
  54. asa159, a C code which computes a random table with given row and column sums, by Michael Patefield; this is a version of Applied Statistics Algorithm 159;
  55. asa159_test
  56. asa172, a C code which generates all multidimensional 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;
  57. asa172_test
  58. asa183, a C code which implements a random number generator (RNG), by Wichman and Hill; this is a version of Applied Statistics Algorithm 183;
  59. asa183_test
  60. asa226, a C code which evaluates the noncentral incomplete Beta function, by Russell Lenth; this is a version of Applied Statistics Algorithm 226;
  61. asa226_test
  62. asa239, a C code which evaluates the incomplete Gamma function, by Shea; this is a version of Applied Statistics Algorithm 239;
  63. asa239_test
  64. asa241, a C code which computes the inverse of the normal cumulative density function (CDF), by Michael Wichura; this is a version of Applied Statistics Algorithm 241;
  65. asa241_test
  66. asa243, a C code which evaluates the lower tail of the noncentral Student T distribution, by Russell Lenth; this is a version of Applied Statistics Algorithm 243;
  67. asa243_test
  68. asa245, a C code which evaluates the logarithm of the Gamma function, by Allan Mcleod; this is a version of Applied Statistics Algorithm 245;
  69. asa245_test
  70. asa266, a C code which evaluates various properties of the Dirichlet probability density function (PDF); this is a version of Applied Statistics Algorithm 266;
  71. asa266_test
  72. asa299, a C code which computes the lattice points (integer coordinates) in an M-dimensional simplex, by Chasalow and Brand; this is a version of Applied Statistics Algorithm 299;
  73. asa299_test
  74. asa310, a C code which evaluates the noncentral incomplete Beta function, by Chattamvelli and Shanmugam; this is a version of Applied Statistics Algorithm 310;
  75. asa310_test
  76. 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.
  77. asa314_test
  78. ascii_to_mri, a C code which restores MRI data to its original binary format, having been previously converted to an ASCII text file.
  79. ascii_to_mri_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 (RC).
  83. backtrack_binary_rc_test
  84. ball_grid, a C code which computes a grid of points over the interior of the unit ball in 3D.
  85. ball_grid_test
  86. 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.
  87. ball_integrals_test
  88. 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;
  89. ball_monte_carlo_test
  90. 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.
  91. bank_test
  92. 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.
  93. barycentric_interp_1d_test
  94. 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.
  95. bellman_ford_test
  96. bernstein_polynomial, a C code which evaluates the Bernstein polynomials;
  97. bernstein_polynomial_test
  98. besselj, a C code which evaluates Bessel J functions of noninteger order;
  99. besselj_test
  100. beta_nc, a C code which evaluates the cumulative density function (CDF) of the noncentral Beta distribution;
  101. beta_nc_test
  102. 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].
  103. bisection_integer_test
  104. 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).
  105. bisection_rc_test
  106. black_scholes, a C code which implements some simple approaches to the Black-Scholes option valuation theory, by Desmond Higham.
  107. black_scholes_test
  108. blas, a C code which contains the Basic Linear Algebra Subprograms (BLAS) for level 1, 2 and 3, for single and double precision, and for real and complex arithmetic.
  109. blas_osx_test
  110. blas0, a C code which contains auxilliary functions for the Basic Linear Algebra Subprograms (BLAS).
  111. blas0_test
  112. blas1_c, a C code of the Level 1 Basic Linear Algebra Subprograms (BLAS), using single precision complex arithmetic;
  113. blas1_c_test
  114. blas1_d, a C code of the Level 1 Basic Linear Algebra Subprograms (BLAS), using double precision real arithmetic;
  115. blas1_d_test
  116. blas1_s, a C code of the Level 1 Basic Linear Algebra Subprograms (BLAS), using single precision real arithmetic;
  117. blas1_s_test
  118. blas1_z, a C code of the Level 1 Basic Linear Algebra Subprograms (BLAS), using double precision complex arithmetic;
  119. blas1_z_test
  120. blas2_d, a C code which constitutes the Level 2 Basic Linear Algebra Subprograms (BLAS), using double precision real arithmetic.
  121. blas2_d_test
  122. blas2_s, a C code which constitutes the Level 2 Basic Linear Algebra Subprograms (BLAS), using single precision real arithmetic.
  123. blas2_s_test
  124. blas3_d, a C code which constitutes the Level 3 Basic Linear Algebra Subprograms (BLAS) for matrix-matrix operations, using double precision real arithmetic.
  125. blas3_d_test
  126. blas3_s, a C code which constitutes the Level 3 Basic Linear Algebra Subprograms (BLAS) for matrix-matrix operations, using single precision real arithmetic.
  127. blas3_s_test
  128. blend, a C code which carries out 1D/2D/3D blending interpolation;
  129. blend_test
  130. 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;
  131. box_behnken_test
  132. brent, a C code which contains routines for finding zeroes or minima of a scalar function of a scalar variable, without the use of derivative information, including a reverse communication (RC) option, by Richard Brent.
  133. brent_test
  134. brownian_motion_simulation, a C code which simulates Brownian motion in an M-dimensional region, creating graphics files for processing by gnuplot().
  135. brownian_motion_simulation_test
  136. burgers_solution, a C code which evaluates exact solutions of the time-dependent 1D viscous Burgers equation.
  137. burgers_solution_test
  138. bvec, a C code which demonstrates how signed integers can be stored as binary vectors, and arithmetic can be performed on them.
  139. bvec_test
  140. c_test, programs which illustrate some of the features of the C programming language.
  141. c_arrays_test
  142. c_calls_f77, programs which illustrate a C program calling a FORTRAN77 subroutine.
  143. c_calls_f90, programs which illustrate a C program calling a FORTRAN90 subroutine.
  144. c_files_test, programs which illustrate the use of files.
  145. c_intrinsics_test, a C code which illustrates the use of intrinsic functions supplied by the C language.
  146. c_mistake, programs which illustrate some simple but devious programming mistakes in C.
  147. c_operators_test
  148. c_random_test
  149. c4_complex_lib, a C code which defines a single precision complex (C4) variable as a structure, and implements certain corresponding elementary functions.
  150. c4_complex_lib_test
  151. c4lib, a C code which implements certain elementary functions for single precision complex (C4) variables using the C99 "float complex" datatype.
  152. c4lib_test
  153. c8_complex_lib, a C code which defines a double precision complex (C8) variable as a structure, and implements certain corresponding elementary functions.
  154. c8_complex_lib_test
  155. c8lib, a C code which implements certain elementary functions for double precision complex (C8) variables using the C99 standard "double complex" datatype.
  156. c8lib_test
  157. caesar, a C code which can apply a Caesar Shift Cipher to a string of text.
  158. caesar_test
  159. calpak, a C code which makes various calendar calculations;
  160. calpak_test
  161. cauchy_principal_value, a C code which uses Gauss-Legendre quadrature to estimate the Cauchy Principal Value (CPV) of certain singular integrals.
  162. cauchy_principal_value_test
  163. cblas_test
  164. ccn_rule, a C code which defines a one of a sequence of Clenshaw Curtis Nested (CCN) quadrature rules of any order.
  165. ccn_rule_test
  166. ccs_io, a C code which reads and writes sparse linear systems stored in the Compressed Column Storage (CCS) format.
  167. ccs_io_test
  168. ccs_to_st, a C code which converts a sparse matrix from Compressed Column Storage (CCS) to sparse triplet (ST) format.
  169. ccs_to_st_test
  170. 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.
  171. cdflib_test
  172. cell, a C code which defines a cell array, a generalization of an array which can compactly store and retrieve vector or matrix data of varying size, such as the rows of a triangular matrix.
  173. cell_test
  174. cellular_automaton, a C code which demonstrates the 1D Cellular Automaton known as rule #30.
  175. 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 positive definite (only real, positive eigenvalues) and symmetric.
  176. cg_test
  177. cg_rc, a C code which implements the conjugate gradient (CG) method for solving a positive definite sparse linear system A*x=b, using reverse communication (RC).
  178. cg_rc_test
  179. change_making, a C code which considers the change making problem, in which a given sum is to be formed using coins of various denominations.
  180. change_making_test
  181. chebyshev, a C code which computes the Chebyshev interpolant or approximant to a given function over an interval.
  182. chebyshev_test
  183. 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).
  184. chebyshev_interp_1d_test
  185. 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.
  186. chebyshev_polynomial_test
  187. chebyshev_series, a C code which can evaluate 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.
  188. chebyshev_series_test
  189. chrpak, a C code which can manipulate characters and strings;
  190. chrpak_test
  191. circle_arc_grid, a C code which computes grid points along a circular arc.
  192. circle_arc_grid_test
  193. 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.
  194. circle_integrals_test
  195. 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;
  196. circle_monte_carlo_test
  197. 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).
  198. circle_rule_test
  199. 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().
  200. circle_segment_test
  201. clapack_test
  202. clausen, a C code which evaluates a Chebyshev interpolant to the Clausen function Cl2(x).
  203. clausen_test
  204. clenshaw_curtis_rule, a C code which implements a Clenshaw Curtis quadrature rule;
  205. clenshaw_curtis_rule_test
  206. cnoise, a C code which generates samples of noise obeying a 1/f^alpha power law, by Miroslav Stoyanov.
  207. cnoise_test
  208. collatz_recursive, a C code which demonstrates recursive programming by considering the simple Collatz 3n+1 problem.
  209. collatz_recursive_test
  210. colored_noise, a C code which generates samples of noise obeying a 1/f^alpha power law.
  211. colored_noise_test
  212. combo, a C code which includes routines for ranking, unranking, enumerating and randomly selecting balanced sequences, cycles, graphs, Gray codes, subsets, partitions, permutations, restricted growth functions, Pruefer codes and trees.
  213. combo_test
  214. 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.
  215. communicator_mpi_test
  216. 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.
  217. compass_search_test
  218. complex_numbers_test, a C code which demonstrates the declaration and use of complex numbers.
  219. condition, a C code which implements methods of computing or estimating the condition number of a matrix.
  220. condition_test
  221. continued_fraction, a C code which implements some simple algorithms for dealing with simple and generalized continued fractions.
  222. continued_fraction_test
  223. cordic, a C code which computes a few special functions using the CORDIC algorithm.
  224. cordic_test
  225. correlation, a C code which contains statistical correlation functions.
  226. correlation_test
  227. cosine_transform, a C code which demonstrates some simple properties of the discrete cosine transform (DCT).
  228. cosine_transform_test
  229. csparse, a C code which carries out the direct solution of sparse linear systems, by Timothy Davis.
  230. csparse_test
  231. 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.
  232. cube_arbq_rule_test
  233. cube_exactness, a C code which investigates the polynomial exactness of quadrature rules over the interior of a cube in 3D.
  234. cube_exactness_test
  235. cube_felippa_rule, a C code which returns a Felippa quadrature rules for approximating integrals over the interior of a cube in 3D.
  236. cube_felippa_rule_test
  237. cube_grid, a C code which computes a grid of points over the interior of a cube in 3D.
  238. cube_grid_test
  239. 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.
  240. cube_integrals_test
  241. 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.
  242. cube_monte_carlo_test
  243. cuda_loop, a C code which shows how, in a CUDA program, the choice of block and thread factors determines the allocation of tasks to processors.
  244. cuda_loop_test
  245. cycle_brent, a C code which carries out an iterated function evaluation, and seeks to determine the nearest element of a cycle, and the cycle length, using the Brent method.
  246. cycle_brent_test
  247. 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 length, using the Floyd method.
  248. cycle_floyd_test
  249. cyclic_reduction, a C code which solves a tridiagonal linear system using cyclic reduction;
  250. cyclic_reduction_test
  251. differ, determines the finite difference coefficients necessary in order to combine function values at known locations to compute an approximation of given accuracy to a derivative of a given order.
  252. differ_test
  253. dijkstra, a C code which implements a simple version of the Dijkstra minimum distance algorithm for graphs.
  254. dijkstra_test
  255. dijkstra_openmp, a C code which uses OpenMP to parallelize a simple example of the Dijkstra minimum distance algorithm for graphs.
  256. dijkstra_openmp_test
  257. 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.
  258. discrete_pdf_sample_2d_test
  259. 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.
  260. disk_grid_test
  261. 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;
  262. disk_monte_carlo_test
  263. disk_rule, a C code which computes quadrature rules for the general disk in 2D.
  264. disk_rule_test
  265. 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.
  266. disk01_integrals_test
  267. 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;
  268. disk01_monte_carlo_test
  269. disk01_quarter_monte_carlo, a C code which applies a Monte Carlo method to estimate integrals of a function over the interior of the unit quarter disk in 2D;
  270. disk01_quarter_monte_carlo_test
  271. 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).
  272. disk01_rule_test
  273. dislin_test, C codes which use dislin() to create a variety of graphics.
  274. divdif, a C code which uses divided differences to compute the polynomial interpolant to a given set of data.
  275. divdif_test
  276. doomsday, a C code which is given the year, month and day of a date, and uses the doomsday algorithm of John Conway to determine the corresponding day of the week.
  277. doomsday_test
  278. 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.
  279. dream_test
  280. duel_simulation, a C code which simulates N repetitions of a duel between two players, each of whom has a known firing accuracy.
  281. duel_simulation_test
  282. 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.
  283. edge_test
  284. ellipse_grid, a C code which computes grid points over the interior of an ellipse in 2D.
  285. ellipse_grid_test
  286. 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.
  287. ellipse_monte_carlo_test
  288. ellipsoid_grid, a C code which computes a grid of points over the interior of an ellipsoid in 3D.
  289. ellipsoid_grid_test
  290. 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.
  291. ellipsoid_monte_carlo_test
  292. elliptic_integral, a C code which evaluates complete elliptic integrals of first, second and third kind, using the Carlson elliptic integral functions.
  293. elliptic_integral_test
  294. euler, a C code which solves one or more ordinary differential equations (ODEs) using the forward Euler method.
  295. euler_test
  296. 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).
  297. exactness_test
  298. f77split, a C code which splits a file containing multiple FORTRAN77 routines into separate files;
  299. f77split_test
  300. f90split, a C code which splits a file containing multiple FORTRAN90 routines into separate files;
  301. f90split_test
  302. fair_dice_simulation, a C code which simulates N tosses of 2 dice, making a histogram of the results.
  303. fair_dice_simulation_test
  304. fastgl, 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.
  305. fastgl_test
  306. fd_predator_prey, a C code which solves a pair of predator prey ordinary differential equations (ODE) using a finite difference method (FDM) approximation.
  307. fd_predator_prey_test
  308. 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().
  309. fd1d_advection_diffusion_steady_test
  310. 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) difference method, writing graphics files for processing by gnuplot().
  311. fd1d_advection_ftcs_test
  312. 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().
  313. fd1d_advection_lax_test
  314. 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().
  315. fd1d_advection_lax_wendroff_test
  316. 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.
  317. fd1d_burgers_lax_test
  318. 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.
  319. fd1d_burgers_leap_test
  320. fd1d_bvp, a C code which applies the finite difference method (FDM) to a two point boundary value problem (BVP) in one spatial dimension.
  321. fd1d_bvp_test
  322. fd1d_heat_explicit, a C code which implements a finite difference method (FDM), explicit in time, of the time dependent 1D heat equation;
  323. fd1d_heat_explicit_test
  324. fd1d_heat_implicit, a C code which implements a finite difference method (FDM), implicit in time, of the time dependent 1D heat equation;
  325. fd1d_heat_implicit_test
  326. fd1d_heat_steady, a C code which implements a finite difference method (FDM) for the steady (time independent) 1D heat equation;
  327. fd1d_heat_steady_test
  328. fd1d_wave, a C code which applies the finite difference method (FDM) to solve the time-dependent wave equation in one spatial dimension.
  329. fd1d_wave_test
  330. fd2d_heat_steady, a C code which implements a finite difference method (FDM) for the steady (time independent) 2D heat equation;
  331. fd2d_heat_steady_test
  332. fem_basis, a C code which can define and evaluate finite element method (FEM) basis functions for any degree in an M-dimensional simplex (1D interval, 2D triangle, 3D tetrahedron, and higher dimensional generalizations.)
  333. fem_basis_test
  334. 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;
  335. fem_io_test
  336. 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.
  337. fem_to_gmsh_test
  338. 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 the triangle() program of Jonathan Shewchuk.
  339. fem_to_triangle_test
  340. fem_to_xml, 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.
  341. fem_to_xml_test
  342. 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;
  343. fem1d_test
  344. 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;
  345. fem1d_adaptive_test
  346. 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.
  347. fem1d_bvp_linear_test
  348. 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.
  349. fem1d_bvp_quadratic_test
  350. fem1d_heat_steady, a C code which implements the finite element method (FEM) for the steady (time independent) 1D heat equation;
  351. fem1d_heat_steady_test
  352. 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.
  353. fem1d_lagrange_test
  354. 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;
  355. fem1d_nonlinear_test
  356. fem1d_pack, a C code which contains utilities for 1D finite element method (FEM) calculations.
  357. fem1d_pack_test
  358. 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;
  359. fem1d_pmethod_test
  360. 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 method (FEM) solution from one mesh to another.
  361. fem1d_project_test
  362. 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.
  363. fem1d_sample_tesst
  364. 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.
  365. fem2d_bvp_linear_test
  366. 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.
  367. fem2d_bvp_quadratic_test
  368. 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.
  369. fem2d_bvp_serene_test
  370. fem2d_pack, a C code which implements various 2D finite element method (FEM) calculations;
  371. fem2d_pack_test
  372. 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.
  373. fem2d_poisson_rectangle_test
  374. 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.
  375. fem2d_poisson_rectangle_linear_test
  376. fern_opengl, a C code which uses OpenGL to display the Barnsley fractal fern.
  377. feynman_kac_1d, a C code which demonstrates the use of the Feynman-Kac algorithm to solve the Poisson equation in a 1D interval by averaging stochastic paths to the boundary.
  378. feynman_kac_1d_test
  379. feynman_kac_2d, a C code which demonstrates the use of the Feynman-Kac algorithm to solve the Poisson equation in a 2D ellipse by averaging stochastic paths to the boundary.
  380. feynman_kac_2d_test
  381. feynman_kac_3d, a C code which demonstrates the use of the Feynman-Kac algorithm to solve the Poisson equation in a 3D ellipsoid by averaging stochastic paths to the boundary.
  382. feynman_kac_3d_test
  383. fft_openmp, a C code which demonstrates the computation of a Fast Fourier Transform (FFT) in parallel, using OpenMP.
  384. fft_openmp_test
  385. 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.
  386. fft_serial_test
  387. fftpack4, a C code which implements the Fast Fourier Transform (FFT) by Paul Swarztrauber and Dick Valent, translated by Andrew Fernandes;
  388. fftpack4_test
  389. fftw_test
  390. 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.
  391. file_name_sequence_test
  392. 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.
  393. files_multiple_test
  394. filon, a C code which can approximate integrals in which the integrand includes an oscillatory factor of sin(k*x) or cos(k*x).
  395. filon_test
  396. filum, a C code which performs various operations with files;
  397. filum_test
  398. 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.
  399. fire_simulation_test
  400. flood_opengl, a C code which uses OpenGL to allow the user to select regions of an image and flood them with color, by Art Wetzel.
  401. floyd, a C code which implements the Floyd algorithm for finding the shortest distance between pairs of nodes on a directed graph.
  402. floyd_test
  403. 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.
  404. fn_test
  405. forest_fire_simulation, a C code which models the occurrence of fires in a forest, and displays the status of the forest using X Windows, by Michael Creutz.
  406. freefem++_msh_io, a C code which can read and write files used by the FreeFem++ finite element program to store mesh information.
  407. freefem++_msh_io_test
  408. functions_openmp, a C code which demonstrates the behavior of a few of the OpenMP library functions.
  409. functions_openmp_test
  410. gcc_intrinsics_test, a C code which demonstrates or tests some of the intrinsic functions made available by the Gnu gcc compiler for C.
  411. gegenbauer_cc, a C code which computes the Gegenbauer weighted integral of a function f(x) using a Clenshaw-Curtis approach.
  412. gegenbauer_cc_test
  413. gegenbauer_polynomial, a C code which evaluates the Gegenbauer polynomial and associated functions.
  414. gegenbauer_polynomial_test
  415. 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.
  416. geometry_test
  417. gmsh_io, a C code which can read or write some of the files created by the Gmsh program for 1D, 2D or 3D meshes used by the finite element method (FEM).
  418. gmsh_io_test
  419. gmsh_to_fem, a C code which reads a mesh data file created by the GMSH program and writes a pair of node and element files that correspond to the FEM format.
  420. gmsh_to_fem_test
  421. gnuplot_test, C codes which use gnuplot() to create various kinds of plots.
  422. gnuplot_i, a C code which allows an executing C, C++ or FORTRAN program to interact with the gnuplot() graphics program, by Nicholas Devillard.
  423. gnuplot_i_test
  424. gprof_test, a C code which demonstrates how to use the gprof() profiling tool.
  425. graphics_dislin_test, C codes which demonstrate how to create various kinds of plots using the dislin() library.
  426. graphics_gnuplot_test, C codes which demonstrate how to create various kinds of plots using the gnuplot() program.
  427. haar, a C code which computes the Haar transform of data.
  428. haar_test
  429. halton, a C code which computes elements of a Halton Quasi Monte Carlo (QMC) sequence, using a simple interface.
  430. halton_test
  431. hammersley, a C code which computes elements of a Hammersley Quasi Monte Carlo (QMC) sequence, using a simple interface.
  432. hammersley_test
  433. hankel_cholesky, a C code which computes the upper Cholesky factor R of a positive semidefinite symmetric (PSS) matrix H so that H = R' * R.
  434. hankel_cholesky_test
  435. hankel_spd, a C code which can compute a lower triangular matrix L which is the Cholesky factor of a symmetric positive definite (SPD) Hankel matrix H, that is, H = L * L'.
  436. hankel_spd_test
  437. hdf5_test, a C code which demonstrates the use of the HDF5 data format.
  438. heat_mpi, a C code which demonstrates the use of the Message Passing Interface (MPI), by solving the 1D time dependent heat equation.
  439. heat_mpi_test
  440. 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.
  441. 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.
  442. heated_plate_openmp_test
  443. hello, a C code which prints out "Hello, world!".
  444. hello_test
  445. hello_mpi, a C code which prints out "Hello, world!" using MPI for parallel programming.
  446. hello_mpi_test
  447. hello_openmp, a C code which prints out "Hello, world!" within the OpenMP parallel programming environment.
  448. hello_openmp_test
  449. hermite_cubic, a C code which can compute the value, derivatives or integral of a Hermite cubic polynomial, or manipulate an interpolant made up of piecewise Hermite cubic polynomials.
  450. hermite_cubic_test
  451. 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).
  452. hermite_exactness_test
  453. hermite_integrands, a C code which defines test integrands for Hermite integrals with density exp(-x^2) over the interval (-oo,+oo).
  454. hermite_integrands_test
  455. hermite_interpolant, a C code which computes the Hermite interpolant, a polynomial that matches function values and derivatives.
  456. hermite_interpolant_test
  457. hermite_polynomial, a C code which evaluates the physicist's Hermite polynomial, the probabilist's Hermite polynomial, the Hermite function, and related functions.
  458. hermite_polynomial_test
  459. hermite_product_polynomial, a C code which defines Hermite product polynomials, creating a multivariate polynomial as the product of univariate Hermite polynomials.
  460. hermite_product_polynomial_test
  461. 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).
  462. hermite_rule_test
  463. 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.
  464. high_card_simulation_test
  465. hilbert_curve, a C code which computes the sequence of discrete Hilbert curves whose limit is a space-filling curve.
  466. hilbert_curve_test
  467. 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.
  468. histogram_data_2d_sample_test
  469. humps, a C code which evaluates the humps function, its first and second derivatives and its antiderivative.
  470. humps_test
  471. 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.
  472. hyperball_integrals_test
  473. 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;
  474. hyperball_monte_carlo_test
  475. hyperball_volume_monte_carlo, a C code which applies a Monte Carlo procedure to estimate the volume of the unit ball in M dimensions;
  476. hyperball_volume_monte_carlo_test
  477. hypercube_exactness, a C code which tests the polynomial exactness of a quadrature rule over the interior of the unit hypercube in M dimensions.
  478. hypercube_exactness_test
  479. hypercube_grid, a C code which computes a grid of points over the interior of a hypercube in M dimensions.
  480. hypercube_grid_test
  481. 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.
  482. hypercube_integrals_test
  483. 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.
  484. hypercube_monte_carlo_test
  485. 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.
  486. hypersphere_integrals_test
  487. 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;
  488. hypersphere_monte_carlo_test
  489. hypersphere_properties, 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.
  490. hypersphere_properties_test
  491. i4lib, a C code which contains many utility routines, using single precision integer (I4) arithmetic.
  492. i4lib_test
  493. i8lib, a C code which contains many utility routines, using double precision integer (I8) arithmetic.
  494. i8lib_test
  495. image_components, a C code which seeks the connected nonzero or nonblack components of an image or integer array.
  496. image_components_test
  497. image_denoise, a C code which applies simple filtering operations to a noisy image.
  498. image_denoise_test
  499. image_denoise_openmp, a C code which applies simple filtering operations to a noisy image, carrying out the operation in parallel using OpenMP.
  500. image_denoise_openmp_test
  501. image_edge, a C code which demonstrates a simple procedure for edge detection in images.
  502. image_edge_test
  503. index, a C code which converts a multidimensional 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.
  504. index_test
  505. interp, a C code which can be used for parameterizing and interpolating data;
  506. interp_test
  507. isbn, a C code which can determine the check digit for an International Standard Book Number or report whether a given ISBN is valid.
  508. isbn_test
  509. ising_2d_simulation, a C code which simulates 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.
  510. ising_2d_simulation_test
  511. jacobi, a C code which implements the Jacobi iteration for the iterative solution of linear systems.
  512. jacobi_test
  513. jacobi_eigenvalue, a C code which implements the Jacobi iteration for the iterative determination of the eigenvalues and eigenvectors of a real symmetric matrix.
  514. jacobi_eigenvalue_test
  515. jacobi_openmp, a C code which illustrates the use of the OpenMP application program interface to parallelize a Jacobi iteration solving A*x=b.
  516. jacobi_openmp_test
  517. jacobi_polynomial, a C code which evaluates the Jacobi polynomial and associated functions.
  518. jacobi_polynomial_test
  519. julia_set, a C code which generates a TGA or TARGA graphics file of a Julia set.
  520. julia_set_test
  521. julia_set_openmp, a C code which produces an image of a Julia set, using OpenMP to carry out the computation in parallel.
  522. julia_set_openmp_test
  523. kmeans, a C code which handles the K-Means problem, which organizes a set of N points in M dimensions into K clusters;
  524. kmeans_test
  525. knapsack_01, a C code which uses brute force to solve small versions of the 0/1 knapsack problem;
  526. knapsack_01_test
  527. kronrod, a C code which can compute a Gauss and Gauss-Kronrod pair of quadrature rules of arbitrary order, by Robert Piessens, Maria Branders.
  528. kronrod_test
  529. 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)).
  530. lagrange_approx_1d_test
  531. 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).
  532. lagrange_interp_1d_test
  533. 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).
  534. lagrange_interp_2d_test
  535. lagrange_interp_nd, a C code which defines and evaluates the Lagrange polynomial p(x) which interpolates a set of data depending on a multidimensional argument evaluated on a product grid, so that p(x(i)) = z(i).
  536. lagrange_interp_nd_test
  537. 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).
  538. laguerre_exactness_test
  539. laguerre_integrands, a C code which implements test problems for approximate integration over a semi-infinite interval, often carried out using Gauss-Laguerre quadrature.
  540. laguerre_integrands_test
  541. laguerre_polynomial, a C code which evaluates the Laguerre polynomial, the generalized Laguerre polynomials, and the Laguerre function.
  542. laguerre_polynomial_test
  543. 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).
  544. laguerre_rule_test
  545. laplace_mpi, a C code which solves the Laplace equation on a rectangle, using the Message Passing Interface (MPI) for parallel execution.
  546. laplace_mpi_test
  547. laplacian, a C code which carries out computations related to the discrete Laplacian operator, including full or sparse evaluation, evaluation for unequally spaced data sampling points, application to a set of data samples, solution of associated linear systems, eigenvalues and eigenvectors, and extension to 2D and 3D geometry.
  548. laplacian_test
  549. latin_cover, a C code which produces N Latin squares which cover an NxN square, or NxN Latin cubes which cover an NxNxN cube.
  550. latin_cover_test
  551. latin_random, a C code which computes Latin Random Squares of N points in M dimensions;
  552. latin_random_test
  553. latinize, a C code which adjusts N points in M dimensions to form a Latin Hypercube;
  554. latinize_test
  555. 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.
  556. lebesgue_test
  557. 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].
  558. legendre_exactness_test
  559. legendre_polynomial, a C code which evaluates the Legendre polynomial and associated functions.
  560. legendre_polynomial_test
  561. legendre_product_polynomial, a C code which defines Legendre product polynomials, creating a multivariate polynomial as the product of univariate Legendre polynomials.
  562. legendre_product_polynomial_test
  563. legendre_rule, a C code which writes out a Gauss-Legendre quadrature rule of given order to integrate a function with density 1 over the interval [-1,+1].
  564. legendre_rule)_test
  565. legendre_rule_fast, a C code which uses a fast (order N) algorithm to compute a Gauss-Legendre quadrature rule of given order to integrate a function with density 1 over the interval [-1,+1].
  566. legendre_rule_fast_test
  567. legendre_shifted_polynomial, a C code which evaluates the shifted Legendre polynomial, with the domain [0,1].
  568. legendre_shifted_polynomial_test
  569. levenshtein, a C code which returns the Levenshtein distance between two strings.
  570. levenshtein_test
  571. life_opengl, a C code which uses OpenGL to display the evolution of John Conway's Game of Life, by Simon Green.
  572. 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.
  573. life_serial_test
  574. lights_out_opengl, a C code which sets up a Lights Out game and allows the user to solve it, using the OpenGL graphics window.
  575. line_cvt_lloyd, a C code which applies the Lloyd iteration repeatedly to a set of N points, to compute a Centroidal Voronoi Tessellation (CVT) over the interior of a line segment in 1D.
  576. line_cvt_lloyd_test
  577. 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.
  578. line_fekete_rule_test
  579. line_felippa_rule, a C code which returns a Felippa quadrature rules for approximating integrals over the interior of a line segment in 1D.
  580. line_felippa_rule_test
  581. line_grid, a C code which computes a grid of points over the interior of a line segment in 1D.
  582. line_grid_test
  583. 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.
  584. line_integrals_test
  585. 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.
  586. line_monte_carlo_test
  587. line_ncc_rule, a C code which computes a Newton Cotes (Closed) (NCC) quadrature rule, using equally spaced points, over the interior of a line segment in 1D.
  588. line_ncc_rule_test
  589. 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.
  590. line_nco_rule_test
  591. linpack_bench, a C code which is a version of the LINPACK benchmark program;
  592. linpack_bench_test
  593. 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 to compute the singular value decomposition (SVD) of a rectangular matrix. The original version of this library is by Jack Dongarra, Jim Bunch, Cleve Moler, Pete Stewart.
  594. linpack_d_test
  595. linpack_s, a C code which factors matrices in a variety of formats, and solving the associated linear systems, using single precision real arithmetic; it includes a function to compute the singular value decomposition (SVD) of a rectangular matrix. The original version of this library is by Jack Dongarra, Jim Bunch, Cleve Moler, Pete Stewart.
  596. linpack_s_test
  597. 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 error to a set of N data points.
  598. llsq_test
  599. lobatto_polynomial, a C code which evaluates Lobatto polynomials similar to Legendre polynomials except that they are 0 at both endpoints.
  600. lobatto_polynomial_test
  601. 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.
  602. local_min_rc_test
  603. log_normal, a C code which returns quantities related to the log normal Probability Distribution Function (PDF).
  604. log_normal_test
  605. 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].
  606. log_normal_truncated_ab_test
  607. lorenz_ode, a C code which approximates solutions to the Lorenz system of ordinary differential equations (ODEs), creating output files that can be displayed by gnuplot().
  608. lorenz_ode_test
  609. luhn, a C code which can compute the Luhn check digit for a string, or verify a string, as used for error detection in credit card numbers.
  610. luhn_test
  611. machar, a C code which dynamically computes the values of various machine characteristic constants, by William Cody;
  612. machar_test
  613. machine, a C code which returns tabulated values of the constants associated with computer arithmetic;
  614. machine_test
  615. makefile_test
  616. mandelbrot, a C code which generates an ASCII Portable Pixel Map (PPM) image of the Mandelbrot set;
  617. mandelbrot_test
  618. mandelbrot_ascii, a C code which generates an ASCII text image of the Mandelbrot set, using just two lines of C code.
  619. mandelbrot_ascii_test
  620. mandelbrot_openmp, a C code which generates an ASCII Portable Pixel Map (PPM) image of the Mandelbrot fractal set, using OpenMP for parallel execution;
  621. mandelbrot_openmp_test
  622. mandelbrot_ppm, a C code which generates a binary Portable Pixel Map (PPM) image of the Mandelbrot set, by Eric Weeks.
  623. mandelbrot_ppm_test
  624. mario, a C code which creates a sort of "needlepoint" image of Mario, as an array of colored squares.
  625. mario_test
  626. matmul, a C code which carries out a matrix multiplication benchmark;
  627. matmul_test
  628. matrix_exponential, a C code which demonstrates some simple approaches to the problem of computing the exponential of a matrix.
  629. matrix_exponential_test
  630. md, a C code which carries out a molecular dynamics (MD) simulation, and is intended as a starting point for implementing an OpenMP parallel version.
  631. md_test
  632. md_openmp, a C code which carries out a molecular dynamics (MD) simulation in parallel using OpenMP.
  633. md_openmp_test
  634. 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.
  635. memory_test
  636. 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.
  637. mesh_bandwidth_test
  638. metis_test
  639. 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.
  640. mgmres_test
  641. 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.
  642. mgs_test
  643. midpoint, a C code which solves one or more ordinary differential equations (ODEs) using the midpoint method.
  644. midpoint_test
  645. mixed_test, a C code which tests various mixed language programs.
  646. mm_io, a C code which reads and writes a Matrix Market (MM) Sparse Matrix File;
  647. mm_io_test
  648. 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.
  649. monomial_test
  650. monomial_value, a C code which evaluates a monomial in M dimensions.
  651. monomial_value_test
  652. monte_carlo_rule, a C code which generates a dataset of N random M-dimensional points, regards it as a quadrature rule for the unit hypercube, and writes out three files of information.
  653. monte_carlo_rule_test
  654. mpi_test, C codes which illustrate the use of the Message Passing Interface (MPI) library, for parallel programming;
  655. mri_to_ascii, a C code which converts the binary data in a Magnetic Resonance Imaging (MRI) file to ASCII text.
  656. mri_to_ascii_test
  657. mri_to_pgm, a C code which converts the binary data in a Magnetic Resonance Imaging (MRI) file to a sequence of Portable Gray Map (PGM) image files.
  658. mri_to_pgm_test
  659. multigrid_poisson_1d, a C code which applies the multigrid method to a discretized version of the 1D Poisson equation.
  660. multigrid_poisson_1d_test
  661. 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.
  662. multitask_mpi_test
  663. 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.
  664. multitask_openmp_test
  665. mxm, a C code which sets up a matrix multiplication problem A=B*C of arbitrary size, and compares the time required for ijk, ikj, jik, jki, kij and kji orderings of the loops.
  666. mxm_test
  667. mxm_openmp, a C code which computes a dense matrix product C=A*B, using OpenMP for parallel execution.
  668. mxm_openmp_test
  669. mxm_serial, a C code which sets up a matrix multiplication problem A=B*C, intended as a starting point for implementing a parallel version.
  670. mxm_serial_test
  671. naca, a C code which can take the parameters of certain NACA airfoils and return the coordinates of a sequence of points that outline the wing shape. The points can be plotted with gnuplot().
  672. naca_test
  673. nas, a C code which runs the NASA kernel benchmark.
  674. nas_test
  675. navier_stokes_2d_exact, a C code which evaluates an exact solution to the incompressible time-dependent Navier-Stokes equations (NSE) over an arbitrary domain in 2D.
  676. navier_stokes_2d_exact_test
  677. navier_stokes_3d_exact, a C code which evaluates an exact solution to the incompressible time-dependent Navier-Stokes equations (NSE) over an arbitrary domain in 3D.
  678. navier_stokes_3d_exact_test
  679. 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().
  680. nearest_interp_1d_test
  681. netcdf_test
  682. newton_interp_1d, a C code which finds a polynomial interpolant to data using Newton divided differences.
  683. newton_interp_1d_test
  684. nintlib, a C code which implements approximate integration (quadrature) in M dimensions;
  685. nintlib_test
  686. normal, a C code which implements random number generators (RNG) for normally distributed values.
  687. normal_test
  688. ode, a C code which solves a system of ordinary differential equations (ODEs), by Shampine and Gordon;
  689. ode_test
  690. ode_moshier, a C code which implements the Adams-Bashforth-Moulton and Runge-Kutta (RK) methods of solving systems of ordinary differential equations (ODE), by Steven Moshier.
  691. ode_moshier_test
  692. opengl_test
  693. openmp_test, programs which illustrate the use of the OpenMP interface for parallel programming shared memory system;
  694. optimize_test
  695. 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().
  696. ornstein_uhlenbeck_test
  697. owen, a C code which evaluates the Owen T function;
  698. owen_test
  699. 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 to be processed by gnuplot().
  700. padua_test
  701. partial_digest, a C code which solves the partial digest problem;
  702. partial_digest_test
  703. partition_problem, a C code which seeks solutions of the partition problem, splitting a set of integers into two subsets with equal sum.
  704. partition_problem_test
  705. 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.
  706. patterson_rule_test
  707. pbma_io, a C code which reads or writes an ASCII Portable Bit Map (PBM) bit map graphics file;
  708. pbma_io_test
  709. pbmb_io, a C code which reads or writes a binary Portable Bit Map (PBM) graphics file;
  710. pbmb_io_test
  711. pbmlib, a C code which reads or writes graphics files in the Portable Bit Map (PBM) format;
  712. pbmlib_test
  713. pce_burgers, a C code which solves a version of the time-dependent viscous Burgers equation, with uncertain viscosity, using a polynomial chaos expansion in terms of Hermite polynomials, by Gianluca Iaccarino.
  714. pce_burgers_test
  715. 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.
  716. pce_ode_hermite_test
  717. pcg_basic, a C library which returns a sequence of uniformly distributed pseudorandom numbers, by Melissa O'Neill.
  718. pcg_basic_test
  719. pcg_minimal, a C library which is a minimal implementation of a permuted congruential generator (PCG) of random numbers, by Melissa O'Neill.
  720. pcg_minimal_test
  721. 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.
  722. pdflib_test
  723. peri1d, a C code which sets up and solves a 1D time-dependent peridynamics problem, by Miroslav Stoyanov;
  724. peri1d_test
  725. pgma_io, a C code which reads or writes ASCII Portable Gray Map (PGM) 2D graphics files;
  726. pgma_io_test
  727. pgmb_io, a C code which reads or writes a binary Portable Gray Map (PGM) 2D graphics file;
  728. pgmb_io_test
  729. pig_latin, a C code which converts its input to Pig Latin; a winner of the International Obfuscated C Code Competition in the Most Humorous category, by Don Dodson;
  730. pig_latin_test
  731. pink_noise, a C code which computes a pink noise signal obeying a 1/f power law.
  732. pink_noise_test
  733. png_io, a C code which reads and writes files in the Portable Network Graphics (PNG) format.
  734. png_io_test
  735. poisson, a C code which computes a solution to the Poisson equation in a rectangle, and is intended as the starting point for the creation of a parallel version.
  736. poisson_test
  737. poisson_mpi, a C code which computes a solution to the Poisson equation in a rectangle, using the Jacobi iteration to solve the linear system, and MPI to carry out the Jacobi iteration in parallel.
  738. poisson_mpi_test
  739. poisson_openmp, a C code which computes a 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.
  740. poisson_openmp_test
  741. 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().
  742. poisson_simulation_test
  743. polpak, a C code which evaluates a variety of mathematical functions, including Chebyshev, Gegenbauer, Hermite, Jacobi, Laguerre, Legendre polynomials, and the Collatz sequence.
  744. polpak_test
  745. polygon_grid, a C code which generates a grid of points over the interior of a polygon in 2D.
  746. polygon_grid_test
  747. polygon_integrals, a C code which returns the exact value of the integral of any monomial over the interior of a polygon in 2D.
  748. polygon_integrals_test
  749. 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.
  750. polygon_monte_carlo_test
  751. polygon_properties, 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, diameter, distance to a point, inradius, lattice area, nearest point in set, outradius, uniform sampling.
  752. polygon_properties_test
  753. 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.
  754. polygon_triangulate_test
  755. polynomial, a C code which adds, multiplies, differentiates, evaluates and prints multivariate polynomials in a space of M dimensions.
  756. polynomial_test
  757. polyominoes, a C code which utilities for manipulating polyominoes and tilings.
  758. polyominoes_test
  759. power_method, a C code which carries out the power method for finding a dominant eigenvalue and its eigenvector.
  760. power_method_test
  761. power_rule, a C code which constructs a power rule, that is, a product quadrature rule from identical 1D factor rules.
  762. power_rule_test
  763. ppc_array, a C code which manages the allocation of arrays, from "Programming Projects in C", by Rouben Rostamian.
  764. ppc_array_test
  765. ppc_array_mine, a C code which is an alternate version of ppc_array(), and manages the allocation of arrays, from "Programming Projects in C", by Rouben Rostamian.
  766. ppc_array_mine_test
  767. ppc_xmalloc, a C code which manages the allocation of memory, from "Programming Projects in C", by Rouben Rostamian;
  768. ppc_xmalloc_test
  769. ppma_io, a C code which reads or writes an ASCII Portable Pixel Map (PPM) 2D graphics file;
  770. ppma_io_test
  771. ppmb_io, a C code which reads or writes a binary Portable Pixel Map (PPM) 2D graphics file;
  772. ppmb_io_test
  773. praxis, a C code which minimizes a scalar function of several variables, without requiring derivative information, by Richard Brent.
  774. praxis_test
  775. predator_prey_ode, a C code which solves a time-dependent predator-prey system of ordinary differential equations (ODEs).
  776. predator_prey_ode_test
  777. 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.
  778. prime_test
  779. prime_mpi, a C code which counts the primes between 1 and N, using MPI for parallel execution.
  780. prime_mpi_test
  781. prime_openmp, a C code which counts the number of primes between 1 and N, using OpenMP for parallel execution.
  782. prime_openmp_test
  783. 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.
  784. prob_test
  785. product_rule, a C code which creates an M-dimensional quadrature rule from a product of distinct 1d quadrature rules;
  786. product_rule_test
  787. pthreads_test
  788. pwl_approx_1d, a C code which approximates a set of data using a piecewise linear function.
  789. pwl_approx_1d_test
  790. pwl_interp_1d, a C code which interpolates a set of data using a piecewise linear function. creating graphics files for processing by gnuplot().
  791. pwl_interp_1d_test
  792. pwl_interp_2d, a C code which evaluates a piecewise linear interpolant to data defined on a regular 2D grid.
  793. pwl_interp_2d_test
  794. 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.
  795. pwl_interp_2d_scattered_test
  796. 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).
  797. pwl_product_integral_test
  798. pyramid_exactness, a C code which investigates the polynomial exactness of a quadrature rule over the interior of the unit pyramid in 3D.
  799. pyramid_exactness_test
  800. pyramid_felippa_rule, a C code which returns a Felippa quadrature rules for approximating integrals over the interior of a pyramid in 3D.
  801. pyramid_felippa_rule_test
  802. pyramid_grid, a C code which computes a grid of points over the interior of the unit pyramid in 3D;
  803. pyramid_grid_test
  804. 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.
  805. pyramid_integrals_test
  806. 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;
  807. pyramid_monte_carlo_test
  808. pyramid_rule, a C code which computes a quadrature rule over the interior of the unit pyramid in 3D.
  809. pyramid_rule_test
  810. qr_solve, a C code which computes the linear least squares (LLS) solution of a system A*x=b.
  811. qr_solve_test
  812. quad, a C code which applies a quadrature rule to estimate an integral, intended as a starting point for parallelization exercises.
  813. quad_test
  814. quad_mpi, a C code which applies a quadrature rule to estimate an integral, working in parallel by using MPI;
  815. quad_mpi_test
  816. quad_openmp, a C code which applies a quadrature rule to estimate an integral over a 1D interval, using OpenMP for parallel execution;
  817. quad_openmp_test
  818. 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.
  819. quad2d_test
  820. quad2d_openmp, a C code which applies a product quadrature rule to estimate an integral over a 2D rectangle, using OpenMP for parallel execution;
  821. 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).
  822. quadmom_test
  823. quadrature_golub_welsch, a C code which computes the points and weights of a Gaussian quadrature rule using the Golub-Welsch procedure.
  824. quadrature_golub_welsch_test
  825. 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.
  826. quadrature_least_squares_test
  827. 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.
  828. quadrature_weights_vandermonde_test
  829. 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.
  830. quadrature_weights_vandermonde_2d_test
  831. quadrule, a C code which defines quadrature rules for approximating integrals;
  832. quadrule_test
  833. quaternions, a C code which carries out some simple arithmetic operations for quaternions.
  834. quaternions_test
  835. r4lib, a C code which contains many utility routines, using single precision real (R4) arithmetic.
  836. r4lib_test
  837. r83, a C library which contains linear algebra routines for r83 matrices (real, 64 bit, tridiagonal 3xN format).
  838. r83_test
  839. r8col, a C code which contains utility routines for an R8COL, that is, a double precision real MxN array, 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.
  840. r8col_test
  841. r8ge, a C code which contains linear algebra routines for R8GE matrices (real, 64 bit, General format).
  842. r8ge_test
  843. r8lib, a C code which contains many utility routines, using double precision real (R8) arithmetic.
  844. r8lib_test
  845. r8lt, a C code which contains linear algebra routines for R8LT matrices (real, 64 bit, Lower Triangular).
  846. r8lt_test
  847. r8poly, a C code which contains a number of utilities for polynomials with R8 coefficients, that is, using double precision or 64 bit real arithmetic.
  848. r8poly_test
  849. r8row, a C code which contains utility routines for an R8ROW, that is, a double precision real MxN array, 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.
  850. r8row_test
  851. r8st, a C code which contains linear algebra routines for R8ST matrices (real, 64 bit, Sparse Triplet).
  852. r8st_test
  853. r8ut, a C code which contains linear algebra routines for R8UT matrices (real, 64 bit, Upper Triangular).
  854. r8ut_test
  855. rand48_test
  856. randlc, a C code which implements a random number generator (RNG) used by the NAS Benchmark programs.
  857. randlc_test
  858. random_data, a C code which uses a random number generator (RNG) to sample points for various probability distributions, spatial dimensions, and geometries, including the M-dimensional cube, ellipsoid, simplex and sphere.
  859. random_data_test
  860. random_mpi, a C code which generates the same sequence of random numbers for both sequential execution and parallel execution under MPI.
  861. random_mpi_test
  862. random_openmp, a C code which illustrates how a parallel program using OpenMP can generate multiple distinct streams of random numbers.
  863. random_openmp_test
  864. random_sorted, a C code which generates vectors of random values which are already sorted.
  865. random_sorted_test
  866. 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.
  867. ranlib_test
  868. rbf_interp_1d, a C code which defines and evaluates radial basis function (RBF) interpolants to 1D data.
  869. rbf_interp_1d_test
  870. rbf_interp_2d, a C code which defines and evaluates radial basis function (RBF) interpolants to 2D data.
  871. rbf_interp_2d_test
  872. rbf_interp_nd, a C code which defines and evaluates radial basis function (RBF) interpolants to M-dimensional data.
  873. rbf_interp_nd_test
  874. reactor simulation, a C code which is a 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."
  875. reactor simulation_test
  876. 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.
  877. ring_mpi_test
  878. 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.
  879. rk4_test
  880. rkf45, a C code which applies the Runge-Kutta-Fehlberg (RKF) algorithm to solve a system of ordinary differential equations (ODE);
  881. rkf45_test
  882. 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.
  883. rnglib_test
  884. root_rc, a C code which seeks a solution of a scalar nonlinear equation f(x)=0, using reverse communication (RC), by Gaston Gonnet.
  885. root_rc_test
  886. roots_rc, a C code which seeks solutions of a system of nonlinear equations, using reverse communication (RC), by Gaston Gonnet.
  887. roots_rc_test
  888. 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.
  889. rot13_test
  890. 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.
  891. row_echelon_integer_test
  892. sandia_rules, a C code which can produce a standard 1D Gauss quadrature rule of Chebyshev, Gegenbauer, generalized Hermite, generalized Laguerre, Hermite, Jacobi, Laguerre, and Legendre types.
  893. sandia_rules_test
  894. satisfy, a C code which demonstrates, for a particular circuit, an exhaustive search for solutions of the circuit satisfy problem.
  895. satisfy_test
  896. 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.
  897. satisfy_mpi_test
  898. 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.
  899. satisfy_openmp_test
  900. schedule_openmp, a C code which demonstrates the default, static, and dynamic methods of scheduling loop iterations in OpenMP to avoid work imbalance.
  901. schedule_openmp_test
  902. screenshot_opengl, a C code which shows how a program using the OpenGL graphics library can save a screenshot of the graphics being displayed.
  903. 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;
  904. sde_test
  905. search, 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.
  906. search_test
  907. 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.
  908. search_mpi_test
  909. set_theory, a C code which demonstrates various set theoretic operations using several models of a set.
  910. set_theory_test
  911. sftpack, a C code which implements the slow Fourier transform, intended as a teaching tool and comparison with the Fast Fourier Transform (FFT).
  912. sftpack_test
  913. sgefa_openmp, a C code which compares a standard linear algebra solver against a revised version which can be run in parallel with OpenMP.
  914. sgefa_openmp_test
  915. sgmga, a C code which creates sparse grids using a mixture of 1D quadrature rule families, allowing user specified growth rates for each family, allowing anisotropic weights for each dimension.
  916. sgmga_test
  917. shallow_water_1d, a C code which simulates the evolution of a 1D fluid governed by the time-dependent shallow water equations.
  918. shallow_water_1d_test
  919. shepard_interp_1d, a C code which defines and evaluates Shepard interpolants to 1D data, based on inverse distance weighting.
  920. shepard_interp_1d_test
  921. shepard_interp_2d, a C code which defines and evaluates Shepard interpolants to 2D data, based on inverse distance weighting.
  922. shepard_interp_2d_test
  923. shepard_interp_nd, a C code which defines and evaluates Shepard interpolants to M-dimensional data, based on inverse distance weighting.
  924. shepard_interp_nd_test
  925. showme, a C code which displays triangulations and meshes, by Jonathan Shewchuk;
  926. showme_test
  927. simplex_coordinates, a C code which computes the Cartesian coordinates of the vertices of a regular simplex in M dimensions.
  928. simplex_coordinates_test
  929. 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.
  930. simplex_gm_rule_test
  931. simplex_grid, a C code which generates a regular grid of points over the interior of an arbitrary simplex in M dimensions.
  932. simplex_grid_test
  933. 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.
  934. simplex_integrals_test
  935. 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.
  936. simplex_monte_carlo_test
  937. sine_transform, a C code which demonstrates some simple properties of the discrete sine transform.
  938. sine_transform_test
  939. snakes_and_ladders, programs which simulate and investigate a one-player version of the game of Snakes and Ladders.
  940. snakes_and_ladders_test
  941. solve, a C code which implements a linear solver which makes it easy to create doubly-dimensioned arrays and solve associated linear systems.
  942. solve_test
  943. sort_rc, a C code which can sort a list of any kind of objects, using reverse communication (RC).
  944. sort_rc_test
  945. sparse_display, a C code which can read information defining a matrix of numbers and display the sparsity pattern or location of the nonzero elements using gnuplot(). This operation is already available in the built-in MATLAB "spy" command.
  946. sparse_display_test
  947. sparse_grid_cc, a C code which creates sparse grids based on Clenshaw-Curtis rules.
  948. sparse_grid_cc_test
  949. 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.
  950. sparse_grid_hw_test
  951. sparse_interp_nd, a C code which can be used to define a sparse interpolant to a function f(x) of a multidimensional argument.
  952. sparse_interp_nd_test
  953. sphere_exactness, a C code which tests the polynomial exactness of a quadrature rule over the surface of the unit sphere in 3D;
  954. sphere_exactness_test
  955. 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.
  956. sphere_fibonacci_grid_test
  957. 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.
  958. sphere_grid_test
  959. sphere_integrals, a C code which defines test functions for integration over the surface of the unit sphere in 3D.
  960. sphere_integrals_test
  961. sphere_lebedev_rule, a C code which computes Lebedev quadrature rules over the surface of the unit sphere in 3D;
  962. sphere_lebedev_rule_test
  963. 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.
  964. sphere_llq_grid_test
  965. 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.
  966. sphere_llt_grid_test
  967. 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;
  968. sphere_monte_carlo_test
  969. sphere_quad, a C code which used triangulation to approximate an integral over the surface of the unit sphere in 3D;
  970. sphere_quad_test
  971. sphere_stereograph, a C code which computes the stereographic mapping between points on the unit sphere in 3D and points on the plane Z = 1; a generalized mapping is also available.
  972. sphere_stereograph_test
  973. sphere_triangle_monte_carlo, a C code which used the Monte Carlo method to estimate the integral of a function defined in a triangle on the surface of the unit sphere in 3D.
  974. sphere_triangle_monte_carlo_test
  975. sphere_triangle_quad, a C code which uses quadrature to estimate the integral of a function in a spherical triangle on the surface of the unit sphere in 3D.
  976. sphere_triangle_quad_test
  977. spiral_data, a C code which computes a velocity vector field that satisfies the continuity equation, writing the data to a file that can be plotted by gnuplot().
  978. spiral_data_test
  979. spline, a C code which interpolates or approximates data by piecewise polynomial functions;
  980. spline_test
  981. spring_ode, a C code which shows how line printer graphics can be used to illustrate a solution of the ordinary differential equation (ODE) that describes the motion of a weight attached to a spring.
  982. spring_ode_test
  983. 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.
  984. square_arbq_rule_test
  985. square_exactness, a C code which investigates the polynomial exactness of quadrature rules for f(x,y) over the interior of a rectangle in 2D.
  986. square_exactness_test
  987. square_felippa_rule, a C code which returns a Felippa quadrature rules for approximating integrals over the interior of a square in 2D.
  988. square_felippa_rule_test
  989. square_grid, a C code which computes a grid of points over the interior of a square in 2D.
  990. square_grid_test
  991. square_integrals, a C code which returns the exact value of the integral of any monomial over the interior of the unit square or symmetric unit square in 2D.
  992. square_integrals_test
  993. 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.
  994. square_minimal_rule_test
  995. 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.
  996. square_monte_carlo_test
  997. 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.
  998. square_symq_rule_test
  999. st_io, a C code which reads and writes sparse linear systems stored in the Sparse Triplet (ST) format.
  1000. st_io_test
  1001. st_to_ccs, a C code which converts a matrix from the Sparse Triplet (ST) format to the Compressed Column Storage (CCS) format.
  1002. st_to_ccs_test
  1003. stiff_ode, a C code which considers an ordinary differential equation (ODE) which is an example of a stiff ODE.
  1004. stiff_ode_test
  1005. stochastic_diffusion, functions which implement several versions of a stochastic diffusivity coefficient.
  1006. stochastic_diffusion_test
  1007. 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, using gnuplot() to illustrate the results.
  1008. stochastic_heat2d_test,
  1009. stochastic_rk, a C code which applies a Runge-Kutta (RK) scheme to a stochastic ordinary differential equation (SODE).
  1010. stochastic_rk_test
  1011. stokes_2d_exact, a C code which evaluates exact solutions to the incompressible steady Stokes equations over the unit square in 2D.
  1012. stokes_2d_exact_test
  1013. string_ode, a C code which simulates the behavior of a vibrating string by solving the corresponding initial boundary value problem (IBVP), creating files that can be displayed by gnuplot().
  1014. string_ode_test
  1015. stroud, a C code which defines quadrature rules for a variety of M-dimensional regions, including the interior of the square, cube and hypercube, the pyramid, cone and ellipse, the hexagon, the M-dimensional octahedron, the circle, sphere and hypersphere, the triangle, tetrahedron and simplex, and the surface of the circle, sphere and hypersphere.
  1016. stroud_test
  1017. subpak, a C code which contains many utility routines;
  1018. subpak_test
  1019. 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.
  1020. subset_test
  1021. subset_sum, a C code which seeks solutions of the subset sum problem.
  1022. subset_sum_test
  1023. super_blas, a C code which implements some of the BLAS routines, for particular use by superlu;
  1024. super_blas_test
  1025. superlu_test, C codes which illustrate how to use superlu(), which applies a fast direct solution method to solve sparse linear systems, by James Demmel, John Gilbert, and Xiaoye Li.
  1026. svd_test
  1027. svd_snowfall, a C code which reads a file containing historical snowfall data and analyzes the data with the Singular Value Decomposition (SVD).
  1028. svd_snowfall_test
  1029. 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.
  1030. svd_truncated_test
  1031. table_io, a C code which reads and writes a simple dataset stored as a table file;
  1032. table_io_test
  1033. 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.
  1034. task_division_test
  1035. test_approx, a C code which implements test problems for approximation, provided as a set of (x,y) data.
  1036. test_approx_test
  1037. test_eigen, a C code which implements test matrices for eigenvalue analysis.
  1038. test_eigen_test
  1039. test_int, a C code which implements test problems for approximate integration (quadrature) in one dimension.
  1040. test_int_test
  1041. test_int_2d, a C code which implements test problems for approximate integration (quadrature) in two dimensions.
  1042. test_int_2d_test
  1043. test_interp, a C code which defines test problems for interpolation, provided as a set of (x,y) data.
  1044. test_interp_test
  1045. test_interp_1d, a C code which defines test problems for interpolation of data y(x), which depends on a 1D argument.
  1046. test_interp_1d_test
  1047. test_interp_2d, a C code which defines test problems for interpolation of data z(x,y), which depends on a 2D argument.
  1048. test_interp_2d_test
  1049. test_interp_nd, a C code which defines test problems for interpolation of data z(x), depending on an M-dimensional argument.
  1050. test_interp_nd_test
  1051. test_lls, a C code which implements linear least squares (LLS) test problems of the form A*x=b.
  1052. test_lls_test
  1053. test_mat, a C code which defines test matrices for which some of the determinant, eigenvalues, inverse, null vectors, P*L*U factorization or linear system solution are already known, including the Vandermonde and Wathen matrix.
  1054. test_mat_test
  1055. test_matrix_exponential, a C code which defines a set of test cases for computing the matrix exponential.
  1056. test_matrix_exponential_test
  1057. test_min, a C code which implements test problems for minimization of a scalar function of a scalar variable.
  1058. test_min_test
  1059. test_nearest, a C code which tests the time complexity of various procedures for solving the nearest neighbor problem.
  1060. test_nearest_test
  1061. 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.
  1062. test_opt_con_test
  1063. test_optimization, a C code which implements test problems for optimization of a scalar function of several variables, as described by Molga and Smutnicki.
  1064. test_optimization_test
  1065. test_partial_digest, a C code which can generate example cases of the partial digest problem.
  1066. test_partial_digest_test
  1067. test_values, a C code which returns a small set of values for a variety of mathematical functions, suitable for a rough test of accuracy for algorithms;
  1068. test_values_test
  1069. test_zero, a C code which implements test problems for the solution of a single nonlinear equation in one variable.
  1070. test_zero_test
  1071. tester, a BASH script which runs the test programs.
  1072. testpack, a C code which demonstrates the use of a set of test integrand functions chosen by Alan Genz.
  1073. testpack_test
  1074. tet_mesh, a C code which carries out various tasks associated with tetrahedral meshes in 3D;
  1075. tet_mesh_test
  1076. 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.
  1077. tetrahedron_arbq_rule_test
  1078. tetrahedron_exactness, a C code which tests the polynomial exactness of a quadrature rule over the interior of a tetrahedron in 3D.
  1079. tetrahedron_exactness_test
  1080. tetrahedron_felippa_rule, a C code which returns a Felippa quadrature rules for approximating integrals over the interior of a tetrahedron in 3D.
  1081. tetrahedron_felippa_rule_test
  1082. tetrahedron_grid, a C code which computes a grid of points over the interior of a tetrahedron in 3D.
  1083. tetrahedron_grid_test
  1084. 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.
  1085. tetrahedron_integrals_test
  1086. tetrahedron_keast_rule, a C code which defines ten quadrature rules, of degree of exactness 0 through 8, over the interior of the tetrahedron in 3D.
  1087. tetrahedron_keast_rule_test
  1088. 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.
  1089. tetrahedron_monte_carlo_test
  1090. tetrahedron_ncc_rule, a C code which defines Newton-Cotes closed (NCC) quadrature rules over the interior of a tetrahedron in 3D.
  1091. tetrahedron_ncc_rule_test
  1092. tetrahedron_nco_rule, a C code which defines Newton-Cotes open (NCO) quadrature rules over the interior of a tetrahedron in 3D.
  1093. tetrahedron_nco_rule_test
  1094. tetrahedron_properties, 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.
  1095. tetrahedron_properties_test
  1096. 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.
  1097. tetrahedron01_monte_carlo_test
  1098. 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.
  1099. three_body_ode_test
  1100. timer_test
  1101. timestamp, a C code which returns the current YMDHMS date as a timestamp, and performs other timing chores;
  1102. timestamp_test
  1103. toeplitz_cholesky, a C code which computes the Cholesky factorization of a positive semidefinite symmetric (PSS) Toeplitz matrix.
  1104. toeplitz_cholesky_test
  1105. toms097, a C code which computes the distance between all pairs of nodes in a directed graph with weighted edges, using the Floyd algorithm. This is a version of ACM TOMS algorithm 97.
  1106. toms097_test
  1107. 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.
  1108. toms112_test
  1109. toms178, a C code which seeks the minimizer of a function of several variables, using the Hooke-Jeeves direct search method, by Arthur Kaupe. This is a version of ACM TOMS algorithm 178.
  1110. toms178_test
  1111. toms179, a C code which calculates the incomplete Beta ratio, by Oliver Ludwig; this is a version of ACM TOMS algorithm 179.
  1112. toms179_test
  1113. toms243, a C code which evaluates the logarithm of a complex value, by David Collens. This is a version of ACM TOMS algorithm 243.
  1114. toms243_test
  1115. toms291, a C code which approximates the logarithm of the Gamma function; This is a version of ACM TOMS algorithm 291.
  1116. toms291_test
  1117. toms322, a C code which evaluates the F and the Student T Cumulative Density Function (CDF); This is a version of ACM TOMS algorithm 322.
  1118. toms322_test
  1119. toms443, a C code which evaluates the Lambert W function. This is a version of ACM TOMS algorithm 443.
  1120. toms443_test
  1121. toms446, a C code which manipulates Chebyshev series for interpolation and approximation. This is a version of ACM TOMS algorithm 446, by Roger Broucke.
  1122. toms446_test
  1123. 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.
  1124. toms462_test
  1125. toms515, a C code which can select subsets of size K from a set of size N, This is a version of ACM TOMS Algorithm 515, by Bill Buckles, Matthew Lybanon.
  1126. toms515_test
  1127. toms577, a C code which evaluates the Carlson elliptic integral functions RC, RD, RF and RJ. This is a version of ACM TOMS algorithm 577.
  1128. toms577_test
  1129. 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.
  1130. toms655_test
  1131. toms743, a C code which evaluates the Lambert W function. This is a version of ACM TOMS algorithm 743, by Barry, Barry and Culligan-Hensley.
  1132. toms743_test
  1133. 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.
  1134. toms886_test
  1135. 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.
  1136. toms917_test
  1137. treepack, a C code which carries out computations on trees, a simple kind of graph that is minimally connected.
  1138. treepack_test
  1139. triangle, a C code which generates meshes, Delaunay triangulations, and Voronoi diagrams, by Jonathan Shewchuk;
  1140. triangle_test
  1141. triangle_analyze, a C code which reads a triangle defined in a file, and uses the triangle_properties() library to compute angles, area, centroid, circumcircle, edge lengths, incircle, orientation, orthocenter, and quality.
  1142. triangle_analyze_test
  1143. triangle_exactness, a C code which tests the polynomial exactness of a quadrature rule over the interior of a triangle in 2D.
  1144. triangle_exactness_test
  1145. 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.
  1146. triangle_fekete_rule_test
  1147. triangle_felippa_rule, a C code which returns a Felippa quadrature rules for approximating integrals over the interior of a triangle in 2D.
  1148. triangle_felippa_rule_test
  1149. triangle_grid, a C code which computes a grid of points over the interior of a triangle in 2D.
  1150. triangle_grid_test
  1151. 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.
  1152. triangle_integrals_test
  1153. triangle_interpolate, a C code which shows how vertex data can be interpolated at any point in the interior of a triangle.
  1154. triangle_interpolate_test
  1155. triangle_io, a C code which can read or write some of the files created by the triangle() program of Jonathan Shewchuk.
  1156. triangle_io_test
  1157. 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.
  1158. triangle_monte_carlo_test
  1159. triangle_ncc_rule, a C code which defines Newton-Cotes closed (NCC) quadrature rules over the interior of a triangle in 2D.
  1160. triangle_ncc_rule_test
  1161. triangle_nco_rule, a C code which defines Newton-Cotes open (NCO) quadrature rules over the interior of a triangle in 2D.
  1162. triangle_nco_rule_test
  1163. triangle_properties, a C code which computes properties, including angles, area, centroid, circumcircle, edge lengths, incircle, orientation, orthocenter, and quality, of a triangle in 2D.
  1164. triangle_properties_test
  1165. 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.
  1166. triangle_svg_test
  1167. 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.
  1168. triangle_symq_rule_test
  1169. triangle_to_fem, a C code which reads the NODE and ELE files created by the triangle program to describe a triangular mesh, and writes a corresponding pair of node and element files in the 2D FEM format.
  1170. triangle_to_fem_test
  1171. triangle_to_xml, a C code which reads the NODE and ELE files created by triangle() to describe a triangular mesh in 2D, and writes out a corresponding XML mesh file for use by DOLFIN or FENICS.
  1172. triangle_to_xml_test
  1173. triangle_twb_rule, a C library which generates the points and weights of quadrature rules over the interior of a triangle in 2D, determined by Taylor, Wingate, and Bos.
  1174. triangle_twb_rule_test
  1175. triangle01_integrals, a C code which returns the integral of any monomial over the interior of the unit triangle in 2D.
  1176. triangle01_integrals_test
  1177. 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.
  1178. triangle01_monte_carlo_test
  1179. triangulate, a C code which triangulates a polygonal region, by Joseph ORourke;
  1180. triangulate_test
  1181. 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.
  1182. triangulation_test
  1183. 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.
  1184. triangulation_node_to_element_test
  1185. triangulation_svg, a C code which creates an SVG image of a triangulation, which can be displayed by a web browser.
  1186. triangulation_svg_test
  1187. 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;
  1188. triangulation_triangle_neighbors_test
  1189. trig_to_neib, a C code which reads node and ele files, a format prescribed by the triangle() program of Jonathan Shewchuk, describing a triangulation, and produces a file defining the neighbor triangles of each element; the program can also produce information about the Voronoi diagram. The program is by Lili Ju.
  1190. trig_to_neib_test
  1191. 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.
  1192. truncated_normal_test
  1193. 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].
  1194. truncated_normal_rule_test
  1195. tsp_brute, a C code which reads a file of city-to-city distances and solves a (small!) traveling salesperson problem (TSP), using brute force.
  1196. tsp_brute_test
  1197. ubvec, a C code which demonstrates how nonnegative integers can be stored as unsigned binary vectors, and arithmetic can be performed on them.
  1198. ubvec_test
  1199. umfpack_test
  1200. unicycle, a C code which considers permutations containing a single cycle, sometimes called cyclic permutations.
  1201. unicycle_test
  1202. uniform, a C code which contains uniform random number generators (RNG) for several arithmetic types.
  1203. uniform_test
  1204. upc, a C code which computes the check digit associated with a uniform product code (UPC), or reports whether a 12-digit UPC is actually valid.
  1205. upc_test
  1206. valgrind_test
  1207. van_der_corput, a C code which computes elements of the van der Corput one-dimensional Quasi Monte Carlo (QMC) sequence, using a simple interface.
  1208. van_der_corput_test
  1209. vandermonde, a C code which implements the Bjork-Pereyra algorithm for accurate solution of linear systems involving the Vandermonde matrix.
  1210. vandermonde_test
  1211. vandermonde_approx_1d, a C code which finds a polynomial approximant to data y(x) of a 1D argument by solving an overdetermined linear system for the polynomial coefficients involving the Vandermonde matrix.
  1212. vandermonde_approx_1d_test
  1213. 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.
  1214. vandermonde_approx_2d_test
  1215. 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().
  1216. vandermonde_interp_1d_test
  1217. 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.
  1218. vandermonde_interp_2d_test
  1219. walker_sample, a C code which efficiently samples a discrete probability vector using Walker sampling.
  1220. walker_sample_test
  1221. walsh, a C code which implements versions of the Walsh and Haar transforms.
  1222. walsh_test
  1223. wathen, 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).
  1224. wathen_test
  1225. wave_mpi, a C code which uses the finite difference method (FDM) and MPI to estimate a solution to the wave equation.
  1226. wave_mpi_test
  1227. wavelet, a C code which does some simple wavelet calculations;
  1228. wavelet_test
  1229. wedge_exactness, a C code which investigates the polynomial exactness of a quadrature rule over the interior of the unit wedge in 3D.
  1230. wedge_exactness_test
  1231. wedge_felippa_rule, a C code which returns quadrature rules for approximating integrals over the interior of the unit wedge in 3D.
  1232. wedge_felippa_rule_test
  1233. wedge_grid, a C code which computes a grid of points over the interior of the unit wedge in 3D.
  1234. wedge_grid_test
  1235. 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.
  1236. wedge_integrals_test
  1237. 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.
  1238. wedge_monte_carlo_test
  1239. 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.
  1240. weekday_test
  1241. wishart, a C code which produces sample matrices from the Wishart or Bartlett distributions, useful for sampling random covariance matrices.
  1242. wishart_test
  1243. wtime, a C code which returns a reading of the wall clock time in seconds.
  1244. wtime_test
  1245. x_window_test
  1246. zero_rc, a C code which seeks a solution of a scalar nonlinear equation f(x)=0, using reverse communication (RC), by Richard Brent.
  1247. zero_rc_test
  1248. ziggurat, a C code which samples the uniform, normal or exponential distributions, using the ziggurat method, by Marsaglia and Tsang.
  1249. ziggurat_test
  1250. ziggurat_openmp, a C code which demonstrates how ziggurat() can be used as a random number generator (RNG) in an OpenMP parallel program.
  1251. ziggurat_openmp_test


Last revised on 03 August 2020.