C Codes


  1. allocatable_array_test
  2. alpert_rule, a C code which sets up an Alpert quadrature rule for functions which are regular, log(x) singular, or 1/sqrt(x) singular.
  3. alpert_rule_test
  4. 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 code 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 Cumulative Density Function (CDF) of the noncentral T Probability Density Function (PDF), by BE Cooper. This is a version of Applied Statistics Algorithm 5;
  13. asa005_test
  14. asa006, a C code which computes the Cholesky factorization of a symmetric positive definite (SPD) matrix, by Michael Healy. This is a version of Applied Statistics Algorithm 6;
  15. asa006_test
  16. asa007, a C code which computes the inverse of a symmetric positive definite (SPD) matrix, by Michael Healy. This is a version of Applied Statistics Algorithm 7.
  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 implements the K-means data clustering algorithm, 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 evaluates the Cumulative Density Function (CDF) of the normal probability 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, needed to compute the Cumulative Density Function (CDF) of the noncentral T distribution, by Young and Minder. This is a version of Applied Statistics Algorithm 76.
  31. asa076_test
  32. asa082, a C code which computes the determinant of an orthogonal matrix; this is a version of Applied Statistics Algorithm 82, by J C Gower.
  33. asa082_test
  34. asa091, a C code which evaluates the percentage points of the Chi-Squared distribution, by Best and Roberts. This is a version of Applied Statistics Algorithm 91.
  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 implements a clustering algorithm using transfers and swaps, 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 an RxC contingency table, 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 randomly generates an RxC contingency table, by Michael Patefield; This is a version of Applied Statistics Algorithm 159.
  55. asa159_test
  56. asa172, a C code which generates all M-dimensional indices in a given range, simulating the behavior of an arbitrary number of nested loops, by OFlaherty and MacKenzie. This is a version of Applied Statistics Algorithm 172.
  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 Cumulative Density Function (CDF) of the noncentral Beta distribution, 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 evaluates the percentage points of the normal distribution, by Michael Wichura. This is a version of Applied Statistics Algorithm 241.
  65. asa241_test
  66. asa243, a C code which evaluates the Cumulative Density Function (CDF) of the noncentral T distribution, by Russell Lenth; this is a version of Applied Statistics Algorithm 243.
  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 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 computes the Cumulative Density Function (CDF) of the noncentral Beta distribution, 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. backward_euler, a C code which solves one or more ordinary differential equations (ODE) using the (implicit) backward Euler method, using a version of fsolve() for the implicit equation.
  85. backward_euler_test
  86. ball_grid, a C code which computes a grid of points over the interior of the unit ball in 3D.
  87. ball_grid_test
  88. ball_integrals, a C code which returns the exact value of the integral of any monomial over the interior of the unit ball in 3D.
  89. ball_integrals_test
  90. ball_monte_carlo, a C code which applies a Monte Carlo method to estimate integrals of a function over the interior of the unit ball in 3D;
  91. ball_monte_carlo_test
  92. bank, a C code which computes the check digit associated with a US Bank Routing Number check digit, or reports whether a 9-digit code is actually valid.
  93. bank_test
  94. barycentric_interp_1d, a C code which defines and evaluates the barycentric Lagrange polynomial p(x) which interpolates a set of data, so that p(x(i)) = y(i). The barycentric approach means that very high degree polynomials can safely be used.
  95. barycentric_interp_1d_test
  96. bdf2, a C code which solves one or more ordinary differential equations (ODE) using the (implicit) backward difference formula of order 2 (BDF2), using fsolve() to solve the implicit equation.
  97. bdf2_test
  98. bellman_ford, a C code which implements the Bellman-Ford algorithm for finding the shortest distance from a given node to all other nodes in a directed graph whose edges have been assigned real-valued lengths.
  99. bellman_ford_test
  100. bernstein_polynomial, a C code which evaluates the Bernstein polynomials;
  101. bernstein_polynomial_test
  102. besselj, a C code which evaluates Bessel J functions of noninteger order;
  103. besselj_test
  104. beta_nc, a C code which evaluates the cumulative density function (CDF) of the noncentral Beta distribution;
  105. beta_nc_test
  106. biharmonic_exact, a C code which evaluates exact solutions w(x,y) to the biharmonic equation del^2 w = 0 or wxxxx + 2 wxxyy + wyyyy = 0
  107. biharmonic_exact_test
  108. bisection, a C code which applies the bisection method to seek a root of f(x) over a change-of-sign interval a <= x <= b.
  109. bisection_test
  110. bisection_integer, a C code which seeks an integer solution to the equation F(X)=0, using bisection within a user-supplied change of sign interval [A,B].
  111. bisection_integer_test
  112. bisection_rc, a C code which seeks a solution to the equation F(X)=0 using bisection within a user-supplied change of sign interval [A,B]. The procedure is written using reverse communication (RC).
  113. bisection_rc_test
  114. black_scholes, a C code which implements some simple approaches to the Black-Scholes option valuation theory, by Desmond Higham.
  115. black_scholes_test
  116. blas0, a C code which contains auxilliary functions for the Basic Linear Algebra Subprograms (BLAS).
  117. blas0_test
  118. blas1_d, a C code of the Level 1 Basic Linear Algebra Subprograms (BLAS), using double precision real arithmetic;
  119. blas1_d_test
  120. blas1_z, a C code of the Level 1 Basic Linear Algebra Subprograms (BLAS), using double precision complex arithmetic;
  121. blas1_z_test
  122. blas2_d, a C code which constitutes the Level 2 Basic Linear Algebra Subprograms (BLAS), using double precision real arithmetic.
  123. blas2_d_test
  124. blas3_d, a C code which constitutes the Level 3 Basic Linear Algebra Subprograms (BLAS) for matrix-matrix operations, using double precision real arithmetic.
  125. blas3_d_test
  126. blend, a C code which carries out 1D/2D/3D blending interpolation;
  127. blend_test
  128. 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;
  129. box_behnken_test
  130. brc_data, a C code which creates a file of randomly generated temperature readings to be associated with weather stations at 413 world cities. A file like this, with 1 billion records, is used for the billion record challenge (BRC).
  131. brc_data_test
  132. brc_naive, a C code which reads a file of randomly generated temperature readings, associated with weather stations at 413 world cities, and computes the minimum, mean, and maximum temperature for each weather station. It also reports the total execution time. Processing such a data file with one billion records is the substance of the billion record challenge (BRC).
  133. brc_naive_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_exact, a C code which evaluates exact solutions of the time-dependent 1D viscous Burgers equation.
  137. burgers_exact_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, a C code which illustrates some of the features of the C programming language.
  141. c_arrays_test, a C code which shows how to define, allocate, index and delete vectors, matrices and higher dimensional arrays.
  142. c_calls_f77_test, a C code which illustrates how a C program can call a FORTRAN77 subroutine.
  143. c_calls_f90_test, a C code which illustrates how a C program can call a FORTRAN90 subroutine.
  144. c_combinatorics, a C code which considers a variety of problems in combinatorics involving counting, combinations, permutations, and so on.
  145. c_exact, a C code which evaluates exact solutions to a few selected examples of ordinary differential equations (ODE) and partial differential equations (PDE).
  146. c_files_test, a C code which illustrates the use of files.
  147. c_intrinsics_test, a C code which illustrates the use of intrinsic functions supplied by the C language.
  148. c_mistake, a C code which illustrates some simple but devious programming mistakes in C.
  149. c_monte_carlo, a C code which uses Monte Carlo sampling to estimate areas and integrals.
  150. c_ode_solver, a C code which solves one or more differential equations (ODE) using a method of a particular order, either explicit or implicit. Some methods require a nonlinear equation solver. Some methods used a fixed stepsize, while others adapt the stepsize based on an error estimate.
  151. c_operators_test
  152. c_random_test
  153. c_rule, a C code which computes a quadrature rule which estimates the integral of a function f(x), which might be defined over a one dimensional region (a line) or more complex shapes such as a circle, a triangle, a quadrilateral, a polygon, or a higher dimensional region, and which might include an associated weight function w(x).
  154. c_simulation, a C code which uses simulation to study card games, contests, and other processes which have a random element. Usually, the purpose is to try to predict the average behavior of the system over many trials.
  155. c8_complex_lib, a C code which defines a double precision complex (C8) variable as a structure, and implements certain corresponding elementary functions.
  156. c8_complex_lib_test
  157. c8lib, a C code which implements certain elementary functions for double precision complex (C8) variables using the C99 standard "double complex" datatype.
  158. c8lib_test
  159. c8poly, a C code which operates on complex polynomials.
  160. c8poly_test
  161. caesar, a C code which applies a Caesar Shift Cipher to a string of text.
  162. caesar_test
  163. calpak, a C code which computes various simple calendrical quantities. It can work with various calendars including Egyptian, English, French Revolutionary, Gregorian, Julian, and Julian Ephemeris Date. It can convert a date from one calendar to another. It can return the day of the week for a given date. It can convert from day-number/year to day/month/year format. It can calculate the time difference between two dates.
  164. calpak_test
  165. candy_count, a C code which counts the types of candy in a rectangular container, which might be a vector, matrix, or 3D box. The candy is assumed to have C possible types, and to have been entered into the container in a cycle that begins with type 1. While the vector case is easy, it is already difficult to come up with a general formula for the MxN matrix case.
  166. candy_count_test
  167. cauchy_principal_value, a C code which uses Gauss-Legendre quadrature to estimate the Cauchy Principal Value (CPV) of certain singular integrals.
  168. cauchy_principal_value_test
  169. cblas_test, a C code which calls cblas(), which implements the Basic Linear Algebra Subprograms.
  170. ccn_rule, a C code which defines a one of a sequence of Clenshaw Curtis Nested (CCN) quadrature rules of any order.
  171. ccn_rule_test
  172. ccs_io, a C code which reads and writes sparse linear systems stored in the Compressed Column Storage (CCS) format.
  173. ccs_io_test
  174. ccs_to_st, a C code which converts a sparse matrix from Compressed Column Storage (CCS) to sparse triplet (ST) format.
  175. ccs_to_st_test
  176. 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.
  177. cdflib_test
  178. cell, a C code which defines a cell array, a generalization of an array which compactly stores and retrieves vector or matrix data of varying size, such as the rows of a triangular matrix.
  179. cell_test
  180. cellular_automaton, a C code which demonstrates the 1D Cellular Automaton known as rule #30.
  181. cellular_automaton_test
  182. 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.
  183. cg_test
  184. 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).
  185. cg_rc_test
  186. change_dynamic, a C code which uses dynamic programming to solve the change making problem, in which a given sum is to be formed using coins of various denominations.
  187. change_dynamic_test
  188. chebyshev, a C code which computes the Chebyshev interpolant or approximant to a given function over an interval.
  189. chebyshev_test
  190. 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).
  191. chebyshev_interp_1d_test
  192. 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.
  193. chebyshev_polynomial_test
  194. chebyshev_series, a C code which evaluates a Chebyshev series approximating a function f(x), while efficiently computing one, two or three derivatives of the series, which approximate f'(x), f''(x), and f'''(x), by Manfred Zimmer.
  195. chebyshev_series_test
  196. chrpak, a C code which manipulates characters and strings;
  197. chrpak_test
  198. circle_arc_grid, a C code which computes grid points along a circular arc.
  199. circle_arc_grid_test
  200. 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.
  201. circle_integrals_test
  202. 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;
  203. circle_monte_carlo_test
  204. 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).
  205. circle_rule_test
  206. 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().
  207. circle_segment_test
  208. clapack_test
  209. clausen, a C code which evaluates a Chebyshev interpolant to the Clausen function Cl2(x).
  210. clausen_test
  211. clenshaw_curtis_rule, a C code which implements a Clenshaw Curtis quadrature rule;
  212. clenshaw_curtis_rule_test
  213. closest_pair_brute, a C code which uses brute force to solve a 2D version of the closest pair problem, which identifies the closest pair of points in a given collection.
  214. closest_pair_brute_test
  215. closest_point_brute, a C code which uses brute force to find the nearest of a set of N points in D dimensions to a given test point. This is sometimes called a nearest neighbor calculation.
  216. closest_point_brute_test
  217. cnoise, a C code which generates samples of noise obeying a 1/f^alpha power law, by Miroslav Stoyanov.
  218. cnoise_test
  219. collatz_recursive, a C code which demonstrates recursive programming by considering the simple Collatz 3n+1 problem.
  220. collatz_recursive_test
  221. colored_noise, a C code which generates samples of noise obeying a 1/f^alpha power law.
  222. colored_noise_test
  223. combo, a C code which ranks, unranks, enumerates, lists and randomly selects balanced sequences, cycles, graphs, Gray codes, subsets, partitions, permutations, restricted growth functions, Pruefer codes and trees.
  224. combo_test
  225. 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.
  226. communicator_mpi_test
  227. companion_matrix, a C code which computes the companion matrix for a polynomial. The polynomial may be represented in the standard monomial basis, or as a sum of Chebyshev, Gegenbauer, Hermite, Laguerre, or Lagrange basis polynomials. All the roots of the polynomial can be determined as the eigenvalues of the corresponding companion matrix.
  228. companion_matrix_test
  229. 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.
  230. compass_search_test
  231. complex_numbers_test, a C code which demonstrates the declaration and use of complex numbers.
  232. components, a C code which organizes contiguous cells into labeled clusters, for a 1D, 2D, or 3D array. This code has uses in image analysis and percolation simulation.
  233. components_test
  234. condition, a C code which implements methods of computing or estimating the condition number of a matrix.
  235. condition_test
  236. continued_fraction, a C code which implements some simple algorithms for dealing with simple and generalized continued fractions.
  237. continued_fraction_test
  238. cordic, a C code which computes a few special functions using the CORDIC algorithm.
  239. cordic_test
  240. correlation, a C code which contains statistical correlation functions.
  241. correlation_test
  242. cosine_transform, a C code which demonstrates some simple properties of the discrete cosine transform (DCT).
  243. cosine_transform_test
  244. csparse, a C code which carries out the direct solution of sparse linear systems, by Timothy Davis.
  245. csparse_test
  246. cube_arbq_rule, a C code which returns quadrature rules, with exactness up to total degree 15, over the interior of the symmetric cube in 3D, by Hong Xiao and Zydrunas Gimbutas.
  247. cube_arbq_rule_test
  248. cube_exactness, a C code which investigates the polynomial exactness of quadrature rules over the interior of a cube in 3D.
  249. cube_exactness_test
  250. cube_felippa_rule, a C code which returns a Felippa quadrature rules for approximating integrals over the interior of a cube in 3D.
  251. cube_felippa_rule_test
  252. cube_grid, a C code which computes a grid of points over the interior of a cube in 3D.
  253. cube_grid_test
  254. cube_integrals, a C code which returns the exact value of the integral of any monomial over the interior of the unit cube in 3D.
  255. cube_integrals_test
  256. cube_monte_carlo, a C code which applies a Monte Carlo method to estimate the integral of a function over the interior of the unit cube in 3D.
  257. cube_monte_carlo_test
  258. cuda_loop, a C code which shows how, in a CUDA program running on a Graphics Processing Unit (GPU), the choice of block and thread factors determines the allocation of tasks to processors.
  259. cuda_loop_test
  260. 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.
  261. cycle_brent_test
  262. 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.
  263. cycle_floyd_test
  264. cyclic_reduction, a C code which solves a tridiagonal linear system using cyclic reduction;
  265. cyclic_reduction_test
  266. differ, is given function values at equally spaced locations, and the order of a derivative, and uses the finite difference method (FDM) to compute a linear combination of these function values which approximated that derivative.
  267. differ_test
  268. dijkstra, a C code which implements a simple version of the Dijkstra minimum distance algorithm for graphs.
  269. dijkstra_test
  270. dijkstra_openmp, a C code which uses OpenMP to parallelize a simple example of the Dijkstra minimum distance algorithm for graphs.
  271. dijkstra_openmp_test
  272. 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.
  273. discrete_pdf_sample_2d_test
  274. 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.
  275. disk_grid_test
  276. 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;
  277. disk_monte_carlo_test
  278. disk_rule, a C code which computes quadrature rules for the general disk in 2D.
  279. disk_rule_test
  280. 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.
  281. disk01_integrals_test
  282. 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;
  283. disk01_monte_carlo_test
  284. disk01_positive_monte_carlo, a C code which applies a Monte Carlo method to estimate integrals of a function over the interior of the unit positive disk in 2D;
  285. disk01_positive_monte_carlo_test
  286. 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).
  287. disk01_rule_test
  288. dislin_test, a C code which uses dislin() to create a variety of graphics.
  289. divdif, a C code which creates, prints and manipulates divided difference polynomials from a table of values (x,f(x)). The code can compute the coefficients of the Newton and power sum forms of the interpolating polynomial. It can compute the derivative or antiderivate polynomial. It can compute the form of the Lagrange basis polynomials. It can compute the points and weights for Newton Cotes quadrature rules. It can compute the weights for a Lagrange interpolation scheme.
  290. divdif_test
  291. 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.
  292. doomsday_test
  293. 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.
  294. dream_test
  295. duel_simulation, a C code which simulates N repetitions of a duel between two players, each of whom has a known firing accuracy.
  296. duel_simulation_test
  297. 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.
  298. edge_test
  299. eigs, a C code which computes the eigenvalues and eigenvectors of a matrix.
  300. eigs_test
  301. eispack, a C code which carries out eigenvalue computations. It includes a function to compute the singular value decomposition (SVD) of a rectangular matrix. superseded by lapack();
  302. eispack_test
  303. ellipse, a C code which carries out geometric calculations for ellipses, including area, distance to a point, eccentricity, perimeter, points along the perimeter, random sampling, conversion between standard and quadratic forms.
  304. ellipse_test
  305. ellipse_grid, a C code which computes grid points over the interior of an ellipse in 2D.
  306. ellipse_grid_test
  307. 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.
  308. ellipse_monte_carlo_test
  309. ellipsoid, a C code which carries out geometric calculations for ellipsoids, including area, random sampling, conversion between standard and quadratic forms.
  310. ellipsoid_test
  311. ellipsoid_grid, a C code which computes a grid of points over the interior of an ellipsoid in 3D.
  312. ellipsoid_grid_test
  313. 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.
  314. ellipsoid_monte_carlo_test
  315. elliptic_integral, a C code which evaluates complete elliptic integrals of first, second and third kind, using the Carlson elliptic integral functions.
  316. elliptic_integral_test
  317. euler, a C code which solves one or more ordinary differential equations (ODE) using the forward Euler method.
  318. euler_test
  319. 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).
  320. exactness_test
  321. f77split, a C code which splits a file containing multiple FORTRAN77 routines into separate files;
  322. f77split_test
  323. f90split, a C code which splits a file containing multiple FORTRAN90 routines into separate files;
  324. f90split_test
  325. fair_dice_simulation, a C code which simulates N tosses of 2 dice, making a histogram of the results.
  326. fair_dice_simulation_test
  327. fd_predator_prey, a C code which solves a pair of predator prey ordinary differential equations (ODE) using a finite difference method (FDM) approximation.
  328. fd_predator_prey_test
  329. fd1d_advection_diffusion_steady, a C code which applies the finite difference method (FDM) to solve the steady advection diffusion equation v*ux-k*uxx=0 in one spatial dimension, with constant velocity v and diffusivity k, writing graphics files for processing by gnuplot().
  330. fd1d_advection_diffusion_steady_test
  331. fd1d_advection_ftcs, a C code which applies the finite difference method (FDM) to solve the time-dependent advection equation ut = - c * ux in one spatial dimension, with a constant velocity, using the forward time centered space (FTCS) difference method, writing graphics files for processing by gnuplot().
  332. fd1d_advection_ftcs_test
  333. fd1d_advection_lax, a C code which applies the finite difference method (FDM) to solve the time-dependent advection equation ut = - c * ux in one spatial dimension, with a constant velocity, using the Lax method to approximate the time derivative, writing graphics files for processing by gnuplot().
  334. fd1d_advection_lax_test
  335. fd1d_advection_lax_wendroff, a C code which applies the finite difference method (FDM) to solve the time-dependent advection equation ut = - c * ux in one spatial dimension, with a constant velocity, using the Lax-Wendroff method to approximate the time derivative, writing graphics files for processing by gnuplot().
  336. fd1d_advection_lax_wendroff_test
  337. fd1d_burgers_lax, a C code which applies the finite difference method (FDM) and the Lax Wendroff method to solve the non-viscous time-dependent Burgers equation in one spatial dimension.
  338. fd1d_burgers_lax_test
  339. fd1d_burgers_leap, a C code which applies the finite difference method (FDM) and the leapfrog approach to solve the non-viscous time-dependent Burgers equation in one spatial dimension.
  340. fd1d_burgers_leap_test
  341. fd1d_bvp, a C code which applies the finite difference method (FDM) to a two point boundary value problem (BVP) in one spatial dimension.
  342. fd1d_bvp_test
  343. fd1d_heat_explicit, a C code which implements a finite difference method (FDM), explicit in time, of the time dependent 1D heat equation;
  344. fd1d_heat_explicit_test
  345. fd1d_heat_implicit, a C code which implements a finite difference method (FDM), implicit in time, of the time dependent 1D heat equation;
  346. fd1d_heat_implicit_test
  347. fd1d_heat_steady, a C code which implements a finite difference method (FDM) for the steady time-independent 1D heat equation;
  348. fd1d_heat_steady_test
  349. fd1d_wave, a C code which applies the finite difference method (FDM) to solve the time-dependent wave equation in one spatial dimension.
  350. fd1d_wave_test
  351. fd2d_heat_steady, a C code which implements a finite difference method (FDM) for the steady time-independent 2D heat equation;
  352. fd2d_heat_steady_test
  353. fem_basis, a C code which defines and evaluates finite element method (FEM) basis functions for any degree in an M-dimensional simplex: 1D interval, 2D triangle, 3D tetrahedron, and higher dimensional generalizations.
  354. fem_basis_test
  355. fem_io, a C code which reads or writes FEM files, which describe the nodes, elements, and function values associated with a finite element method (FEM) model;
  356. fem_io_test
  357. fem_to_gmsh, a C code which reads a pair of FEM files defining node coordinates and elements, of a 1D, 2D or 3D mesh, namely a file of node coordinates and a file of elements defined by node indices, and creates a gmsh() mesh file.
  358. fem_to_gmsh_test
  359. fem_to_triangle, a C code which reads FEM files defining a 2D mesh of triangles, namely a file of node coordinates and a file of elements defined by node indices, and creates a corresponding pair of node and element files for use by the triangle() program of Jonathan Shewchuk.
  360. fem_to_triangle_test
  361. 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.
  362. fem_to_xml_test
  363. fem1d, a C code which applies the finite element method (FEM), using piecewise linear basis functions, to a linear two point boundary value problem (BVP) in 1D;
  364. fem1d_test
  365. fem1d_adaptive, a C code which uses an adaptive mesh when applying the finite element method (FEM), with piecewise linear basis functions, to a linear two point boundary value problem (BVP) in 1D;
  366. fem1d_adaptive_test
  367. fem1d_bvp_linear, a C code which applies the finite element method (FEM), with piecewise linear elements, to a two point boundary value problem (BVP) in one spatial dimension, and compares the computed and exact solutions with the L2 and seminorm errors.
  368. fem1d_bvp_linear_test
  369. fem1d_bvp_quadratic, a C code which applies the finite element method (FEM), with piecewise quadratic elements, to a two point boundary value problem (BVP) in one spatial dimension, and compares the computed and exact solutions with the L2 and seminorm errors.
  370. fem1d_bvp_quadratic_test
  371. fem1d_heat_steady, a C code which implements the finite element method (FEM) for the steady (time independent) 1D heat equation;
  372. fem1d_heat_steady_test
  373. fem1d_lagrange, a C code which sets up the matrices and vectors associated with the finite element method (FEM) solution of a boundary value problem (BVP) -u''+u=f(x), using Lagrange basis polynomials.
  374. fem1d_lagrange_test
  375. fem1d_nonlinear, a C code which applies the finite element method (FEM), with piecewise linear basis functions, to a nonlinear two point boundary value problem (BVP) in 1D;
  376. fem1d_nonlinear_test
  377. fem1d_pack, a C code which contains utilities for 1D finite element method (FEM) calculations.
  378. fem1d_pack_test
  379. fem1d_pmethod, a C code which applies the p-method version of the finite element method (FEM) to a linear two point boundary value problem (BVP) in 1D;
  380. fem1d_pmethod_test
  381. fem1d_project, a C code which projects data into a finite element space, including the least squares approximation of data, or the projection of a finite element method (FEM) solution from one mesh to another.
  382. fem1d_project_test
  383. fem1d_sample, a C code which samples a scalar or vector finite element function of one variable, defined by FEM files, returning interpolated values at the sample points.
  384. fem1d_sample_tesst
  385. fem2d_bvp_linear, a C code which applies the finite element method (FEM), with piecewise linear elements, to a 2D boundary value problem (BVP) in a rectangle, and compares the computed and exact solutions with the L2 and seminorm errors.
  386. fem2d_bvp_linear_test
  387. fem2d_bvp_quadratic, a C code which applies the finite element method (FEM), with piecewise quadratic elements, to a 2D boundary value problem (BVP) in a rectangle, and compares the computed and exact solutions with the L2 and seminorm errors.
  388. fem2d_bvp_quadratic_test
  389. fem2d_bvp_serene, a C code which applies the finite element method (FEM), with serendipity elements, to a 2D boundary value problem (BVP) in a rectangle, and compares the computed and exact solutions with the L2 and seminorm errors.
  390. fem2d_bvp_serene_test
  391. fem2d_pack, a C code which implements various 2D finite element method (FEM) calculations;
  392. fem2d_pack_test
  393. 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.
  394. fem2d_poisson_rectangle_test
  395. 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.
  396. fem2d_poisson_rectangle_linear_test
  397. fern_opengl, a C code which uses OpenGL to display the Barnsley fractal fern.
  398. 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.
  399. feynman_kac_1d_test
  400. 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.
  401. feynman_kac_2d_test
  402. 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.
  403. feynman_kac_3d_test
  404. fft_openmp, a C code which demonstrates the computation of a Fast Fourier Transform (FFT) in parallel, using OpenMP.
  405. fft_openmp_test
  406. 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.
  407. fft_serial_test
  408. fftpack4, a C code which implements the Fast Fourier Transform (FFT) by Paul Swarztrauber and Dick Valent, translated by Andrew Fernandes;
  409. fftpack4_test
  410. fftw_test
  411. file_name_sequence, a C code which generates a sequence of filenames, which can be useful when generating a sequence of still snapshots to be animated later.
  412. file_name_sequence_test
  413. files_multiple, a C code which opens multiple output files at one time, and write data to any one specific file it chooses.
  414. files_multiple_test
  415. filon_rule, a C code which uses Filon's method to approximate integrals which include an oscillatory factor of sin(k*x) or cos(k*x).
  416. filon_rule_test
  417. filum, a C code which performs various operations with files;
  418. filum_test
  419. 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.
  420. fire_simulation_test
  421. fisher_exact, a C code which returns an exact solution of the Kolmogorov Petrovsky Piskonov Fisher partial differential equation (PDE) ut=uxx+u*(1-u).
  422. fisher_exact_test
  423. flame_exact, a C code which returns the exact solution of an ordinary differential equation (ODE) which models the growth of a ball of flame in a combustion process. The exact solution is defined in terms of the Lambert W function.
  424. flame_exact_test
  425. flood_opengl, a C code which uses OpenGL to allow the user to select regions of a 2D image and flood them with color, by Art Wetzel.
  426. floyd, a C code which implements the Floyd algorithm for finding the shortest distance between pairs of nodes on a directed graph.
  427. floyd_test
  428. 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.
  429. fn_test
  430. football_dynamic, a C code which uses dynamic programming to count the ways of achieving a given score in football.
  431. football_dynamic_test
  432. freefem_msh_io, a C code which reads and writes files used by the FreeFem++ finite element program to store mesh information.
  433. freefem_msh_io_test
  434. fsolve, a C code which solves systems of nonlinear equations, inspired by the fsolve() function in minpack(), with special interfaces fsolve_bdf2(), fsolve_be() and fsolve_tr() for handling systems associated with implicit ODE solvers of type bdf2, backward Euler, midpoint, or trapezoidal.
  435. fsolve_test
  436. functions_openmp, a C code which demonstrates a few of the OpenMP functions.
  437. functions_openmp_test
  438. gauss_seidel, a C code which implements the Gauss-Seidel iteration for linear systems.
  439. gauss_seidel_test
  440. gcc_intrinsics_test, a C code which demonstrates the intrinsic functions made available by the Gnu gcc compiler for C.
  441. gegenbauer_cc, a C code which computes the Gegenbauer weighted integral of a function f(x) using a Clenshaw-Curtis approach.
  442. gegenbauer_cc_test
  443. gegenbauer_polynomial, a C code which evaluates the Gegenbauer polynomial and associated functions.
  444. gegenbauer_polynomial_test
  445. 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.
  446. geometry_test
  447. geompack, a C code which computes Delaunay triangulations, Voronoi diagrams, and other information, by Barry Joe.
  448. geompack_test
  449. gl_fast_rule, a C code which carries out the rapid computation of the Kth value and weight of an N point Gauss-Legendre quadrature rule, by Ignace Bogaert.
  450. gl_fast_rule_test
  451. glomin, a C code which finds a global minimum of a scalar function of a scalar variable, without the use of derivative information, by Richard Brent.
  452. glomin_test
  453. glomin_nogoto, a C code which finds a global minimum of a scalar function of a scalar variable, without the use of derivative information, by Richard Brent. This version, rewritten by Hans Bieshaar, avoids the use of the goto statement, and the alternative duplication of some statements.
  454. glomin_nogoto_test
  455. gmsh_io, a C code which reads or writes some of the files created by gmsh() for 1D, 2D or 3D meshes used by the finite element method (FEM).
  456. gmsh_io_test
  457. gmsh_to_fem, a C code which reads a mesh data file created by gmsh() and writes a pair of node and element files that correspond to the FEM format.
  458. gmsh_to_fem_test
  459. gnuplot_test, a C code which uses gnuplot() to create various kinds of plots.
  460. gnuplot_i, a C code which allows an executing C, C++ or Fortran program to interact with gnuplot(), by Nicholas Devillard.
  461. gnuplot_i_test
  462. gprof_test, a C code which uses the gprof() profiling tool.
  463. graphics_dislin_test, a C code which creates various kinds of plots using dislin().
  464. graphics_gnuplot_test, a C code which creates plots using gnuplot().
  465. gsl_test, a C code which uses the GNU Scientific Library (GSL), which includes utilities to handle Basis splines, BLAS (Basic Linear Algebra Subprograms), Chebyshev Approximation, Complex numbers, Ordinary Differential Equations (ODE), Discrete Hankel Transforms, Discrete Wavelet Transforms, Eigenvalues and Eigenvectors, Fast Fourier Transforms (FFT), Histograms, IEEE Floating Point Calculations, Interpolation, Least Squares Fitting, Linear Algebra, Minimization, Monte Carlo Integration, N-Tuples, Numerical Differentiation, Permutations, Physical Constants, Quadrature (Numerical Integration), Quasi-Random sequences, Random Distributions, Random Numbers, Root finding of general nonlinear equations, Roots of Polynomials, Running Statistics, Series Acceleration, Simulated Annealing, Sorting, Sparse Matrices, Special Functions, Statistics, Vectors and matrices.
  466. haar_transform, a C code which computes the Haar transform of 1d or 2d data.
  467. haar_transform_test
  468. halton, a C code which computes elements of a Halton Quasi Monte Carlo (QMC) sequence, using a simple interface.
  469. halton_test
  470. hammersley, a C code which computes elements of a Hammersley Quasi Monte Carlo (QMC) sequence, using a simple interface.
  471. hammersley_test
  472. hankel_cholesky, a C code which computes the upper Cholesky factor R of a symmetric positive definite (SPD) matrix H so that H = R' * R.
  473. hankel_cholesky_test
  474. hankel_spd, a C code which computes a lower triangular matrix L which is the Cholesky factor of a symmetric positive definite (SPD) Hankel matrix H, that is, H = L * L'.
  475. hankel_spd_test
  476. hdf5_test, a C code which demonstrates the use of the HDF5 data format.
  477. heat_mpi, a C code which demonstrates the use of the Message Passing Interface (MPI), by solving the 1D time dependent heat equation.
  478. heat_mpi_test
  479. 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.
  480. heated_plate_test
  481. 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.
  482. heated_plate_openmp_test
  483. hello, a C code which prints out "Hello, world!".
  484. hello_test
  485. hello_mpi, a C code which prints out "Hello, world!" using MPI for parallel programming.
  486. hello_mpi_test
  487. hello_openmp, a C code which prints out "Hello, world!" within the OpenMP parallel programming environment.
  488. hello_openmp_test
  489. helmholtz_openmp, a C code which solves the discretized Helmholtz equation in 2D using the OpenMP application program interface for carrying out parallel computations in a shared memory environment.
  490. helmholtz_openmp_test
  491. hermite_cubic, a C code which computes the value, derivatives or integral of a Hermite cubic polynomial, or manipulate an interpolant made up of piecewise Hermite cubic polynomials.
  492. hermite_cubic_test
  493. 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).
  494. hermite_exactness_test
  495. hermite_integrands, a C code which defines test integrands for Hermite integrals with density exp(-x^2) over the interval (-oo,+oo).
  496. hermite_integrands_test
  497. hermite_interpolant, a C code which computes the Hermite interpolant, a polynomial that matches function values and derivatives.
  498. hermite_interpolant_test
  499. hermite_polynomial, a C code which evaluates the physicist's Hermite polynomial, the probabilist's Hermite polynomial, the Hermite function, and related functions.
  500. hermite_polynomial_test
  501. hermite_product_polynomial, a C code which defines Hermite product polynomials, creating a multivariate polynomial as the product of univariate Hermite polynomials.
  502. hermite_product_polynomial_test
  503. 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).
  504. hermite_rule_test
  505. hexahedron_jaskowiec_rule, a C code which returns a symmetric Jaskowiec quadrature rule for the hexahedron, with exactness up to total degree 21.
  506. hexahedron_jaskowiec_rule_test
  507. hexahedron_witherden_rule, a C code which returns a symmetric Witherden quadrature rule for the hexahedron, with exactness up to total degree 11.
  508. hexahedron_witherden_rule_test
  509. 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 code uses gnuplot() to create a graph of the results.
  510. high_card_simulation_test
  511. hilbert_curve, a C code which computes the sequence of discrete Hilbert curves whose limit is a space-filling curve.
  512. hilbert_curve_test
  513. 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.
  514. histogram_data_2d_sample_test
  515. humps, a C code which evaluates the humps function, its first and second derivatives and its antiderivative.
  516. humps_test
  517. hyper_2f1, a C code which evaluates the hypergeometric functions 2F1(a,b,c;x) for real parameters a, b, c, and argument x, based on the Gnu Scientific Library function gsl_sf_hyperg_2F1().
  518. hyper_2f1_test
  519. 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.
  520. hyperball_integrals_test
  521. 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;
  522. hyperball_monte_carlo_test
  523. hypercube_exactness, a C code which tests the polynomial exactness of a quadrature rule over the interior of the unit hypercube in M dimensions.
  524. hypercube_exactness_test
  525. hypercube_grid, a C code which computes a grid of points over the interior of a hypercube in M dimensions.
  526. hypercube_grid_test
  527. 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.
  528. hypercube_integrals_test
  529. 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.
  530. hypercube_monte_carlo_test
  531. hypersphere, a C code which carries out various operations for an M dimensional hypersphere, including converting between Cartesian and spherical coordinates, stereographic projection, sampling the surface of the sphere, and computing the surface area and volume.
  532. hypersphere_test
  533. 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.
  534. hypersphere_integrals_test
  535. 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;
  536. hypersphere_monte_carlo_test
  537. i4lib, a C code which contains many utility routines, using single precision integer (I4) arithmetic.
  538. i4lib_test
  539. i8lib, a C code which contains many utility routines, using double precision integer (I8) arithmetic.
  540. i8lib_test
  541. ice_io, a C code which reads or writes an ICE dataset, which defines a 3D grid, using the netcdf() file format.
  542. ice_io_test
  543. ice_to_medit, a C code which reads a netcdf() file containing an ICE dataset and rewrites the information as a medit() MESH file.
  544. ice_to_medit_test
  545. image_denoise, a C code which applies simple filtering operations to a noisy image.
  546. image_denoise_test
  547. image_denoise_openmp, a C code which applies simple filtering operations to a noisy image, carrying out the operation in parallel using OpenMP.
  548. image_denoise_openmp_test
  549. image_edge, a C code which demonstrates a simple procedure for edge detection in images.
  550. image_edge_test
  551. 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.
  552. index_test
  553. interp, a C code which parameterizes or interpolates data;
  554. interp_test
  555. is, a C code which is a serial version of the nas Integer Sort (IS) Parallel Benchmark, which is intended as the starting point for the development of a parallel version.
  556. is_test
  557. is_prime, a C code which determines if a given integer n is prime, using various versions of the sieve of Eratosthenes.
  558. is_prime_test
  559. isbn, a C code which determines the check digit for an International Standard Book Number or report whether a given ISBN is valid.
  560. isbn_test
  561. 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.
  562. ising_2d_simulation_test
  563. jacobi, a C code which implements the Jacobi iteration for the iterative solution of linear systems.
  564. jacobi_test
  565. jacobi_eigenvalue, a C code which implements the Jacobi iteration for the iterative determination of the eigenvalues and eigenvectors of a real symmetric matrix.
  566. jacobi_eigenvalue_test
  567. jacobi_openmp, a C code which uses OpenMP to parallelize a Jacobi iteration solving A*x=b.
  568. jacobi_openmp_test
  569. jacobi_polynomial, a C code which evaluates the Jacobi polynomial and associated functions.
  570. jacobi_polynomial_test
  571. julia_set, a C code which generates a TGA or TARGA graphics file of a Julia set.
  572. julia_set_test
  573. julia_set_openmp, a C code which produces an image of a Julia set, using OpenMP to carry out the computation in parallel.
  574. julia_set_openmp_test
  575. kdv_exact, a C code which evaluates exact solutions of the Korteweg-deVries (KdV) partial differential equation (PDE).
  576. kdv_exact_test
  577. kmeans, a C code which handles the K-Means problem, which organizes a set of N points in M dimensions into K clusters;
  578. kmeans_test
  579. knapsack_01_brute, a C code which uses brute force to solve small versions of the 0/1 knapsack problem, in which a knapsack of limited weight capacity is to be packed as full as possible, selecting items from a set of varying weights;
  580. knapsack_01_brute_test
  581. knapsack_rational, a C code which solves the rational knapsack problem, in which a knapsack of limited weight capacity is filled with profitable items. This variation of the knapsack problem allows a fractional part of an item to be included in the knapsack. The result is an upper bound on the maximum possible profit for the knapsack problem.
  582. knapsack_rational_test
  583. knapsack_values, a C code which returns some simple examples of the knapsack problem, in which N items are available, each with given value V and weight W. A thief's knapsack can carry no more than K pounds. The thief seeks a selection S of items to carry in the knapsack of maximum total value.
  584. knapsack_values_test
  585. kronrod_rule, a C code which computes a Gauss and Gauss-Kronrod pair of quadrature rules of arbitrary order, by Robert Piessens, Maria Branders.
  586. kronrod_rule_test
  587. ladders, a C code which transforms one five letter word into another, by changing one letter at a time, using only legitimate English words. This puzzle was invented by Lewis Carroll, who called it "Doublets", but it is also known as "Word Ladders" or "Word Golf". The code is by Donald Knuth, as part of his "Stanford Graph Base".
  588. 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)).
  589. lagrange_approx_1d_test
  590. 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).
  591. lagrange_interp_1d_test
  592. 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).
  593. lagrange_interp_2d_test
  594. 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).
  595. lagrange_interp_nd_test
  596. 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).
  597. laguerre_exactness_test
  598. laguerre_integrands, a C code which implements test problems for approximate integration over a semi-infinite interval, often carried out using Gauss-Laguerre quadrature.
  599. laguerre_integrands_test
  600. laguerre_polynomial, a C code which evaluates the Laguerre polynomial, the generalized Laguerre polynomials, and the Laguerre function.
  601. laguerre_polynomial_test
  602. 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).
  603. laguerre_rule_test
  604. lambert_w, a C code which evaluates Lambert's W function.
  605. lambert_w_test
  606. lapack_test, a C code which calls lapack(), which is a Fortran library, containing a standard linear algebra package for solving linear systems, computing matrix factorizations, and solving eigenvalue problems. A precompiled copy of the lapack() library is often available on most scientific computing systems. This code illustrates how a C calling program interacts with a Fortran library.
  607. laplace_mpi, a C code which solves the Laplace equation on a rectangle, using the Message Passing Interface (MPI) for parallel execution.
  608. laplace_mpi_test
  609. laplacian_matrix, a C code which carries out computations related to the discrete Laplacian operator, including full or sparse evaluation, evaluation for unequally spaced data sampling points, application to a set of data samples, solution of associated linear systems, eigenvalues and eigenvectors, and extension to 2D and 3D geometry.
  610. laplacian_matrix_test
  611. latin_cover, a C code which produces N Latin squares which cover an NxN square, or NxN Latin cubes which cover an NxNxN cube.
  612. latin_cover_test
  613. latin_random, a C code which computes Latin Random Squares of N points in M dimensions;
  614. latin_random_test
  615. latinize, a C code which adjusts N points in M dimensions to form a Latin Hypercube;
  616. latinize_test
  617. 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.
  618. lebesgue_test
  619. 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].
  620. legendre_exactness_test
  621. legendre_fast_rule, 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].
  622. legendre_fast_rule_test
  623. legendre_polynomial, a C code which evaluates the Legendre polynomial and associated functions.
  624. legendre_polynomial_test
  625. legendre_product_polynomial, a C code which defines Legendre product polynomials, creating a multivariate polynomial as the product of univariate Legendre polynomials.
  626. legendre_product_polynomial_test
  627. 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].
  628. legendre_rule_test
  629. legendre_shifted_polynomial, a C code which evaluates the shifted Legendre polynomial, with the domain [0,1].
  630. legendre_shifted_polynomial_test
  631. levenshtein_distance, a C code which returns the Levenshtein distance between two strings.
  632. levenshtein_distance_test
  633. levenshtein_matrix, a C code which returns the Levenshtein distance matrix defined by two strings.
  634. levenshtein_matrix_test
  635. life_opengl, a C code which uses OpenGL to display the evolution of John Conway's Game of life, by Simon Green.
  636. 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.
  637. life_serial_test
  638. lights_out_game, a C code which sets up the "Lights Out" puzzle, lighting up a few squares on a grid. An interactive user must then try to press squares in such a way that all the lights are turned off. The OpenGL graphics system is used.
  639. 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.
  640. line_cvt_lloyd_test
  641. 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.
  642. line_fekete_rule_test
  643. line_felippa_rule, a C code which returns a Felippa quadrature rules for approximating integrals over the interior of a line segment in 1D.
  644. line_felippa_rule_test
  645. line_grid, a C code which computes a grid of points over the interior of a line segment in 1D.
  646. line_grid_test
  647. 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.
  648. line_integrals_test
  649. 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.
  650. line_monte_carlo_test
  651. 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.
  652. line_ncc_rule_test
  653. 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.
  654. line_nco_rule_test
  655. linear_algebra, C codes which carry out various linear algebra operations for matrices stored in a variety of formats.
  656. linpack_bench, a C code which is a version of the LINPACK benchmark;
  657. linpack_bench_test
  658. 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 code is by Jack Dongarra, Jim Bunch, Cleve Moler, Pete Stewart.
  659. linpack_d_test
  660. 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.
  661. llsq_test
  662. lobatto_polynomial, a C code which evaluates Lobatto polynomials similar to Legendre polynomials except that they are 0 at both endpoints.
  663. lobatto_polynomial_test
  664. local_min, a C code which finds a local minimum of a scalar function of a scalar variable, without the use of derivative information, by Richard Brent.
  665. local_min_test
  666. 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.
  667. local_min_rc_test
  668. log_normal, a C code which returns quantities related to the log normal Probability Distribution Function (PDF).
  669. log_normal_test
  670. 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].
  671. log_normal_truncated_ab_test
  672. logistic_exact, a C code which evaluates an exact solution of the logistic equation, an ordinary differential equation (ODE) which models population growth in the face of a limited carrying capacity.
  673. logistic_exact_test
  674. lorenz_ode, a C code which approximates solutions to the Lorenz system of ordinary differential equations (ODE), creating output files that can be displayed by gnuplot().
  675. lorenz_ode_test
  676. luhn, a C code which computes the Luhn check digit for a string, or verify a string, as used for error detection in credit card numbers.
  677. luhn_test
  678. machar, a C code which dynamically computes the values of various machine characteristic constants, by William Cody;
  679. machar_test
  680. machine, a C code which returns tabulated values of the constants associated with computer arithmetic;
  681. machine_test
  682. makefile_test, a C code which shows how a makefile can be used to manage the compilation and loading of a C code.
  683. mandelbrot, a C code which generates an ASCII Portable Pixel Map (PPM) image of the Mandelbrot set;
  684. mandelbrot_test
  685. mandelbrot_ascii, a C code which generates an ASCII text image of the Mandelbrot set, using just two lines of C code.
  686. mandelbrot_ascii_test
  687. mandelbrot_openmp, a C code which generates an ASCII Portable Pixel Map (PPM) image of the Mandelbrot fractal set, using OpenMP for parallel execution;
  688. mandelbrot_openmp_test
  689. mandelbrot_ppm, a C code which generates a binary Portable Pixel Map (PPM) image of the Mandelbrot set, by Eric Weeks.
  690. mandelbrot_ppm_test
  691. mario, a C code which creates a sort of "needlepoint" image of Mario, as an array of colored squares.
  692. mario_test
  693. matmul, a C code which carries out a matrix multiplication benchmark;
  694. matmul_test
  695. matrix_chain_brute, a C code which finds the cost of the most efficient ordering to use when multiplying a sequence of matrices, using brute force.
  696. matrix_chain_brute_test
  697. matrix_chain_dynamic, a C code which finds the cost of the most efficient ordering to use when multiplying a sequence of matrices, using dynamic programming.
  698. matrix_chain_dynamic_test
  699. matrix_exponential, a C code which demonstrates some simple approaches to the problem of computing the exponential of a matrix.
  700. matrix_exponential_test
  701. 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.
  702. md_test
  703. md_openmp, a C code which carries out a molecular dynamics (MD) simulation in parallel using OpenMP.
  704. md_openmp_test
  705. medit_mesh_io, a C code which reads or writes medit() MESH files defining a finite element mesh.
  706. medit_mesh_io_test
  707. medit_to_fem, a C code which reads a medit() MESH file and writes a corresponding pair of node and element files that correspond to the FEM format.
  708. medit_to_fem_test
  709. medit_to_ice, a C code which reads a medit() MESH file containing an ICE dataset and rewrites the information as a netcdf() file.
  710. medit_to_ice_test
  711. 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.
  712. memory_test
  713. 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.
  714. mesh_bandwidth_test
  715. metis_test
  716. 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.
  717. mgmres_test
  718. 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.
  719. mgs_test
  720. middle_square, a C code which implements the middle square algorithm for generating random integers. This is a very early method, attributed to von Neumann, which actually is deeply flawed, with short cycles.
  721. middle_square_test
  722. midpoint, a C code which solves one or more ordinary differential equations (ODE) using the (implicit) midpoint method, with a version of fsolve() handling the associated nonlinear equation, and using a fixed time step.
  723. midpoint_test
  724. midpoint_adaptive, a C code which solves one or more ordinary differential equations (ODE) using the (implicit) midpoint method, with fsolve() solving the implicit equation, and an adaptive time step. Plots of the solution and timestep history are created using gnuplot().
  725. midpoint_adaptive_test
  726. midpoint_explicit, a C code which solves one or more ordinary differential equations (ODE) using the explicit midpoint method, also called the modified Euler method.
  727. midpoint_explicit_test
  728. midpoint_fixed, a C code which solves one or more ordinary differential equations (ODE) using the implicit midpoint method, applying a fixed point iteration to solve the associated nonlinear equation.
  729. midpoint_fixed_test
  730. midpoint_gsl_test, a C code which calls the Gnu Scientific Library (GSL) implicit midpoint method solver for ordinary differential equation (ODE), and uses gnuplot() to plot the resulting solution.
  731. minpack, a C code which solves a system of nonlinear equations, by Jorge More, Danny Sorenson, Burton Garbow, Kenneth Hillstrom.
  732. minpack_test
  733. mixed_test, a C code which tests various mixed language programs.
  734. mm_io, a C code which reads and writes a Matrix Market (MM) Sparse Matrix File;
  735. mm_io_test
  736. 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.
  737. monomial_test
  738. monomial_value, a C code which evaluates a monomial in M dimensions.
  739. monomial_value_test
  740. mpi_test, a C code which uses the Message Passing Interface (MPI) for parallel programming;
  741. mri_to_ascii, a C code which converts the binary data in a Magnetic Resonance Imaging (MRI) file to ASCII text.
  742. mri_to_ascii_test
  743. 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.
  744. mri_to_pgm_test
  745. 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.
  746. multitask_mpi_test
  747. 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.
  748. multitask_openmp_test
  749. 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.
  750. mxm_test
  751. mxm_openmp, a C code which computes a dense matrix product C=A*B, using OpenMP for parallel execution.
  752. mxm_openmp_test
  753. 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.
  754. mxm_serial_test
  755. naca, a C code which takes the parameters of certain NACA airfoils and returns the coordinates of a sequence of points that outline the wing shape. The points can be plotted with gnuplot().
  756. naca_test
  757. nas, a C code which runs the NASA kernel benchmark.
  758. nas_test
  759. 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.
  760. navier_stokes_2d_exact_test
  761. 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.
  762. navier_stokes_3d_exact_test
  763. 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().
  764. nearest_interp_1d_test
  765. netcdf_test
  766. newton_interp_1d, a C code which finds a polynomial interpolant to data using Newton divided differences.
  767. newton_interp_1d_test
  768. nintlib, a C code which implements approximate integration or quadrature in M dimensions;
  769. nintlib_test
  770. normal, a C code which implements random number generators (RNG) for normally distributed values.
  771. normal_test
  772. ode, a C code which solves a system of ordinary differential equations (ODE), by Shampine and Gordon;
  773. ode_test
  774. 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.
  775. ode_moshier_test
  776. opengl_test, a C code which uses opengl() for graphics;
  777. openmp_test, a C code which uses OpenMP for parallel programming;
  778. optimize_test
  779. 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().
  780. ornstein_uhlenbeck_test
  781. owen, a C code which evaluates the Owen T function;
  782. owen_test
  783. 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().
  784. padua_test
  785. partial_digest, a C code which solves the partial digest problem;
  786. partial_digest_test
  787. partition_brute, a C code which uses a brute force algorithm to seek solutions of the partition problem, splitting a set of integers into two subsets with equal sum.
  788. partition_brute_test
  789. 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.
  790. patterson_rule_test
  791. pbma_io, a C code which reads or writes an ASCII Portable Bit Map (PBM) bit map graphics file;
  792. pbma_io_test
  793. pbmb_io, a C code which reads or writes a binary Portable Bit Map (PBM) graphics file;
  794. pbmb_io_test
  795. pbmlib, a C code which reads or writes graphics files in the Portable Bit Map (PBM) format;
  796. pbmlib_test
  797. 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.
  798. pce_burgers_test
  799. 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.
  800. pce_ode_hermite_test
  801. pcg_basic, a C code which returns a sequence of uniformly distributed pseudorandom numbers, by Melissa O'Neill.
  802. pcg_basic_test
  803. pcg_minimal, a C code which is a minimal implementation of a permuted congruential generator (PCG) of random numbers, by Melissa O'Neill.
  804. pcg_minimal_test
  805. 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.
  806. pdflib_test
  807. pentominoes, a C code which forms or plots any of the 12 members of the pentomino family, shapes formed from 5 adjacent squares.
  808. pentominoes_test
  809. peri1d, a C code which sets up and solves a 1D time-dependent peridynamics problem, by Miroslav Stoyanov;
  810. peri1d_test
  811. persistence, a C code which demonstrates how to initialize, get, or set data stored within a function, using static/persistent/saved/local memory.
  812. persistence_test
  813. pgma_io, a C code which reads or writes ASCII Portable Gray Map (PGM) 2D graphics files;
  814. pgma_io_test
  815. pgmb_io, a C code which reads or writes a binary Portable Gray Map (PGM) 2D graphics file;
  816. pgmb_io_test
  817. 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;
  818. pig_latin_test
  819. pink_noise, a C code which computes a pink noise signal obeying a 1/f power law.
  820. pink_noise_test
  821. ply_io, a C code which reads or writes a 3D graphics file in PLY format, by Greg Turk;
  822. ply_to_obj, a C code which converts a PLY 3D graphics file to an OBJ file.
  823. ply_to_obj_test
  824. png_io, a C code which reads and writes files in the Portable Network Graphics (PNG) format.
  825. png_io_test
  826. point_merge, a C code which considers N points in M-dimensional space, and counts or indexes the unique or tolerably unique items.
  827. point_merge_test
  828. poisson_1d, a C code which solves a discretized version of the Poisson equation -uxx = f(x) on the interval a ≤ x ≤ b, with Dirichlet boundary conditions u(a) = ua, u(b) = ub. The linear system is solved using Gauss-Seidel iteration.
  829. poisson_1d_test
  830. poisson_1d_multigrid, a C code which applies the multigrid method to a discretized version of the 1D Poisson equation.
  831. poisson_1d_multigrid_test
  832. poisson_2d, 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.
  833. poisson_2d_test
  834. 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.
  835. poisson_mpi_test
  836. 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.
  837. poisson_openmp_test
  838. 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().
  839. poisson_simulation_test
  840. polpak, a C code which evaluates a variety of mathematical functions, polynomials, and sequences, including Bell, Benford, Bernoulli, Bernstein, Cardan, Catalan, Charlier, Chebyshev, Collatz, Delannoy, Euler, Fibonacci, Gegenbauer, Gudermannian, Harmonic, Hermite, Hofstadter, Hypergeometric 2F1, Jacobi, Krawtchouk, Laguerre, Lambert, Legendre, Lerch, Meixner, Mertens, Moebius, Motzkin, Phi, Stirling Number, Tau, Tribonacci, Zernike.
  841. polpak_test
  842. polygon, a C code which computes properties of an arbitrary polygon in the plane, defined by a sequence of vertices, including interior angles, area, centroid, containment of a point, convexity, counter clockwise ordering, diameter, distance to a point, inradius, lattice area, nearest point in set, outradius, uniform sampling, and triangulation.
  843. polygon_test
  844. polygon_grid, a C code which generates a grid of points over the interior of a polygon in 2D.
  845. polygon_grid_test
  846. polygon_integrals, a C code which returns the exact value of the integral of any monomial over the interior of a polygon in 2D.
  847. polygon_integrals_test
  848. 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.
  849. polygon_monte_carlo_test
  850. 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.
  851. polygon_triangulate_test
  852. polynomial, a C code which adds, multiplies, differentiates, evaluates and prints multivariate polynomials in a space of M dimensions.
  853. polynomial_test
  854. polynomial_conversion, a C code which converts representations of a polynomial between monomial, Bernstein, Chebyshev, Gegenbauer, Hermite, Laguerre and Legendre forms.
  855. polynomial_conversion_test
  856. polynomial_root_bound, a C code which computes the Cauchy bound on the magnitude of all roots of a polynomial with complex coefficients.
  857. polynomial_root_bound_test
  858. polyominoes, a C code which utilities for manipulating polyominoes and tilings.
  859. polyominoes_test
  860. porous_medium_exact, a C code which returns an exact solution of the porous medium equation (PME), dudt=Del^2(u^m), a partial differential equation (PDE) related to the diffusion equation, based on the Barenblatt solution.
  861. porous_medium_exact_test
  862. power_method, a C code which carries out the power method for finding a dominant eigenvalue and its eigenvector.
  863. power_method_test
  864. power_rule, a C code which constructs a power rule, that is, a product quadrature rule from identical 1D factor rules.
  865. power_rule_test
  866. ppc_array, a C code which allocates and frees memory for vectors and matrices, for a variety of types, from Rouben Rostamian's "Programming Projects in C";
  867. ppc_array_test
  868. ppc_array_mine, a C code which is an alternate version of ppc_array(), and manages the dynamic allocation and release of arrays, from Rouben Rostamian's "Programming Projects in C";
  869. ppc_array_mine_test
  870. ppc_bvp, a C code which solves a 1 dimensional boundary value problem (BVP), using triangle() for the mesh, the finite element method (FEM) for discretization, umfpack() to solve the linear system, and geomview() for visualization, from Rouben Rostamian's "Programming Projects in C";
  871. ppc_bvp_test
  872. ppc_evolution, a C code which simulates the process of evolution on a model world of creatures, from Rouben Rostamian's "Programming Projects in C";
  873. ppc_evolution_test
  874. ppc_evolution_io, a C code which reads or writes world data files in WDF format, used by ppc_evolution(), which simulates the process of evolution on a model world of creatures, from Rouben Rostamian's "Programming Projects in C";
  875. ppc_evolution_io_test
  876. ppc_fd1, a C code which solves the 1 dimensional time-dependent heat equation, using the finite difference method (FDM) for discretization, and offering a variety of solvers, including explicit, implicit, Crank-Nicolson, and Seidman sweep, from Rouben Rostamian's "Programming Projects in C";
  877. ppc_fd1_test
  878. ppc_fetch_line, a C code which transfers lines of text from a file to a buffer, trimming initial and trailing whitespace, and comments, from Rouben Rostamian's "Programming Projects in C";
  879. ppc_fetch_line_test
  880. ppc_fgets_demo, a C code which demonstrates how the fgets() function transfers data from a file to an internal C buffer, from Rouben Rostamian's "Programming Projects in C";
  881. ppc_fgets_demo_test
  882. ppc_gauss_quad, a C code which implements Gauss quadrature rules for approximate integration, from Rouben Rostamian's "Programming Projects in C";
  883. ppc_gauss_quad_test
  884. ppc_haar, a C code which applies forward and backward Haar transforms to vectors and matrices, from Rouben Rostamian's "Programming Projects in C";
  885. ppc_haar_test
  886. ppc_image_analysis, a C code which analyzes and manipulates an image stored in PGM or PBM format, from Rouben Rostamian's "Programming Projects in C";
  887. ppc_image_analysis_test
  888. ppc_image_reduce, a C code which reduces the size of an image stored in PGM or PBM format, by applying a Haar transform and removing modes of low importance, from Rouben Rostamian's "Programming Projects in C";
  889. ppc_image_reduce_test
  890. ppc_ll, a C code which demonstrates the use of linked lists, from Rouben Rostamian's "Programming Projects in C";
  891. ppc_ll_test
  892. ppc_mesh, a C code which uses a version of Jonathan Shewchuk's triangle() code to create a triangular mesh of a region bounded by a polygonal arc, and possibly including holes, from Rouben Rostamian's "Programming Projects in C";
  893. ppc_mesh_test
  894. ppc_nelder_mead, a C code which implements the Nelder-Mead moving simplex function minimization algorithm, from Rouben Rostamian's "Programming Projects in C";
  895. ppc_nelder_mead_test
  896. ppc_netpbm, a C code which demonstrates the use of netpbm() to read and write images, from Rouben Rostamian's "Programming Projects in C";
  897. ppc_netpbm_test
  898. ppc_netpbm_io, a C code which reads and writes netpbm() files in pgm or ppm format, from Rouben Rostamian's "Programming Projects in C";
  899. ppc_netpbm_io_test
  900. ppc_netpbm_random, a C code which creates a random MxN array of 0's and 1's, regarded as a portable bit map (PBM) image, from Rouben Rostamian's "Programming Projects in C";
  901. ppc_netpbm_random_test
  902. ppc_neural_ode, a C code which uses a neural network to model an ordinary differential equation and to approximate its solution, from Rouben Rostamian's "Programming Projects in C";
  903. ppc_neural_ode_test
  904. ppc_neural_pde, a C code which uses a neural network to model a partial differential equation and to approximate its solution, from Rouben Rostamian's "Programming Projects in C";
  905. ppc_neural_pde_ell, a C code which calls ppc_neural_pde(), which uses a neural network to model a partial differential equation (PDE) in the form of a boundary value problem (BVP) posed in an L-shaped region and to approximate its solution, from Rouben Rostamian's "Programming Projects in C";
  906. ppc_neural_pde_square, a C code which calls ppc_neural_pde(), which uses a neural network to model a partial differential equation (PDE) in the form of a boundary value problem (BVP) posed in a square region and to approximate its solution, from Rouben Rostamian's "Programming Projects in C";
  907. ppc_neural_pde_square_hole, a C code which calls ppc_neural_pde(), which uses a neural network to model a partial differential equation (PDE) in the form of a boundary value problem (BVP) posed in a square region with a circular hole, and to approximate its solution, from Rouben Rostamian's "Programming Projects in C";
  908. ppc_neural_pde_test
  909. ppc_poisson, a C code which solves the 1 dimensional Poisson equation as a boundary value problem (BVP), using triangle() for the mesh, the finite element method (FEM) for discretization, umfpack() to solve the linear system, and geomview() for visualization, from Rouben Rostamian's "Programming Projects in C";
  910. ppc_poisson_test
  911. ppc_porous_medium, a C code which solves the porous medium equation, dudt=Del^2(u^m), from Rouben Rostamian's "Programming Projects in C";
  912. ppc_porous_medium_test
  913. ppc_sparse_matrix, a C code which packs a sparse MxN matrix into compressed column storage (CCS), or unpacks a compressed column storage matrix to MxN format, from Rouben Rostamian's "Programming Projects in C";
  914. ppc_sparse_matrix_test
  915. ppc_triangle, a C code which is the library version of Jonathan Shewchuk's triangle() code, for computing a triangular mesh from a given set of points, from Rouben Rostamian's "Programming Projects in C";
  916. ppc_truss, a C code which models a truss structure under a load, from Rouben Rostamian's "Programming Projects in C";
  917. ppc_truss_test
  918. ppc_truss_io, a C code which reads or writes a file defining a truss structure under a load, from Rouben Rostamian's "Programming Projects in C";
  919. ppc_truss_io_test
  920. ppc_truss_to_eps, a C code which creates an Encapsulated PostScript image of a truss structure under a load, from Rouben Rostamian's "Programming Projects in C";
  921. ppc_truss_to_eps_test
  922. ppc_twb_quad, a C code which defines Taylor, Wingate, Bos quadrature rules for triangles, from Rouben Rostamian's "Programming Projects in C";
  923. ppc_twb_quad_test
  924. ppc_twb_quad_minimal, a C code which is a minimal demonstration of defines Taylor, Wingate, Bos quadrature rules for triangles, from Rouben Rostamian's "Programming Projects in C";
  925. ppc_twb_quad_minimal_test
  926. ppc_umfpack_test, a C code which defines a sparse linear system and then requests a solution using umfpack(), from Rouben Rostamian's "Programming Projects in C";
  927. ppc_xmalloc, a C code which manages the allocation of memory, from Rouben Rostamian's "Programming Projects in C";
  928. ppc_xmalloc_test
  929. ppma_io, a C code which reads or writes an ASCII Portable Pixel Map (PPM) 2D graphics file;
  930. ppma_io_test
  931. ppmb_io, a C code which reads or writes a binary Portable Pixel Map (PPM) 2D graphics file;
  932. ppmb_io_test
  933. praxis, a C code which minimizes a scalar function of several variables, without requiring derivative information, by Richard Brent.
  934. praxis_test
  935. predator_prey_ode, a C code which solves a time-dependent predator-prey system of ordinary differential equations (ODE).
  936. predator_prey_ode_test
  937. 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.
  938. prime_test
  939. prime_mpi, a C code which counts the primes between 1 and N, using MPI for parallel execution.
  940. prime_mpi_test
  941. prime_openmp, a C code which counts the number of primes between 1 and N, using OpenMP for parallel execution.
  942. prime_openmp_test
  943. prime_pi, a C code which evaluates Pi(n), the number of primes less than or equal to an integer n.
  944. prime_pi_test
  945. prism_jaskowiec_rule, a C code which returns symmetric quadrature rules, with exactness up to total degree 20, over the interior of a prism with triangular base, by Jan Jaskowiec, Natarajan Sukumar.
  946. prism_jaskowiec_rule_test
  947. prism_witherden_rule, a C code which returns a symmetric Witherden quadrature rule for a prism with triangular base, with exactness up to total degree 10.
  948. prism_witherden_rule_test
  949. 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.
  950. prob_test
  951. product_rule, a C code which creates an M-dimensional quadrature rule from a product of distinct 1d quadrature rules;
  952. product_rule_test
  953. pthreads_test
  954. pwl_approx_1d, a C code which approximates a set of data using a piecewise linear function.
  955. pwl_approx_1d_test
  956. pwl_interp_1d, a C code which interpolates a set of data using a piecewise linear function. creating graphics files for processing by gnuplot().
  957. pwl_interp_1d_test
  958. pwl_interp_2d, a C code which evaluates a piecewise linear interpolant to data defined on a regular 2D grid.
  959. pwl_interp_2d_test
  960. 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.
  961. pwl_interp_2d_scattered_test
  962. 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).
  963. pwl_product_integral_test
  964. pyramid_exactness, a C code which investigates the polynomial exactness of a quadrature rule over the interior of the unit pyramid in 3D.
  965. pyramid_exactness_test
  966. pyramid_felippa_rule, a C code which returns a Felippa quadrature rule for approximating integrals over the interior of a pyramid in 3D.
  967. pyramid_felippa_rule_test
  968. pyramid_grid, a C code which computes a grid of points over the interior of the unit pyramid in 3D;
  969. pyramid_grid_test
  970. 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.
  971. pyramid_integrals_test
  972. pyramid_jaskowiec_rule, a C code which returns quadrature rules, with exactness up to total degree 20, over the interior of a pyramid in 3D, by Jan Jaskowiec, Natarajan Sukumar.
  973. pyramid_jaskowiec_rule_test
  974. 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;
  975. pyramid_monte_carlo_test
  976. pyramid_rule, a C code which computes a conical product quadrature rule over the interior of the unit pyramid in 3D.
  977. pyramid_rule_test
  978. pyramid_witherden_rule, a C code which returns a Witherden quadrature rule, with exactness up to total degree 10, over the interior of a pyramid.
  979. pyramid_witherden_rule_test
  980. qr_solve, a C code which computes the linear least squares (LLS) solution of a system A*x=b.
  981. qr_solve_test
  982. quad_mpi, a C code which applies a quadrature rule to estimate an integral, working in parallel by using MPI;
  983. quad_mpi_test
  984. quad_openmp, a C code which applies a quadrature rule to estimate an integral over a 1D interval, using OpenMP for parallel execution;
  985. quad_openmp_test
  986. quad_rule, a C code which defines quadrature rules for approximating integrals;
  987. quad_rule_test
  988. quad_serial, a C code which applies a quadrature rule to estimate an integral, intended as a starting point for parallelization exercises.
  989. quad_serial_test
  990. 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.
  991. quad2d_test
  992. quad2d_openmp, a C code which applies a product quadrature rule to estimate an integral over a 2D rectangle, using OpenMP for parallel execution;
  993. 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).
  994. quadmom_test
  995. quadrature_golub_welsch, a C code which computes the points and weights of a Gaussian quadrature rule using the Golub-Welsch procedure.
  996. quadrature_golub_welsch_test
  997. 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.
  998. quadrature_least_squares_test
  999. 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.
  1000. quadrature_weights_vandermonde_test
  1001. 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.
  1002. quadrature_weights_vandermonde_2d_test
  1003. quadrilateral_witherden_rule, a C code which returns a symmetric Witherden quadrature rule for the quadrilateral, with exactness up to total degree 21.
  1004. quadrilateral_witherden_rule_test
  1005. quaternions, a C code which carries out some simple arithmetic operations for quaternions.
  1006. quaternions_test
  1007. r83, a C code which contains linear algebra routines for r83 matrices, real, 64 bit, tridiagonal 3xN format.
  1008. r83_test
  1009. r83_np, a C code which contains linear algebra routines for r83_np matrices (real, 64 bit, tridiagonal 3xN format, nonpivoting factorization).
  1010. r83_np_test
  1011. r83p, a C code which contains linear algebra routines for r83p matrices (real, 64 bit, tridiagonal periodic format).
  1012. r83p_test
  1013. r83s, a C code which contains linear algebra routines for r83s matrices (real, 64 bit, tridiagonal scalar format).
  1014. r83s_test
  1015. r83t, a C code which contains linear algebra routines for r83t matrices (real, 64 bit, tridiagonal Mx3 format).
  1016. r83t_test
  1017. r83v, a C code which contains linear algebra routines for r83v matrices (real, 64 bit, tridiagonal three vector format).
  1018. r83v_test
  1019. r85, a C code which contains linear algebra routines for r85 matrices (real, 64 bit, pentadiagonal format).
  1020. r85_test
  1021. r8bb, a C code which contains linear algebra routines for r8bb matrices (real, 64 bit, border banded format).
  1022. r8bb_test
  1023. r8blt, a C code which contains linear algebra routines for r8blt matrices (real, 64 bit, band lower triangular format).
  1024. r8blt_test
  1025. r8bto, a C code which contains linear algebra routines for r8bto matrices (real, 64 bit, block Toeplitz format).
  1026. r8bto_test
  1027. r8but, a C code which contains linear algebra routines for r8but matrices (real, 64 bit, band upper triangular format).
  1028. r8but_test
  1029. r8cb, a C code which contains linear algebra routines for r8cb matrices (real, 64 bit, Compressed Band format).
  1030. r8cb_test
  1031. r8cbb, a C code which contains linear algebra routines for r8cbb matrices (real, 64 bit, Compressed Border Banded format).
  1032. r8cbb_test
  1033. r8ccs, a C code which contains linear algebra routines for r8ccs matrices (real, 64 bit, Compressed Column Storage (Colptr,Row,Value) format).
  1034. r8ccs_test
  1035. r8ci, a C code which contains linear algebra routines for r8ci matrices (real, 64 bit, circulant format).
  1036. r8ci_test
  1037. 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.
  1038. r8col_test
  1039. r8gb, a C code which contains linear algebra routines for r8gb matrices (real, 64 bit, General Banded format).
  1040. r8gb_test
  1041. r8gd, a C code which contains linear algebra routines for r8gd matrices (real, 64 bit, general diagonal format).
  1042. r8gd_test
  1043. r8ge, a C code which contains linear algebra routines for R8GE matrices, real, 64 bit, General format.
  1044. r8ge_test
  1045. r8lib, a C code which contains many utility routines, using double precision real (R8) arithmetic.
  1046. r8lib_test
  1047. r8lt, a C code which contains linear algebra routines for R8LT matrices, real, 64 bit, Lower Triangular format.
  1048. r8lt_test
  1049. r8ltt, a C code which contains linear algebra routines for r8ltt matrices (real, 64 bit, lower triangular Toeplitz format).
  1050. r8ltt_test
  1051. r8ncf, a C code which contains linear algebra routines for r8ncf matrices (real, 64 bit, nonsymmetric coordinate format).
  1052. r8ncf_test
  1053. r8pbl, a C code which contains linear algebra routines for r8pbl matrices (real, 64 bit, symmetric positive definite (SPD) band lower format).
  1054. r8pbl_test
  1055. r8pbu, a C code which contains linear algebra routines for r8pbu matrices (real, 64 bit, symmetric positive definite (SPD) band upper format).
  1056. r8pbu_test
  1057. r8po, a C code which contains linear algebra routines for r8po matrices (real, 64 bit, symmetric positive definite (SPD) format).
  1058. r8po_test
  1059. r8poly, a C code which operates on real polynomials, including evaluation, differentiation, integration, multiplication, synthetic division, shifting the base, computing a power, taking the norm. It also defines Chebyshev, Lagrange and Legendre polynomials.
  1060. r8poly_test
  1061. r8pp, a C code which contains linear algebra routines for r8pp matrices (real, 64 bit, symmetric positive definite (SPD) packed format).
  1062. r8pp_test
  1063. r8ri, a C code which contains linear algebra routines for r8ri matrices (real, 64 bit, row indexed format).
  1064. r8ri_test
  1065. 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.
  1066. r8row_test
  1067. r8sd, a C code which contains linear algebra routines for r8sd matrices (real, 64 bit, symmetric diagonal format).
  1068. r8sd_test
  1069. r8sm, a C code which contains linear algebra routines for r8sm matrices (real, 64 bit, Sherman-Morrison A-u*v' format).
  1070. r8sm_test
  1071. r8sr, a C code which carries out linear algebra operations for r8sr matrices (real, 64 bit, diagonal + compressed row offdiagonal format).
  1072. r8sr_test
  1073. r8ss, a C code which carries out linear algebra operations for r8ss matrices (real, 64 bit, symmetric skyline format).
  1074. r8ss_test
  1075. r8st, a C code which contains linear algebra routines for r8st matrices, real, 64 bit, Sparse Triplet format.
  1076. r8st_test
  1077. r8sto, a C code which contains linear algebra routines for r8sto matrices (real, 64 bit, symmetric Toeplitz N format).
  1078. r8sto_test
  1079. r8to, a C code which contains linear algebra routines for r8to matrices (real, 64 bit, Toeplitz 2*N-1 format).
  1080. r8to_test
  1081. r8ut, a C code which contains linear algebra routines for r8ut matrices, real, 64 bit, Upper Triangular format.
  1082. r8ut_test
  1083. r8utp, a C code which carries out linear algebra operations on r8utp matrices, real 64 bit, Upper Triangular Packed format.
  1084. r8utp_test
  1085. r8utt, a C code which contains linear algebra routines for r8utt matrices (real, 64 bit, upper triangular Toeplitz format).
  1086. r8utt_test
  1087. r8vm, a C code which contains linear algebra routines for r8vm matrices (real, 64 bit, vandermonde format).
  1088. r8vm_test
  1089. rand48_test, a C code which calls rand48(), which demonstrates the use of several stdlib functions, which uses 48-bit arithmetic to generate uniformly distributed pseudorandom value. The results can be returned as double precision values in [0.0,1.0], or as long integers in [-2^31,2^31], or as nonnegative long integers in [0,2^31].
  1090. randlc, a C code which implements a random number generator (RNG) used by the NAS Benchmark.
  1091. randlc_test
  1092. 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.
  1093. random_data_test
  1094. random_mpi, a C code which generates the same sequence of random numbers for both sequential execution and parallel execution under MPI.
  1095. random_mpi_test
  1096. random_openmp, a C code which illustrates how a parallel program using OpenMP can generate multiple distinct streams of random numbers.
  1097. random_openmp_test
  1098. random_sorted, a C code which generates vectors of random values which are already sorted.
  1099. random_sorted_test
  1100. 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.
  1101. ranlib_test
  1102. rbf_interp_1d, a C code which defines and evaluates radial basis function (RBF) interpolants to 1D data.
  1103. rbf_interp_1d_test
  1104. rbf_interp_2d, a C code which defines and evaluates radial basis function (RBF) interpolants to 2D data.
  1105. rbf_interp_2d_test
  1106. rbf_interp_nd, a C code which defines and evaluates radial basis function (RBF) interpolants to M-dimensional data.
  1107. rbf_interp_nd_test
  1108. 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 code was provided as an example with the book "Numerical Methods and Software."
  1109. reactor simulation_test
  1110. 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.
  1111. ring_mpi_test
  1112. rk1, a C code which solves one or more ordinary differential equations (ODE) using an explicit Runge-Kutta method of order 1, usually known as Euler's explicit method.
  1113. rk1_test
  1114. rk1_implicit, a C code which solves one or more ordinary differential equations (ODE) using the Runge-Kutta order 1 implicit method, with a version of fsolve() handling the associated nonlinear equation, and using a fixed time step. This method is often called the backward Euler method.
  1115. rk1_implicit_test
  1116. rk2, a C code which solves one or more ordinary differential equations (ODE) using an explicit Runge-Kutta method of order 2, also known as Heun's method, the modified Euler method, or the explicit midpoint method.
  1117. rk2_test
  1118. rk2_implicit, a C code which solves one or more ordinary differential equations (ODE) using the Runge-Kutta order 2 implicit method, using fsolve() to solve the implicit equation, and using a fixed time step. rk2_implicit() is also known as the implicit midpoint method.
  1119. rk2_implicit_test
  1120. 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.
  1121. rk4_test
  1122. rkf45, a C code which applies the Runge-Kutta-Fehlberg (RKF) algorithm to solve a system of ordinary differential equations (ODE);
  1123. rkf45_test
  1124. 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.
  1125. rnglib_test
  1126. root_rc, a C code which seeks a solution of a scalar nonlinear equation f(x)=0, using reverse communication (RC), by Gaston Gonnet.
  1127. root_rc_test
  1128. roots_rc, a C code which seeks solutions of a system of nonlinear equations, using reverse communication (RC), by Gaston Gonnet.
  1129. roots_rc_test
  1130. 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.
  1131. rot13_test
  1132. 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.
  1133. row_echelon_integer_test
  1134. sandia_rules, a C code which produces a standard 1D Gauss quadrature rule of Chebyshev, Gegenbauer, generalized Hermite, generalized Laguerre, Hermite, Jacobi, Laguerre, and Legendre types.
  1135. sandia_rules_test
  1136. satisfy_brute, a C code which uses brute force to find all assignments of values to a set of logical variables which make a complicated logical statement true.
  1137. satisfy_brute_test
  1138. 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.
  1139. satisfy_mpi_test
  1140. 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.
  1141. satisfy_openmp_test
  1142. schedule_openmp, a C code which demonstrates the default, static, and dynamic methods of scheduling loop iterations in OpenMP to avoid work imbalance.
  1143. schedule_openmp_test
  1144. screenshot_opengl, a C code which uses OpenGL() to save a screenshot of the graphics being displayed.
  1145. 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;
  1146. sde_test
  1147. search, a C code which searches the integers from A to B for a value J such that F(J) = C. this is intended as a starting point for a parallel approach.
  1148. search_test
  1149. 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.
  1150. search_mpi_test
  1151. set_theory, a C code which demonstrates various set theoretic operations using several models of a set.
  1152. set_theory_test
  1153. sftpack, a C code which implements the slow Fourier transform, intended as a teaching tool and comparison with the Fast Fourier Transform (FFT).
  1154. sftpack_test
  1155. sgefa_openmp, a C code which compares a standard linear algebra solver against a revised version which can be run in parallel with OpenMP.
  1156. sgefa_openmp_test
  1157. 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.
  1158. sgmga_test
  1159. shallow_water_1d, a C code which simulates the evolution of a 1D fluid governed by the time-dependent shallow water equations.
  1160. shallow_water_1d_test
  1161. shepard_interp_1d, a C code which defines and evaluates Shepard interpolants to 1D data, based on inverse distance weighting.
  1162. shepard_interp_1d_test
  1163. shepard_interp_2d, a C code which defines and evaluates Shepard interpolants to 2D data, based on inverse distance weighting.
  1164. shepard_interp_2d_test
  1165. shepard_interp_nd, a C code which defines and evaluates Shepard interpolants to M-dimensional data, based on inverse distance weighting.
  1166. shepard_interp_nd_test
  1167. showme, a C code which displays triangulations and meshes, by Jonathan Shewchuk;
  1168. showme_test
  1169. sigmoid_derivative, a C code which evaluates derivatives of any order for the sigmoid function s(x)=1/(1+exp(-x)). The test code creates graphics images using gnuplot().
  1170. sigmoid_derivative_test
  1171. simplex_coordinates, a C code which computes the Cartesian coordinates of the vertices of a regular simplex in M dimensions.
  1172. simplex_coordinates_test
  1173. 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.
  1174. simplex_gm_rule_test
  1175. simplex_grid, a C code which generates a regular grid of points over the interior of an arbitrary simplex in M dimensions.
  1176. simplex_grid_test
  1177. 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.
  1178. simplex_integrals_test
  1179. 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.
  1180. simplex_monte_carlo_test
  1181. sine_gordon_exact, a C code which returns an exact solution of the Sine-Gordon equation, a partial differential equation (PDE) of the form uxy=sin(u).
  1182. sine_gordon_exact_test
  1183. sine_transform, a C code which demonstrates some simple properties of the discrete sine transform.
  1184. sine_transform_test
  1185. smolpack, a C code which estimates the integral of a function over a M-dimensional hypercube using a sparse grid, by Knut Petras;
  1186. smolpack_test
  1187. snakes_and_ladders, a C code which provides tools for the analysis of the game of Snakes and Ladders.
  1188. snakes_and_ladders_test
  1189. solve, a C code which implements a linear solver which makes it easy to create doubly-dimensioned arrays and solve associated linear systems.
  1190. solve_test
  1191. sor, a C code which implements a simple version of the Successive Over-Relaxation (SOR) method for the iterative solution of a linear system of equations.
  1192. sor_test
  1193. sort_rc, a C code which sorts a list of any kind of objects, using reverse communication (RC).
  1194. sort_rc_test
  1195. sparse_display, a C code which reads information defining a matrix of numbers and displays the sparsity pattern or location of the nonzero elements using gnuplot(). This operation is already available in the built-in MATLAB spy() command.
  1196. sparse_display_test
  1197. sparse_grid_cc, a C code which creates sparse grids based on Clenshaw-Curtis rules.
  1198. sparse_grid_cc_test
  1199. 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.
  1200. sparse_grid_hw_test
  1201. sparse_interp_nd, a C code which defines a sparse interpolant to a function f(x) of a multidimensional argument.
  1202. sparse_interp_nd_test
  1203. sphere_exactness, a C code which tests the polynomial exactness of a quadrature rule over the surface of the unit sphere in 3D;
  1204. sphere_exactness_test
  1205. 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.
  1206. sphere_fibonacci_grid_test
  1207. 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.
  1208. sphere_grid_test
  1209. sphere_integrals, a C code which defines test functions for integration over the surface of the unit sphere in 3D.
  1210. sphere_integrals_test
  1211. sphere_lebedev_rule, a C code which computes Lebedev quadrature rules over the surface of the unit sphere in 3D;
  1212. sphere_lebedev_rule_test
  1213. 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.
  1214. sphere_llq_grid_test
  1215. 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.
  1216. sphere_llt_grid_test
  1217. 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;
  1218. sphere_monte_carlo_test
  1219. sphere_quad, a C code which used triangulation to approximate an integral over the surface of the unit sphere in 3D;
  1220. sphere_quad_test
  1221. 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.
  1222. sphere_stereograph_test
  1223. 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.
  1224. sphere_triangle_monte_carlo_test
  1225. 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.
  1226. sphere_triangle_quad_test
  1227. spiral_exact, a C code which computes a 2D velocity vector field that is an exact solution of the continuity equation.
  1228. spiral_exact_test
  1229. spline, a C code which interpolates or approximates data by piecewise polynomial functions;
  1230. spline_test
  1231. 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.
  1232. square_arbq_rule_test
  1233. 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.
  1234. square_exactness_test
  1235. square_felippa_rule, a C code which returns a Felippa quadrature rules for approximating integrals over the interior of a square in 2D.
  1236. square_felippa_rule_test
  1237. square_grid, a C code which computes a grid of points over the interior of a square in 2D.
  1238. square_grid_test
  1239. 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.
  1240. square_integrals_test
  1241. 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.
  1242. square_minimal_rule_test
  1243. 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.
  1244. square_monte_carlo_test
  1245. 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.
  1246. square_symq_rule_test
  1247. st_io, a C code which reads and writes sparse linear systems stored in the Sparse Triplet (ST) format.
  1248. st_io_test
  1249. st_to_ccs, a C code which converts a matrix from the Sparse Triplet (ST) format to the Compressed Column Storage (CCS) format.
  1250. st_to_ccs_test
  1251. stiff_ode, a C code which considers an ordinary differential equation (ODE) which is an example of a stiff ODE.
  1252. stiff_ode_test
  1253. stochastic_diffusion, functions which implement several versions of a stochastic diffusivity coefficient.
  1254. stochastic_diffusion_test
  1255. 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.
  1256. stochastic_heat2d_test,
  1257. stochastic_rk, a C code which applies a Runge-Kutta (RK) scheme to a stochastic ordinary differential equation (SODE).
  1258. stochastic_rk_test
  1259. stokes_2d_exact, a C code which evaluates exact solutions to the incompressible steady Stokes equations over the unit square in 2D.
  1260. stokes_2d_exact_test
  1261. string_pde, a C code which sets up and solves the partial differential equations (PDE) describing a vibrating string, creating files that can be displayed by gnuplot().
  1262. string_pde_test
  1263. stroud_rule, a C code which defines quadrature rules for a variety of M-dimensional regions, including the interior of the square, cube and hypercube, the pyramid, cone and ellipse, the hexagon, the M-dimensional octahedron, the circle, sphere and hypersphere, the triangle, tetrahedron and simplex, and the surface of the circle, sphere and hypersphere.
  1264. stroud_rule_test
  1265. subpak, a C code which includes a number of utility routines.
  1266. subpak_test
  1267. 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.
  1268. subset_test
  1269. subset_sum, a C code which seeks solutions of the subset sum problem, in which it is desired to find a subset of integers which has a given sum.
  1270. subset_sum_test
  1271. subset_sum_backtrack, a C code which uses backtracking to find solutions of the subset sum problem, in which it is desired to find a subset of integers which has a given sum.
  1272. subset_sum_backtrack_test
  1273. subset_sum_brute, a C code which uses brute force to find solutions of the subset sum problem, in which it is desired to find a subset of integers which has a given sum.
  1274. subset_sum_brute_test
  1275. subset_sum_swap, a C code which uses swapping to try to improve an initial estimated solution of the subset sum problem, which seeks a subset of a set of integers which has a given sum. Even when an exact solution exists, this approach often only finds an approximate solution.
  1276. subset_sum_swap_test
  1277. super_blas, a C code which implements some of the BLAS routines, for particular use by superlu();
  1278. super_blas_test
  1279. superlu_test, a C code which illustrates how to use superlu(), which applies a fast direct solution method to solve sparse linear systems, by James Demmel, John Gilbert, and Xiaoye Li.
  1280. svd_test, a C code which demonstrates the computation of the singular value decomposition (SVD) and a few of its properties.
  1281. svd_snowfall, a C code which reads a file containing historical snowfall data and analyzes the data with the Singular Value Decomposition (SVD).
  1282. svd_snowfall_test
  1283. 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.
  1284. svd_truncated_test
  1285. table_io, a C code which reads and writes a simple dataset stored as a table file;
  1286. table_io_test
  1287. 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.
  1288. task_division_test
  1289. test_approx, a C code which implements test problems for approximation, provided as a set of (x,y) data.
  1290. test_approx_test
  1291. test_eigen, a C code which implements test matrices for eigenvalue analysis.
  1292. test_eigen_test
  1293. test_int, a C code which implements test problems for approximate integration or quadrature in one dimension.
  1294. test_int_test
  1295. test_int_2d, a C code which implements test problems for approximate integration or quadrature in two dimensions.
  1296. test_int_2d_test
  1297. test_interp, a C code which defines test problems for interpolation, provided as a set of (x,y) data.
  1298. test_interp_test
  1299. test_interp_1d, a C code which defines test problems for interpolation of data y(x), which depends on a 1D argument.
  1300. test_interp_1d_test
  1301. test_interp_2d, a C code which defines test problems for interpolation of data z(x,y), which depends on a 2D argument.
  1302. test_interp_2d_test
  1303. test_interp_nd, a C code which defines test problems for interpolation of data z(x), depending on an M-dimensional argument.
  1304. test_interp_nd_test
  1305. test_interp_fun, a C code which provides formulas of certain functions that are useful for testing an interpolation algorithm using a varying number of points.
  1306. test_interp_fun_test
  1307. test_lls, a C code which implements linear least squares (LLS) test problems of the form A*x=b.
  1308. test_lls_test
  1309. test_matrix, a C code which defines test matrices for which the condition number, determinant, eigenvalues, eigenvectors, inverse, null vectors, P*L*U factorization or linear system solution are known. Examples include the Fibonacci, Hilbert, Redheffer, Vandermonde, Wathen and Wilkinson matrices.
  1310. test_matrix_test
  1311. test_matrix_exponential, a C code which defines a set of test cases for computing the matrix exponential.
  1312. test_matrix_exponential_test
  1313. test_min, a C code which implements test problems for minimization of a scalar function of a scalar variable.
  1314. test_min_test
  1315. 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.
  1316. test_opt_con_test
  1317. test_optimization, a C code which implements test problems for optimization of a scalar function of several variables, as described by Molga and Smutnicki.
  1318. test_optimization_test
  1319. test_partial_digest, a C code which generates examples of the partial digest problem.
  1320. test_partial_digest_test
  1321. test_values, a C code which supplies test values of various mathematical functions, including Abramowitz, AGM, Airy, Bell, Bernoulli, Bessel, Beta, Binomial, Bivariate Normal, Catalan, Cauchy, Chebyshev, Chi Square, Clausen, Clebsch Gordan, Collatz, Cosine integral, Dawson, Debye, Dedekind, dilogarithm, Dixon elliptic functions, Exponential integral, Elliptic, Error, Euler, Exponential integral, F probability, Fresnel, Frobenius, Gamma, Gegenbauer, Goodwin, Gudermannian, Harmonic, Hermite, Hypergeometric 1F1, Hypergeometric 2F1, inverse trigonometic, Jacobi Elliptic functions sn(), cn(), dn(), the Julian Ephemeris Date, Kelvin, Knapsack, Laguerre, Lambert W, Laplace, Legendre, Lerch, Lobachevsky, Lobatto, Logarithmic integral, Log normal, McNugget numbers, Mersenne primes, Mertens, Mittag-Leffler, Moebius, Multinomial, Negative binomial, Nine J, Normal, Omega, Owen, Partition, Phi, Pi, Poisson, Polylogarithm, Polynomial Resultant, Polyomino, Prime, Psi, Rayleigh, Hyperbolic Sine integral, Sigma, Sine Power integral, Sine integral, Six J, Sphere area, Sphere volume, Spherical harmonic, Stirling, Stromgen, Struve, Student, Subfactorial, Student probability, Three J, Transport, Trigamma, Truncated normal, van der Corput, von Mises, Weibull, Wright Omega, Zeta.
  1322. test_values_test
  1323. test_zero, a C code which implements test problems for the solution of a single nonlinear equation in one variable.
  1324. test_zero_test
  1325. tester, a BASH script which runs the test programs.
  1326. tet_mesh, a C code which carries out various tasks associated with tetrahedral meshes in 3D;
  1327. tet_mesh_test
  1328. tetrahedron, a C code which computes properties, including the centroid, circumsphere, dihedral angles, edge lengths, face angles, face areas, insphere, quality, solid angles, and volume, of a tetrahedron in 3D.
  1329. tetrahedron_test
  1330. 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.
  1331. tetrahedron_arbq_rule_test
  1332. tetrahedron_exactness, a C code which tests the polynomial exactness of a quadrature rule over the interior of a tetrahedron in 3D.
  1333. tetrahedron_exactness_test
  1334. tetrahedron_felippa_rule, a C code which returns a Felippa quadrature rules for approximating integrals over the interior of a tetrahedron in 3D.
  1335. tetrahedron_felippa_rule_test
  1336. tetrahedron_grid, a C code which computes a grid of points over the interior of a tetrahedron in 3D.
  1337. tetrahedron_grid_test
  1338. 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.
  1339. tetrahedron_integrals_test
  1340. tetrahedron_jaskowiec_rule, a C code which returns quadrature rules, with exactness up to total degree 20, over the interior of a tetrahedron in 3D, by Jan Jaskowiec, Natarajan Sukumar.
  1341. tetrahedron_jaskowiec_rule_test
  1342. tetrahedron_keast_rule, a C code which defines a Keast quadrature rule, of degree of exactness 0 through 8, over the interior of the tetrahedron in 3D.
  1343. tetrahedron_keast_rule_test
  1344. 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.
  1345. tetrahedron_monte_carlo_test
  1346. tetrahedron_ncc_rule, a C code which defines Newton-Cotes closed (NCC) quadrature rules over the interior of a tetrahedron in 3D.
  1347. tetrahedron_ncc_rule_test
  1348. tetrahedron_nco_rule, a C code which defines Newton-Cotes open (NCO) quadrature rules over the interior of a tetrahedron in 3D.
  1349. tetrahedron_nco_rule_test
  1350. tetrahedron_witherden_rule, a C code which returns a symmetric Witherden quadrature rule for the tetrahedron, with exactness up to total degree 10.
  1351. tetrahedron_witherden_rule_test
  1352. 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.
  1353. tetrahedron01_monte_carlo_test
  1354. 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.
  1355. three_body_ode_test
  1356. timer_test, a C code which computes the elapsed CPU time or elapsed wall clock time in a calculation.
  1357. timestamp, a C code which returns the current YMDHMS date as a timestamp, and performs other timing chores;
  1358. timestamp_test
  1359. toeplitz_cholesky, a C code which computes the Cholesky factorization of a symmetrid positive definite (SPD) Toeplitz matrix.
  1360. toeplitz_cholesky_test
  1361. 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.
  1362. toms097_test
  1363. 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.
  1364. toms112_test
  1365. 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.
  1366. toms178_test
  1367. toms179, a C code which calculates the incomplete Beta ratio, by Oliver Ludwig; this is a version of ACM TOMS algorithm 179.
  1368. toms179_test
  1369. toms243, a C code which evaluates the logarithm of a complex value, by David Collens. This is a version of ACM TOMS algorithm 243.
  1370. toms243_test
  1371. toms291, a C code which approximates the logarithm of the Gamma function; This is a version of ACM TOMS algorithm 291.
  1372. toms291_test
  1373. 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.
  1374. toms322_test
  1375. toms443, a C code which evaluates the Lambert W function. This is a version of ACM TOMS algorithm 443.
  1376. toms443_test
  1377. toms446, a C code which manipulates Chebyshev series for interpolation and approximation. This is a version of ACM TOMS algorithm 446, by Roger Broucke.
  1378. toms446_test
  1379. 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.
  1380. toms462_test
  1381. toms515, a C code which selects subsets of size K from a set of size N, This is a version of ACM TOMS Algorithm 515, by Bill Buckles, Matthew Lybanon.
  1382. toms515_test
  1383. 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.
  1384. toms577_test
  1385. toms655, a C code which computes the weights for interpolatory quadrature rule; this code is commonly called IQPACK, by Sylvan Elhay and Jaroslav Kautsky. This is a version of ACM TOMS algorithm 655.
  1386. toms655_test
  1387. 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.
  1388. toms743_test
  1389. 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.
  1390. toms886_test
  1391. 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.
  1392. toms917_test
  1393. trapezoidal, a C code which solves one or more ordinary differential equations (ODE) using the (implicit) trapezoidal method, and a version of fsolve() to handle the nonlinear equation.
  1394. trapezoidal_test
  1395. treepack, a C code which defines, analyzes, and manipulates trees, a simple kind of graph with no circuits. Special cases include rooted and binary trees. Representations include adjacency, arc, Pruefer code, and parent. Operations include center, diameter, eccentricity, enumeration, generation one at a time, random selection, traversal.
  1396. treepack_test
  1397. triangle, a C code which computes properties, including angles, area, centroid, circumcircle, edge lengths, incircle, orientation, orthocenter, and quality, of a triangle in 2D.
  1398. triangle_test
  1399. triangle_analyze, a C code which reads a triangle defined in a file, and computes angles, area, centroid, circumcircle, edge lengths, incircle, orientation, orthocenter, and quality.
  1400. triangle_analyze_test
  1401. triangle_bench, a C code which sets up sample datasets of random points in the unit square, writes them to a file acceptable by Jonathan Shewchuk's triangle() program for computing Delaunay triangulations and Voronoi diagrams, which can then be benchmarked by timing the computation for increasing large sets.
  1402. triangle_bench_test
  1403. triangle_exactness, a C code which tests the polynomial exactness of a quadrature rule over the interior of a triangle in 2D.
  1404. triangle_exactness_test
  1405. triangle_fekete_rule, a C code which returns a Fekete rule for interpolation or quadrature over the interior of a triangle in 2D.
  1406. triangle_fekete_rule_test
  1407. triangle_felippa_rule, a C code which returns a Felippa quadrature rules for approximating integrals over the interior of a triangle in 2D.
  1408. triangle_felippa_rule_test
  1409. triangle_grid, a C code which computes a grid of points over the interior of a triangle in 2D.
  1410. triangle_grid_test
  1411. 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.
  1412. triangle_integrals_test
  1413. triangle_interpolate, a C code which shows how vertex data can be interpolated at any point in the interior of a triangle.
  1414. triangle_interpolate_test
  1415. triangle_io, a C code which reads or writes some of the files created by the triangle() program of Jonathan Shewchuk.
  1416. triangle_io_test
  1417. 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.
  1418. triangle_monte_carlo_test
  1419. triangle_ncc_rule, a C code which defines Newton-Cotes closed (NCC) quadrature rules over the interior of a triangle in 2D.
  1420. triangle_ncc_rule_test
  1421. triangle_nco_rule, a C code which defines Newton-Cotes open (NCO) quadrature rules over the interior of a triangle in 2D.
  1422. triangle_nco_rule_test
  1423. triangle_nodefile_random, a C code which generates a set of N random nodes in M dimensions, and writes them to a file suitable for processing by Jonathan Shewchuk's triangle() program.
  1424. triangle_nodefile_random_test
  1425. triangle_shewchuk, a C code which generates meshes, Delaunay triangulations, and Voronoi diagrams, by Jonathan Shewchuk;
  1426. triangle_shewchuk_test
  1427. 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.
  1428. triangle_svg_test
  1429. 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.
  1430. triangle_symq_rule_test
  1431. 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.
  1432. triangle_to_fem_test
  1433. triangle_to_medit, a C code which reads the NODE and ELE files created by the triangle() program to describe a triangular mesh, and writes a corresponding medit() mesh file.
  1434. triangle_to_medit_test
  1435. 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.
  1436. triangle_to_xml_test
  1437. triangle_twb_rule, a C code which generates the points and weights of quadrature rules over the interior of a triangle in 2D, determined by Taylor, Wingate, and Bos.
  1438. triangle_twb_rule_test
  1439. triangle_witherden_rule, a C code which returns a symmetric Witherden quadrature rule for the triangle, with exactness up to total degree 20.
  1440. triangle_witherden_rule_test
  1441. triangle01_integrals, a C code which returns the integral of any monomial over the interior of the unit triangle in 2D.
  1442. triangle01_integrals_test
  1443. 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.
  1444. triangle01_monte_carlo_test
  1445. triangulate, a C code which triangulates a polygonal region, by Joseph ORourke;
  1446. triangulate_test
  1447. 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.
  1448. triangulation_test
  1449. 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.
  1450. triangulation_node_to_element_test
  1451. triangulation_svg, a C code which creates an SVG image of a triangulation, which can be displayed by a web browser.
  1452. triangulation_svg_test
  1453. 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;
  1454. triangulation_triangle_neighbors_test
  1455. 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 code can also produce information about the Voronoi diagram. The code is by Lili Ju.
  1456. trig_to_neib_test
  1457. 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.
  1458. truncated_normal_test
  1459. 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].
  1460. truncated_normal_rule_test
  1461. 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.
  1462. tsp_brute_test
  1463. ubvec, a C code which demonstrates how nonnegative integers can be stored as unsigned binary vectors, and arithmetic can be performed on them.
  1464. ubvec_test
  1465. umfpack_test, a C code which calls umfpack(), which solves sparse linear systems, part of the SuiteSparse package, by Timothy Davis.
  1466. unicycle, a C code which considers permutations containing a single cycle, sometimes called cyclic permutations.
  1467. unicycle_test
  1468. uniform, a C code which contains uniform random number generators (RNG) for several arithmetic types.
  1469. uniform_test
  1470. 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.
  1471. upc_test
  1472. valgrind_test, a C code which uses valgrind(), a suite of programs which includes a memory leak detector.
  1473. 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.
  1474. van_der_corput_test
  1475. vandermonde, a C code which implements the Bjork-Pereyra algorithm for accurate solution of linear systems involving the Vandermonde matrix.
  1476. vandermonde_test
  1477. 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.
  1478. vandermonde_approx_1d_test
  1479. 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.
  1480. vandermonde_approx_2d_test
  1481. 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().
  1482. vandermonde_interp_1d_test
  1483. 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.
  1484. vandermonde_interp_2d_test
  1485. walker_sample, a C code which efficiently samples a discrete probability vector using Walker sampling.
  1486. walker_sample_test
  1487. walsh_transform, a C code which implements the Walsh data transform.
  1488. walsh_transform_test
  1489. wathen_matrix, a C code which compares storage schemes: full, banded, sparse triplet, and solution strategies: Linpack full, Linpack banded, conjugate gradient (CG), for linear systems involving the Wathen matrix, which can arise when solving a problem using the finite element method (FEM).
  1490. wathen_matrix_test
  1491. wave_mpi, a C code which uses the finite difference method (FDM) and MPI to estimate a solution to the wave equation.
  1492. wave_mpi_test
  1493. wavelet, a C code which does some simple calculations with wavelet transforms;
  1494. wavelet_test
  1495. wedge_exactness, a C code which investigates the polynomial exactness of a quadrature rule over the interior of the unit wedge in 3D.
  1496. wedge_exactness_test
  1497. wedge_felippa_rule, a C code which returns quadrature rules for approximating integrals over the interior of the unit wedge in 3D.
  1498. wedge_felippa_rule_test
  1499. wedge_grid, a C code which computes a grid of points over the interior of the unit wedge in 3D.
  1500. wedge_grid_test
  1501. 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.
  1502. wedge_integrals_test
  1503. 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.
  1504. wedge_monte_carlo_test
  1505. 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.
  1506. weekday_test
  1507. wishart_matrix, a C code which produces sample matrices from the Wishart or Bartlett distributions, useful for sampling random covariance matrices.
  1508. wishart_matrix_test
  1509. wtime, a C code which returns a reading of the wall clock time in seconds.
  1510. wtime_test
  1511. x_window_test
  1512. zero_brent, a C code which seeks a solution of a scalar nonlinear equation f(x)=0, by Richard Brent.
  1513. zero_brent_test
  1514. zero_chandrupatla, a C code which finds a zero of a scalar function of a scalar variable, starting from a change of sign interval, using the Chandrupatla method, which can converge faster than bisection, regula falsi, or Brent's method, by Tirupathi Chandrapatla.
  1515. zero_chandrupatla_test
  1516. zero_itp, a C code which finds a zero of a scalar function of a scalar variable, starting from a change of sign interval, using the Interpolate/Truncate/Project (ITP) method, which has faster convergence than the bisection method.
  1517. zero_itp_test
  1518. zero_laguerre, a C code which uses Laguerre's method to find the zero of a function. The method needs first and second derivative information. The method almost always works when the function is a polynomial.
  1519. zero_laguerre_test
  1520. zero_muller, a C code which seeks a root of a nonlinear equation using the Muller method, with complex arithmetic.
  1521. zero_muller_test
  1522. zero_rc, a C code which seeks a solution of a scalar nonlinear equation f(x)=0, using reverse communication (RC), by Richard Brent.
  1523. zero_rc_test
  1524. ziggurat, a C code which samples the uniform, normal or exponential distributions, using the ziggurat method, by Marsaglia and Tsang.
  1525. ziggurat_test
  1526. ziggurat_inline, a C code which generates variates from the uniform, normal or exponential distributions, using an inline random number generator for very fast execution, by Marsaglia and Tsang.
  1527. ziggurat_inline_test
  1528. ziggurat_openmp, a C code which demonstrates how ziggurat() can be used as a random number generator (RNG) in an OpenMP parallel program.
  1529. ziggurat_openmp_test


Last revised on 10 November 2024.