octave_src


  1. advection_pde, an Octave code which solves the advection partial differential equation (PDE) dudt + c * dudx = 0 in one spatial dimension, with a constant velocity c, and periodic boundary conditions, using the FTCS method, forward time difference, centered space difference.
  2. advection_pde_test
  3. allen_cahn_pde, an Octave code which sets up and solves the Allen-Cahn reaction-diffusion partial differential equation (PDE) in 1 space dimension and time.
  4. allen_cahn_pde_test
  5. allen_cahn_pde_etdrk4 an Octave code which uses the exponential time differencing (ETD) RK4 method to solve the Allen-Cahn system of stiff ordinary differential equations (ODE), by Aly-Khan Kassam, Lloyd Trefethen.
  6. allen_cahn_pde_etdrk4_test
  7. allen_cahn_pde_euler an Octave code which uses the Euler method to solve the Allen-Cahn PDE as a system of stiff ordinary differential equations (ODE), by Aly-Khan Kassam, Lloyd Trefethen.
  8. allen_cahn_pde_euler_test
  9. alpert_rule, an Octave code which sets up an Alpert quadrature rule for functions which are regular, log(x) singular, or 1/sqrt(x) singular.
  10. alpert_rule_test
  11. analemma, an Octave 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, based on a C program by Brian Tung.
  12. analemma_test
  13. animation_test, an Octave code which demonstrates how to create an animation in the form of a GIF.
  14. anishchenko_ode, an Octave code which sets up and solves the Anishchenko ordinary differential equation (ODE), which has chaotic behavior and an attractor.
  15. anishchenko_ode_test
  16. annulus_distance, an Octave code which estimates the typical distance between a pair of points randomly selected inside a circular annulus.
  17. annulus_distance_test
  18. annulus_grid, an Octave code which computes a grid of points over the interior of a circular annulus.
  19. annulus_grid_test
  20. annulus_integrals, an Octave code which returns the exact value of the integral of any monomial over the interior of an annulus centered at the origin.
  21. annulus_integrals_test
  22. annulus_monte_carlo, an Octave code which uses the Monte Carlo method to estimate the integral of a function over the interior of a circular annulus in 2D.
  23. annulus_monte_carlo_test
  24. annulus_rule, an Octave code which computes a quadrature rule for estimating integrals of a function over the interior of a circular annulus in 2D.
  25. annulus_rule_test
  26. aperiodic_tile, an Octave code which constructs several steps in the aperiodic tiling of the plane, using the monotile T(1,1), displaying the result graphically, by Henning Voss.
  27. aperiodic_tile_test
  28. approx_bernstein, an Octave code which interactively approximates a function f(x) in the interval [a,b] by constructing a Bernstein polynomial.
  29. approx_bernstein_test
  30. approx_chebyshev, an Octave code which interactively approximates a function f(x) in the interval [a,b] by constructing a Chebyshev polynomial interpolant that is often a good estimate of the minimax polynomial.
  31. approx_chebyshev_test
  32. approx_leastsquares, an Octave code which interactively approximates a function f(x) in the interval [a,b] by constructing an m-degree polynomial which minimizes the square root of the sum of the squares of the error with n sample data points.
  33. approx_leastsquares_test
  34. arclength, an Octave code which estimates the arclength of curves of the form (x,f(x)) or (x(t),y(t)).
  35. arclength_test
  36. arenstorf_ode, an Octave code which sets up and solves an ordinary differential equation (ODE) which defines a stable periodic orbit of a spacecraft around the Earth and the Moon.
  37. arenstorf_ode_test
  38. args, an Octave code which shows how to count and report command line arguments;
  39. args_test
  40. arneodo_ode, an Octave code which sets up and solves the Arneodo ordinary differential equation (ODE), which has chaotic behavior and an attractor.
  41. arneodo_ode_test
  42. artery_pde, an Octave code which solves a partial differential equation (PDE) in one spatial dimension and time, that models the displacement of arterial walls under pressure.
  43. artery_pde_test
  44. asa_2011_geometry, an Octave code which was used during labs, demonstrations, and lectures associated with the Geometry Algorithms portion of the class Algorithms for Science Applications II, as taught at the Scientific Computing Department, Florida State University, Spring Semester 2011.
  45. asa_2011_geometry_test
  46. asa_2011_graphs, a MATLAB code which was used during labs, demonstrations, and lectures associated with the Graph Algorithms portion of the class Algorithms for Science Applications II, as taught at the Scientific Computing Department, Florida State University, Spring Semester 2011.
  47. asa_2011_images, an Octave code which was used during labs, demonstrations, and lectures associated with the Image Algorithms portion of the class Algorithms for Science Applications II, as taught at the Scientific Computing Department, Florida State University, Spring Semester 2011.
  48. asa005, an Octave 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;
  49. asa005_test
  50. asa006, an Octave 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;
  51. asa006_test
  52. asa007, an Octave code which computes the inverse of a symmetric positive definite (SPD) matrix, by Michael Healy. This is a version of Applied Statistics Algorithm 7.
  53. asa007_test
  54. asa032, an Octave code which evaluates the incomplete Gamma function, by G Bhattacharjee. This is a version of Applied Statistics Algorithm 32.
  55. asa032_test
  56. asa047, an Octave 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.
  57. asa047_test
  58. asa053, an Octave code which produces sample matrices from the Wishart distribution, by William Smith and Ronald Hocking. This is a version of Applied Statistics Algorithm 53.
  59. asa053_test
  60. asa058, an Octave code which implements the K-means data clustering algorithm, by David Sparks. This is a version of Applied Statistics Algorithm 58.
  61. asa058_test
  62. asa063, an Octave code which evaluates the incomplete Beta function, by KL Majumder and G Bhattacharjee. This is a version of Applied Statistics Algorithm 63.
  63. asa063_test
  64. asa066, an Octave 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.
  65. asa066_test
  66. asa076, an Octave 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.
  67. asa076_test
  68. asa082, an Octave code which computes the determinant of an orthogonal matrix; this is a version of Applied Statistics Algorithm 82, by J C Gower.
  69. asa082_test
  70. asa091, an Octave code which evaluates the percentage points of the Chi-Squared distribution, by Best and Roberts. This is a version of Applied Statistics Algorithm 91.
  71. asa091_test
  72. asa103, an Octave code which evaluates the digamma or psi function, by Jose Bernardo. This is a version of Applied Statistics Algorithm 103.
  73. asa103_test
  74. asa109, an Octave code which inverts the incomplete Beta function, by Cran, Martin and Thomas. This is a version of Applied Statistics Algorithm 109.
  75. asa109_test
  76. asa111, an Octave code which evaluates the percentage points of the normal distribution, by Beasley and Springer. This is a version of Applied Statistics Algorithm 111.
  77. asa111_test
  78. asa113, an Octave code which implements a clustering algorithm using transfers and swaps, by Banfield and Bassill. This is a version of Applied Statistics Algorithm 113.
  79. asa113_test
  80. asa121, an Octave code which evaluates the trigamma function, by BE Schneider. This is a version of Applied Statistics Algorithm 121.
  81. asa121_test
  82. asa136, an Octave code which implements a clustering algorithm, by Hartigan and Wong. This is a version of Applied Statistics Algorithm 136.
  83. asa136_test
  84. asa144, an Octave code which randomly generates an RxC contingency table, by James Boyett. This is a version of Applied Statistics Algorithm 144.
  85. asa144_test
  86. asa147, an Octave code which evaluates the incomplete Gamma function, by Chi Leung Lau. This is a version of Applied Statistics Algorithm 147.
  87. asa147_test
  88. asa152, an Octave 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.
  89. asa152_test
  90. asa159, an Octave code which randomly generates an RxC contingency table, by Michael Patefield; This is a version of Applied Statistics Algorithm 159.
  91. asa159_test
  92. asa172, an Octave 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;
  93. asa172_test
  94. asa183, an Octave code which implements a random number generator (RNG), by Wichman and Hill. This is a version of Applied Statistics Algorithm 183.
  95. asa183_test
  96. asa226, an Octave 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.
  97. asa226_test
  98. asa239, an Octave code which evaluates the incomplete Gamma function, by Shea. This is a version of Applied Statistics Algorithm 239.
  99. asa239_test
  100. asa241, an Octave code which evaluates the percentage points of the normal distribution, by Michael Wichura. This is a version of Applied Statistics Algorithm 241.
  101. asa241_test
  102. asa243, an Octave 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.
  103. asa243_test
  104. asa245, an Octave code which evaluates the logarithm of the Gamma function, by Allan Mcleod; this is a version of Applied Statistics Algorithm 245.
  105. asa245_test
  106. asa266, an Octave code which evaluates various properties of the Dirichlet Probability Density Function (PDF); This is a version of Applied Statistics Algorithm 266.
  107. asa266_test
  108. asa299, an Octave code which computes the lattice points in an M-dimensional simplex, by Chasalow and Brand; this is a version of Applied Statistics Algorithm 299;
  109. asa299_test
  110. asa310, an Octave 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.
  111. asa310_test
  112. asa314, an Octave 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;
  113. asa314_test
  114. atbash, an Octave code which applies the Atbash substitution cipher to a string of text.
  115. atbash_test
  116. atkinson, an Octave code which contains examples from the text 'Elementary Numerical Analysis', by Atkinson.
  117. atkinson_test
  118. autocatalytic_ode, an Octave code which sets up and solves the autocatalytic ordinary differential equation (ODE), which has chaotic behavior and an attractor.
  119. autocatalytic_ode_test
  120. axon_ode, an Octave code which sets up and solves the ordinary differential equations (ODE) for the Hodgkin-Huxley model of an axon.
  121. axon_ode_test
  122. backtrack_binary_rc, an Octave code which carries out a backtrack search for a set of binary decisions, using reverse communication (RC).
  123. backtrack_binary_rc_test
  124. backward_euler, an Octave code which solves one or more ordinary differential equations (ODE) using the (implicit) backward Euler method, using fsolve() for the implicit equation.
  125. backward_euler_test
  126. backward_euler_fixed, an Octave code which solves one or more ordinary differential equations (ODE) using the (implicit) backward Euler method, using a fixed point iteration for the implicit equation.
  127. backward_euler_fixed_test
  128. ball_distance, an Octave code which computes the expected value of the distance between a pair of points randomly selected from the interior of the unit ball in 3D.
  129. ball_distance_test
  130. ball_grid, an Octave code which computes a grid of points over the interior of the unit ball in 3D.
  131. ball_grid_test
  132. ball_integrals, an Octave code which returns the exact value of the integral of any monomial over the interior of the unit ball in 3D.
  133. ball_integrals_test
  134. ball_monte_carlo, an Octave code which applies a Monte Carlo method to estimate integrals of a function over the interior of the unit ball in 3D;
  135. ball_monte_carlo_test
  136. ball_positive_distance, an Octave code which computes the expected value of the distance between a pair of points randomly selected from the interior of the unit positive ball in 3D.
  137. ball_positive_distance_test
  138. bank, an Octave 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.
  139. bank_test
  140. barycentric_interp_1d, an Octave 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.
  141. barycentric_interp_1d_test
  142. bdf2, an Octave code which solves one or more ordinary differential equations (ODE) using BDF2, the (implicit) backward difference formula of order 2, using fsolve() to solve the implicit equation.
  143. bdf2_test
  144. bellman_ford, an Octave 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.
  145. bellman_ford_test
  146. bernstein_approximation, an Octave code which looks at some simple cases of approximation of a function f(x) by a Bernstein polynomial.
  147. bernstein_approximation_test
  148. bernstein_polynomial, an Octave code which evaluates the Bernstein polynomials;
  149. bernstein_polynomial_test
  150. besselj, an Octave code which evaluates Bessel J functions of noninteger order;
  151. besselj_test
  152. besselzero, an Octave code which computes the zeros of Bessel functions j or y, by Greg van Winckel and Jason Nicholson.
  153. besselzero_test
  154. beta_nc, an Octave code which evaluates the cumulative density function (CDF) of the noncentral Beta distribution;
  155. beta_nc_test
  156. bezier_surface, an Octave code which reads, writes, prints and manipulates the data that defines a Bezier surface;
  157. bezier_surface_test
  158. bezier_surface_display, an Octave code which displays a Bezier surface;
  159. bezier_surface_display_test
  160. bicg, an Octave code which implements the biconjugate gradient method (BICG), which estimates the solution of a large sparse nonsymmetric linear system.
  161. bicg_test
  162. biharmonic_cheby1d, an Octave code which uses Chebyshev methods to solve the biharmonic equation over an interval, a fourth order two point boundary value problem (BVP) in one spatial dimension.
  163. biharmonic_cheby1d_test
  164. biharmonic_fd1d, an Octave code which applies the finite difference method to solve the biharmonic equation over an interval, a fourth order two point boundary value problem (BVP) in one spatial dimension.
  165. biharmonic_fd1d_test
  166. biharmonic_fd2d, an Octave code which deals with the biharmonic equation in two dimensions, whose simplest form is uxxxx + 2uxxyy + uyyyy = f.
  167. biharmonic_fd2d_test
  168. biochemical_linear_ode, an Octave code which sets up and solves a linear biochemical ordinary differential equation (ODE).
  169. biochemical_linear_ode_test
  170. biochemical_nonlinear_ode, an Octave code which sets up and solves a nonlinear biochemical ordinary differential equation (ODE).
  171. biochemical_nonlinear_ode_test
  172. bioconvection_ode, an Octave code which approximates solutions to a system of ordinary differential equations (ODE) which model a bioconvection problem, and which are related to the Lorenz system.
  173. bioconvection_ode_test
  174. bird_egg, an Octave code which evaluates some formulas for the shapes of bird eggs.
  175. bird_egg_test
  176. bisection, an Octave code which applies the bisection method to seek a root of f(x) over a change-of-sign interval a <= x <= b.
  177. bisection_test
  178. bisection_integer, an Octave code which seeks an integer solution to the equation F(X)=0, using bisection within a user-supplied change of sign interval [a,b].
  179. bisection_integer_test
  180. bisection_rc, an Octave 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).
  181. bisection_rc_test
  182. black_scholes, an Octave code which implements some simple approaches to the Black-Scholes option valuation theory, by Desmond Higham.
  183. black_scholes_test
  184. blend, an Octave code which carries out 1D/2D/3D blending interpolation;
  185. blend_test
  186. blood_pressure_ode, an Octave code which sets up and solves an ordinary differential equation (ODE) which models the variation in blood pressure in the human artery.
  187. blood_pressure_ode_test
  188. blowup_ode, an Octave code which sets up and solves an ordinary differential equation (ODE) y'=y^2. whose solution "blows up" in finite time.
  189. blowup_ode_test
  190. boat, an Octave code which considers the boat tiling puzzle, a smaller version of the eternity puzzle. The boat puzzle specifies a region R composed of 756 30-60-90 triangles, and a set of 21 "tiles", each consisting of 36 30-60-90 triangles, and seeks an arrangement of the tiles that exactly covers the region.
  191. boat_test
  192. boat_cplex_test a BASH code which calls cplex(), to read the LP file defining the boat tiling problem, solve the linear programming problem, and write the solution to a file.
  193. boat_gurobi_test a BASH code which calls gurobi(), to read the LP file defining the boat tiling problem, solve the linear programming problem, and write the solution to a file.
  194. boundary_locus, an Octave code which uses the boundary locus method to display the region of absolute stability for a solver of ordinary differential equations (ODE).
  195. boundary_locus_test
  196. boundary_locus2, an Octave code which uses the boundary locus method to plot the boundary of the absolute stability region for a solver of ordinary differential equations (ODE), based on a procedure by Randall Leveque.
  197. boundary_locus2_test
  198. boundary_word_drafter, an Octave code which describes the outline of an object using a string of symbols that represent the sequence of steps tracing out the boundary, on a grid of drafters, or 30-60-90 triangles. The objects include tiles for the eternity, serenity and trinity puzzles, and the hat and turtle aperiodic monotiles.
  199. boundary_word_drafter_test
  200. boundary_word_equilateral, an Octave code which describes the outline of an object on a grid of equilateral triangles, using a string of symbols that represent the sequence of steps tracing out the boundary.
  201. boundary_word_equilateral_test
  202. boundary_word_hexagon, an Octave code which describes the outline of an object on a grid of hexagons, using a string of symbols that represent the sequence of steps tracing out the boundary.
  203. boundary_word_hexagon_test
  204. boundary_word_right, an Octave code which describes the outline of an object on a grid of isoceles right triangles, using a string of symbols that represent the sequence of steps tracing out the boundary.
  205. boundary_word_right_test
  206. boundary_word_square, an Octave code which describes the outline of an object on a grid of squares, using a string of symbols that represent the sequence of steps tracing out the boundary.
  207. boundary_word_square_test
  208. box_behnken, an Octave code which computes a Box-Behnken design, that is, a set of arguments to sample the behavior of a function of multiple parameters;
  209. box_behnken_test
  210. box_display, an Octave code which displays a box plot, over integer pairs of data, of a function defined by two formulas.
  211. box_display_test
  212. box_distance, an Octave code which estimates the distribution and expected value of the distance between two points picked uniformly at random within a box.
  213. box_distance_test
  214. box_games, an Octave code which assists in the display of game boards (checkers, cellular automatons, life);
  215. box_games_test
  216. box_plot, an Octave code which displays a box plot of data that consists of pairs of integers;
  217. box_plot_test
  218. brownian_motion_simulation, an Octave code which simulates Brownian motion in an M dimensional region.
  219. brownian_motion_simulation_test
  220. broyden, an Octave code which implements the Broyden iterative method for nonlinear equations, by Tim Kelley.
  221. broyden_test
  222. brusselator_ode, an Octave code which sets up and solves the Brusselator ordinary differential equation (ODE) system.
  223. brusselator_ode_test
  224. buckling_spring, an Octave code which plots solutions of the buckling spring equations.
  225. buckling_spring_test
  226. burgers_exact, an Octave code which evaluates exact solutions of the time-dependent 1D viscous Burgers equation.
  227. burgers_exact_test
  228. burgers_steady_viscous, an Octave code which solves the steady (time-independent) viscous Burgers equation using the finite difference method (FDM) applied to the conservative form of the equation, using the Newton method to solve the resulting nonlinear system.
  229. burgers_steady_viscous_test
  230. burgers_time_inviscid, an Octave code which solves the time-dependent inviscid Burgers equation using the finite difference method (FDM), and one of six solution methods.
  231. burgers_time_inviscid_test
  232. burgers_time_viscous, an Octave code which solves the time-dependent viscous Burgers equation using the finite difference method (FDM) applied to the conservative form of the equation.
  233. burgers_time_viscous_test
  234. bvec, an Octave code which demonstrates how signed integers can be stored as binary vectors, and arithmetic can be performed on them.
  235. bvec_test
  236. bvp_fd, an Octave code which demonstrates the use of the finite difference method (FDM) to solve a boundary value problem (BVP).
  237. bvp_fd_test
  238. bvp_shooting_test, an Octave code which demonstrates the use of the shooting method to solve a boundary value problem (BVP).
  239. c8lib, an Octave code which implements certain elementary functions for complex 64 bit ("C8") variables;
  240. c8lib_test
  241. caesar, an Octave code which applies a Caesar Shift Cipher to a string of text.
  242. caesar_test
  243. calpak, an Octave code which computes various simple calendrical quantities. It works with various calendars including Egyptian, English, French Revolutionary, Gregorian, Julian, and Julian Ephemeris Date. It converts a date from one calendar to another. It returns the day of the week for a given date. It converts from day-number/year to day/month/year format. It calculates the time difference between two dates.
  244. calpak_test
  245. candy_count, an Octave 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.
  246. candy_count_test
  247. capacitor_2d_test, an Octave code which plots data from a model of a 2D capacitor, computed by FreeFem++() and transferred using the ffmatlib() library.
  248. capacitor_3d_test, an Octave code which plots data from a model of a 3D capacitor, computed by FreeFem++() and transferred using the ffmatlib() library.
  249. casino_simulation, an Octave code which simulates a casino game that gives you 20% of your bet for heads, and only takes 17% for tails. How much will you end up winning?
  250. casino_simulation_test
  251. cauchy_method, an Octave code which solves one or more ordinary differential equations (ODE) using the Cauchy method.
  252. cauchy_method_test
  253. cauchy_principal_value, an Octave code which uses Gauss-Legendre quadrature to estimate the Cauchy Principal Value (CPV) of certain singular integrals.
  254. cauchy_principal_value_test
  255. caustic, an Octave code which generates an image of a caustic, by drawing n equally spaced points in a circle, and then connecting specific pairs of points using a spacing parameter m.
  256. caustic_test
  257. cavity_flow_display, an Octave code which displays a single velocity field solution for the driven cavity;
  258. cavity_flow_display_test
  259. cc_display, an Octave code which displays the points used in a 2D Clenshaw-Curtis quadrature rule;
  260. cc_display_test
  261. ccl_test, an Octave code which estimates the Lebesgue constants for sets of points in [-1,+1] computed in several ways. The program is probably of limited interest except as an example of an application of the lebesgue_constant() function.
  262. ccn_rule, an Octave code which defines a Clenshaw Curtis Nested (CCN) quadrature rule.
  263. ccn_rule_test
  264. ccs_io an Octave code which reads and writes sparse linear systems stored in the Compressed Column Storage (CCS) format.
  265. ccs_io_test
  266. ccs_to_st an Octave code which converts a sparse matrix from Compressed Column Storage (CCS) to sparse triplet (ST) format.
  267. ccs_to_st_test
  268. ccvt_reflect, an Octave code which calculates a Constrained Centroidal Voronoi Tessellation (CCVT) for points constrained to lie in a box, with some points pushed towards the boundary;
  269. ccvt_reflect_test
  270. cellular_automaton, an Octave code which prints or plots the evolution of Cellular Automaton rule #30.
  271. cellular_automaton_test
  272. cg, an Octave code which implements a simple version of the conjugate gradient (CG) method for solving a system of linear equations of the form A*x=b, suitable for situations in which the matrix A is symmetric positive definite (SPD).
  273. cg_test
  274. cg_ne, an Octave code which implements the conjugate gradient method (CG) for the normal equations, where the matrix A is not symmetric positive definite (SPD). In this case, it is attempted to set up and solve the normal equations A'*A*x=A'*b.
  275. cg_ne_test
  276. cg_rc, an Octave code which implements the conjugate gradient (CG) method for solving a symmetric positive definite (SPD) sparse linear system A*x=b, using reverse communication (RC).
  277. cg_rc_test
  278. cg_squared, an Octave code which implements the conjugate gradient squared (CGS) method for solving a nonsymmetric sparse linear system A*x=b.
  279. cg_squared_test
  280. change_diophantine, an Octave code which sets up a Diophantine equation to solve the change making problem, which counts the number of ways a given sum can be formed using coins of various denominations.
  281. change_diophantine_test
  282. change_dynamic, an Octave 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.
  283. change_dynamic_test
  284. change_greedy, an Octave code which uses the greedy method to seek a solution to the change making problem, which tries to match a given amount by selecting coins of various denominations.
  285. change_greedy_test
  286. change_polynomial, an Octave code which uses a polynomial multiplication algorithm to count the ways of making various sums using a given number of coins.
  287. change_polynomial_test
  288. chebyshev, an Octave code which computes the Chebyshev interpolant/approximant to a given function over an interval.
  289. chebyshev_test
  290. chebyshev_interp_1d, an Octave code which determines the combination of Chebyshev polynomials which interpolates a set of data, so that p(x(i)) = y(i).
  291. chebyshev_interp_1d_test
  292. chebyshev_polynomial, an Octave code which considers the Chebyshev polynomials T(i,x), U(i,x), V(i,x) and W(i,x).
  293. chebyshev_polynomial_test
  294. chebyshev_series, an Octave code which evaluates a Chebyshev series approximating a function f(x), while efficiently computing one, two, three or four derivatives of the series, by Manfred Zimmer.
  295. chebyshev_series_test
  296. chebyshev1_exactness, an Octave code which tests the polynomial exactness of Gauss-Chebyshev type 1 quadrature rules.
  297. chebyshev1_exactness_test
  298. chebyshev1_rule, an Octave code which computes and writes out a Gauss-Chebyshev type 1 quadrature rule of given order.
  299. chebyshev1_rule_test
  300. chebyshev2_exactness, an Octave code which tests the polynomial exactness of Gauss-Chebyshev type 2 quadrature rules.
  301. chebyshev2_exactness_test
  302. chebyshev2_rule, an Octave code which computes and writes out a Gauss-Chebyshev type 2 quadrature rule of given order.
  303. chebyshev2_rule_test
  304. chen_ode, an Octave code which sets up and solves the Chen system of ordinary differential equations (ODE).
  305. chen_ode_test
  306. cheney_kincaid, an Octave code which contains examples from the text 'Numerical Mathematics and Computing', by Cheney and Kincaid.
  307. cheney_kincaid_test
  308. chinese_remainder_theorem, an Octave code which demonstrates the Chinese remainder theorem, for reconstructing a number based on its remainders against a set of bases.
  309. chinese_remainder_theorem_test
  310. chirikov_iteration, an Octave code which applies the Chirikov map repeatedly to a given (x,y) initial condition.
  311. chirikov_iteration_test
  312. chladni_figures, an Octave code which creates Chladni figures of the eigenmodes of a thin vibrating plate, by Martin Gander and Felix Kwok.
  313. chladni_figures_test
  314. chrpak, an Octave code which manipulates characters and strings;
  315. chrpak_test
  316. chuckaluck_simulation, an Octave code which simulates the Chuck-a-Luck gambling game.
  317. chuckaluck_simulation_test
  318. circle_arc_grid, an Octave code which computes grid points along a circular arc.
  319. circle_arc_grid_test
  320. circle_distance, an Octave code which computes the expected value of the distance between a pair of points randomly selected on the circumference of the unit circle in 2D.
  321. circle_distance_test
  322. circle_grid_display an Octave code which reads a matrix of integers, and draws a corresponding grid of circles filled with color.
  323. circle_grid_display_test
  324. circle_integrals, an Octave code which returns the exact value of the integral of any monomial over the circumference of the unit circle in 2D.
  325. circle_integrals_test
  326. circle_map, an Octave code which illustrates how a matrix maps points on the unit circle to an ellipse.
  327. circle_map_test
  328. circle_monte_carlo, an Octave code which applies a Monte Carlo method to estimate the integral of a function along the circumference of the unit circle in 2D;
  329. circle_monte_carlo_test
  330. circle_positive_distance, an Octave code which estimates the mean and variance of the distance between a random pair of points on the circumference of the unit positive circle in 2D.
  331. circle_positive_distance_test
  332. circle_rule, an Octave code which computes quadrature rules for the unit circle in 2D, to approximate integrals of f(x,y) over the circumference of the circle of radius 1 and center (0,0).
  333. circle_rule_test
  334. circle_segment, an Octave code which carries out computations associated with a circle segment, including height, angle, area, centroid, sampling, and quadrature.
  335. circle_segment_test
  336. circles, an Octave code which draws one or more circles, while controlling the center locations, radii, colors, edge colors, and transparency, by Chad Greene.
  337. circles_test
  338. cities, an Octave code which works with city-to-city distance matrices;
  339. cities_test
  340. clausen, an Octave code which evaluates a Chebyshev interpolant to the Clausen function Cl2(x).
  341. clausen_test
  342. clenshaw_curtis_rule, an Octave code which implements a Clenshaw Curtis quadrature rule;
  343. clenshaw_curtis_rule_test
  344. clock_solitaire_simulation, an Octave code which simulates the game of clock solitaire. The deck is dealt into 13 piles of 4 cards each. Repeatedly, the top card a pile is removed, and its rank indicates the next pile to consider. Game continues until an empty pile is reached. The game is won if all piles are empty. The quantity of interest is the probability of winning.
  345. clock_solitaire_simulation_test
  346. closest_pair_brute, an Octave 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.
  347. closest_pair_brute_test
  348. cnoise, an Octave code which generates samples of noise obeying a 1/f^alpha power law, by Miroslav Stoyanov.
  349. cnoise_test
  350. cobweb_plot, an Octave code which displays a cobweb plot illustrating the process of function iteration.
  351. cobweb_plot_test
  352. coin_simulation, an Octave code which looks at ways of simulating or visualizing the results of many tosses of a fair or biased coin.
  353. coin_simulation_test
  354. collatz, an Octave code which computes and analyzes the Collatz sequence, also known as the hailstone sequence or 3n+1 sequence;
  355. collatz_test
  356. collatz_polynomial, an Octave code which implements the Collatz polynomial iteration, a polynomial analog of the numerical iteration that is also known as the 3n+1 conjecture or the hailstone sequence.
  357. collatz_polynomial_test
  358. collatz_recursive, an Octave code which demonstrates recursive programming by considering the simple Collatz 3n+1 problem.
  359. collatz_recursive_test
  360. collocation, an Octave code which demonstrates the use of collocation to produce a function g(x) that satisfies the same constraints as a function f(x), but only at a discrete set of points.
  361. collocation_test
  362. colored_noise, an Octave code which generates samples of noise obeying a 1/f^alpha power law.
  363. colored_noise_test
  364. combo, an Octave 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.
  365. combo_test
  366. companion_matrix, an Octave 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.
  367. companion_matrix_test
  368. compass_search, an Octave code which seeks the minimizer of a scalar function of several variables using compass search, a direct search algorithm that does not use derivatives.
  369. compass_search_test
  370. components, an Octave 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.
  371. components_test
  372. condition, an Octave code which implements methods of computing or estimating the condition number of a matrix.
  373. condition_test
  374. conservation_ode, an Octave code which monitors the conservation of a quantity that should be constant, during the solution of an ordinary differential equation (ODE).
  375. conservation_ode_test
  376. conte_deboor, an Octave code which contains examples from the text 'Elementary Numerical Analysis' by Conte and deBoor.
  377. conte_deboor_test
  378. continuation, an Octave code which implements the continuation method for a simple 2D problem, involving finding a point on the unit circle, and then finding a sequence of nearby points that trace out the full curve, using only the information available in the implicit definition of the curve from the function f(x,y)=x^2+y^2-1.
  379. continuation_test
  380. continued_fraction an Octave code which implements some simple algorithms for dealing with simple and generalized continued fractions.
  381. continued_fraction_test
  382. control_bio, an Octave code which optimizes a given cost functional of a biological model using optimal control, based on work by Suzanne Lenhart and John Workman.
  383. control_bio_test
  384. convective_rolls_test, an Octave code which plots data describing the convective rolling behavior of a fluid being heated from below, as computed by FreeFem++() and transferred using the ffmatlib() library.
  385. convhull_test, an Octave code which demonstrates the use of the built-in function convhull() for the computation of the convex hull of a set of 2D points.
  386. coordinate_search, an Octave code which seeks the minimizer of a scalar function of several variables, by Jeff Borggaard.
  387. coordinate_search_test
  388. cordic, an Octave code which computes a few special functions using the CORDIC algorithm.
  389. cordic_test
  390. correlation, an Octave code which contains statistical correlation functions.
  391. correlation_test
  392. cosine_transform, an Octave code which demonstrates some simple properties of the discrete cosine transform (DCT).
  393. cosine_transform_test
  394. counterfeit_detection, an Octave code which considers problems in which one or more counterfeit coins are to be identified by the fact that they do not have the standard weight.
  395. counterfeit_detection_test
  396. cplex_solution_read, an Octave code which extracts solution data from a cplex() result file.
  397. cplex_solution_read_test
  398. cpr, an Octave code which implements the Chebyshev Proxy Rootfinder (CPR) to locate all the real zeros of a smooth real function f(x) within an interval [a,b], by John Boyd.
  399. cpr_test
  400. craps_simulation, an Octave code which simulates the gambling game of craps, in which a player rolls two dice. On the first roll, the player wins immediately if a 7 or 11 is rolled, and loses immediately if a 2, 3 or 12 is rolled. Otherwise, the sum of the dice on this first roll is called the point. The player now continues to roll the dice, winning if the point is rolled again, and losing if a 7 is rolled.
  401. craps_simulation_test
  402. crs_io, an Octave code which reads and writes sparse linear systems stored in the Compressed Row Storage (CRS) format.
  403. crs_io_test
  404. cube_arbq_rule, an Octave 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.
  405. cube_arbq_rule_test
  406. cube_distance, an Octave code which computes the expected value of the distance between a pair of points randomly selected in the interior of the unit cube in 3D.
  407. cube_distance_test
  408. cube_exactness, an Octave code which investigates the polynomial exactness of quadrature rules over the interior of a cube in 3D.
  409. cube_exactness_test
  410. cube_felippa_rule, an Octave code which returns a Felippa quadrature rules for approximating integrals over the interior of a cube in 3D.
  411. cube_felippa_rule_test
  412. cube_grid, an Octave code which computes a grid of points over the interior of a cube in 3D.
  413. cube_grid_test
  414. cube_integrals, an Octave code which returns the exact value of the integral of any monomial over the interior of the unit cube in 3D.
  415. cube_integrals_test
  416. cube_monte_carlo, an Octave code which applies a Monte Carlo method to estimate the integral of a function over the interior of the unit cube in 3D.
  417. cube_monte_carlo_test
  418. cube_surface_distance, an Octave code which estimates the expected value of the distance between a pair of points randomly selected on the surface of the unit cube.
  419. cube_surface_distance_test
  420. cuda_loop, an Octave 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.
  421. cuda_loop_test
  422. cvt, an Octave code which computes an N-point Centroidal Voronoi Tessellation (CVT) in M dimensions;
  423. cvt_test
  424. cvt_1d_lloyd, an Octave code which computes an N-point Centroidal Voronoi Tessellation (CVT) within the interval [0,1], under a uniform density, using the Lloyd method to compute the Voronoi regions exactly.
  425. cvt_1d_lloyd_test
  426. cvt_1d_lumping, an Octave code which allows the user to carry out a lumped version of the Lloyd iterative algorithm for a centroidal Voronoi Tessellation (CVT() in the interval [-1,+1], and is applied to investigate a relationship between a CVT and the Chebyshev Zero nodes.
  427. cvt_1d_lumping_test
  428. cvt_1d_nonuniform, an Octave code which computes an N-point Centroidal Voronoi Tessellation (CVT) in 1 dimension, under a nonuniform density, and plots the evolution of the locations of the generators during the iteration;
  429. cvt_1d_nonuniform_test
  430. cvt_1d_sampling, an Octave code which computes an N-point Centroidal Voronoi Tessellation (CVT) within the interval [0,1], under a uniform density, using sampling to estimate the Voronoi regions.
  431. cvt_1d_sampling_test
  432. cvt_2d_lumping, an Octave code which computes an N-point Centroidal Voronoi Tessellation (CVT) within the unit square [-1,1]^2, under a Chebyshev density, using weighted sampling (lumping) to estimate the Voronoi regions.
  433. cvt_2d_lumping_test
  434. cvt_2d_sampling, an Octave code which computes an N-point Centroidal Voronoi Tessellation (CVT) within the unit square [0,1]x[0,1], under a uniform density, using sampling to estimate the Voronoi regions.
  435. cvt_2d_sampling_test
  436. cvt_3d_lumping, an Octave code which computes an N-point Centroidal Voronoi Tessellation (CVT) within the unit cube [-1,1]^3, under a Chebyshev density, using weighted sampling (lumping) to estimate the Voronoi regions.
  437. cvt_3d_lumping_test
  438. cvt_3d_sampling, an Octave code which computes an N-point Centroidal Voronoi Tessellation (CVT) within the unit cube [0,1]^3, under a uniform density, using sampling to estimate the Voronoi regions.
  439. cvt_3d_sampling_test
  440. cvt_basic, an Octave code which calculates a Centroidal Voronoi Tessellation (CVT) in a square with uniform density. It is intended as an introduction to the cvt_square_uniform() code.
  441. cvt_basic_test
  442. cvt_circle_nonuniform, an Octave code which demonstrates the computation of a centroidal Voronoi Tessellation (CVT) over a circular region, using a nonuniform density.
  443. cvt_circle_nonuniform_test
  444. cvt_circle_uniform, an Octave code which computes a centroidal Voronoi Tessellation (CVT) over a circular region, using a uniform density.
  445. cvt_circle_uniform_test
  446. cvt_corn, an Octave code which studies a 2D model of the growth of a corn kernel, by treating the surface and interior biological cells as points to be organized by a Centroidal Voronoi Tessellation (CVT) with a nonuniform density; during a sequence of growth steps, new biological cells are randomly added to the surface and interior.
  447. cvt_corn_test
  448. cvt_ellipse_uniform, an Octave code which iteratively calculates a Centroidal Voronoi Tessellation (CVT) over an ellipse, with a uniform density.
  449. cvt_ellipse_uniform_test
  450. cvt_square_nonuniform, an Octave code which iteratively calculates a Centroidal Voronoi Tessellation (CVT) over a square, with a nonuniform density.
  451. cvt_square_nonuniform_test
  452. cvt_square_pdf_discrete, an Octave code which iteratively calculates a Centroidal Voronoi Tessellation (CVT) over a square, with a density determined from a discrete PDF.
  453. cvt_square_pdf_discrete_test
  454. cvt_square_uniform, an Octave code which iteratively calculates a Centroidal Voronoi Tessellation (CVT) over a square, with a uniform density.
  455. cvt_square_uniform_test
  456. cvt_triangle_uniform, an Octave code which iteratively calculates a Centroidal Voronoi Tessellation (CVT) over a triangle, with a uniform density.
  457. cvt_triangle_uniform_test
  458. cvtm_1d, an Octave code which estimates a mirror-periodic centroidal Voronoi Tessellation (CVTM) in the periodic interval [0,1], using a version of the Lloyd iteration.
  459. cvtm_1d_test
  460. cvtp, an Octave code which creates a periodic Centroidal Voronoi Tessellation (CVTP).
  461. cvtp_test
  462. cvtp_1d, an Octave code which estimates a periodic centroidal Voronoi Tessellation (CVTP) in the periodic interval [0,1], using a version of the Lloyd iteration.
  463. cvtp_1d_test
  464. cycle_brent, an Octave 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.
  465. cycle_brent_test
  466. cycle_floyd, an Octave 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.
  467. cycle_floyd_test
  468. cyclic_reduction, an Octave code which solves a tridiagonal linear system using cyclic reduction;
  469. cyclic_reduction_test
  470. delaunay_test, an Octave code which calls the built-in delaunay() function, which computes the Delaunay triangulation of a set of points.
  471. delsq, an Octave code which is given a grid G, and returns a corresponding sparse matrix D that defines the Laplacian operator on G. MATLAB includes a built-in version of this function.
  472. delsq_test
  473. dfield9, an Octave code which allows a user to interactively specify the right hand side of an ordinary differential equation (ODE). The program then displays the corresponding direction field. If the user clicks on any point in the image as an initial condition, the program displays the corresponding solution curve. The original version of this code was by John Polking.
  474. dg1d_advection, an Octave code which uses the Discontinuous Galerkin Method (DG) to approximate a solution of the advection equation. The original version of the code was written by Jan Hesthaven and Tim Warburton.
  475. dg1d_advection_test
  476. dg1d_burgers, an Octave code which uses the Discontinuous Galerkin Method (DG) to approximate a solution of the unsteady 1D Burgers equation. The original version of the code was written by Jan Hesthaven and Tim Warburton.
  477. dg1d_burgers_test
  478. dg1d_heat, an Octave code which uses the Discontinuous Galerkin Method (DG) to approximate a solution of the unsteady 1D heat equation. The original version of the code was written by Jan Hesthaven and Tim Warburton.
  479. dg1d_heat_test
  480. dg1d_maxwell, an Octave code which uses the Discontinuous Galerkin Method (DG) to approximate a solution of the Maxwell equations. The original version of the code was written by Jan Hesthaven and Tim Warburton.
  481. dg1d_maxwell_test
  482. dg1d_poisson, an Octave code which applies the discontinuous Galerkin method (DG) to a 1D version of the Poisson equation; the original version of the code was written by Beatrice Riviere.
  483. dg1d_poisson_test
  484. diaphony, an Octave code which reads a file of N points in M dimensions and computes its diaphony, a measure of point dispersion.
  485. diaphony_test
  486. dice_simulation, an Octave code which simulates N tosses of M dice, making a histogram of the resulting sums.
  487. dice_simulation_test
  488. dictionary_code, an Octave code which demonstates how a text file can be compressed and decompressed using a dictionary code.
  489. dictionary_code_test
  490. diff_forward, an Octave code which interactively uses forward differences to estimate the derivative of a function f(x), using a stepsize h.
  491. diff_forward_test
  492. diff_test, an Octave code which calls diff(), which computes differences in a vector of data, which can be scaled to estimate derivatives of equally spaced data.
  493. diff_center, an Octave code which interactively uses centered differences to estimate the derivative of a function f(x), using a stepsize h.
  494. diff_center_test
  495. diff_forward, an Octave code which interactively uses forward differences to estimate the derivative of a function f(x), using a stepsize h.
  496. diff_forward_test
  497. diff2_center, an Octave code which interactively uses centered differences to estimate the second derivative of a function f(x), using a stepsize h.
  498. diff2_center_test
  499. differ, an Octave code which determines the finite difference method (FDM) coefficients to combine function values at known locations to compute an approximation of given accuracy to a derivative of a given order.
  500. differ_test
  501. diffusion_pde, an Octave code which solves the diffusion partial differential equation (PDE) dudt - mu * d2udx2 = 0 in one spatial dimension, with a constant diffusion coefficient mu, and periodic boundary conditions, using the forward time, centered space (FTCS) difference method.
  502. diffusion_pde_test
  503. digital_dice, an Octave code which carries out probability simulations described in "Digital Dice", by Paul Nahin;
  504. digital_dice_test
  505. dijkstra, an Octave code which implements a simple version of the Dijkstra minimum distance algorithm for graphs.
  506. dijkstra_test
  507. diophantine, an Octave code which finds one solution of a diophantine equation in any number of variables.
  508. diophantine_test
  509. diophantine_nd, an Octave code which is given a Diophantine equation in N variables, and returns all nonnegative solutions, or all strictly positive solutions.
  510. diophantine_nd_test
  511. discrete_pdf_sample_2d, an Octave 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.
  512. discrete_pdf_sample_2d_test
  513. disk_distance, an Octave code which computes the expected value of the distance between a pair of points randomly selected from the interior of the unit disk in 2D.
  514. disk_distance_test
  515. disk_grid, an Octave 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.
  516. disk_grid_test
  517. disk_integrals, an Octave code which returns the exact value of the integral of any monomial over the interior of a disk of radius R centered at the origin.
  518. disk_integrals_test
  519. disk_monte_carlo, an Octave code which applies a Monte Carlo method to estimate integrals of a function over the interior of the general disk in 2D.
  520. disk_monte_carlo_test
  521. disk_positive_distance, an Octave code which computes the expected value of the distance between a pair of points randomly selected from the interior of the unit positive disk in 2D.
  522. disk_positive_distance_test
  523. disk_rule, an Octave code which computes quadrature rules for the general disk in 2D.
  524. disk_rule_test
  525. disk01_integrals, an Octave code which returns the exact value of the integral of any monomial over the interior of the unit disk in 2D.
  526. disk01_integrals_test
  527. disk01_integrands, an Octave code which defines several test integrals over the unit disk, making it possible to check the accuracy of quadrature rules.
  528. disk01_integrands_test
  529. disk01_monte_carlo, an Octave code which applies a Monte Carlo method to estimate integrals of a function over the interior of the unit disk in 2D;
  530. disk01_monte_carlo_test
  531. disk01_positive_monte_carlo, an Octave code which applies a Monte Carlo method to estimate the integral of a function over the interior of the unit positive disk in 2D;
  532. disk01_positive_monte_carlo_test
  533. disk01_positive_rule, an Octave code which computes a quadrature rule over the interior of the unit positive disk in 2D, with radius 1 and center (0,0).
  534. disk01_positive_rule_test
  535. disk01_rule, an Octave code which computes quadrature rules for the unit disk in 2D.
  536. disk01_rule_test
  537. dist_plot, an Octave code which makes contour plots of the distance function, as defined and used in Persson and Strang's distmesh() code;
  538. dist_plot_test
  539. distmesh, an Octave code which carries out a method of mesh generation; by Per-Olof Persson and Gilbert Strang.
  540. distmesh_test
  541. distmesh_3d, an Octave code which carries out a method of mesh generation in 3D, by Per-Olof Persson and Gilbert Strang.
  542. distmesh_3d_test
  543. divdif, an Octave code which uses divided differences to compute the polynomial interpolant to a given set of data.
  544. divdif_test
  545. doomsday, an Octave code which is given the year, month and day of a date, and uses John Conway's doomsday algorithm to determine the corresponding day of the week.
  546. doomsday_test
  547. dosage_ode, an Octave code which sets up and solves a system of ordinary differential equations (ODE) to simulate the blood levels of a medicinal drug that should stay between medicinal and toxic limits.
  548. dosage_ode_test
  549. double_c_data, an Octave code which generates, plots and writes out 2D data that forms two interlocking "C" shapes.
  550. double_c_data_test
  551. double_well_ode, an Octave code which sets up and solves an ordinary differential equation (ODE) which models the motion of a particle in a double well potential.
  552. double_well_ode_test
  553. dream, an Octave 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.
  554. dream_test
  555. duel_simulation, an Octave code which simulates N repetitions of a duel between two players, each of whom has a known firing accuracy.
  556. duel_simulation_test
  557. dueling_idiots, an Octave code which carries out the probability simulations described in "Dueling Idiots", by Paul Nahin;
  558. dueling_idiots_test
  559. duffing_ode, an Octave code which sets up and solves a second-order ordinary differential equation (ODE) whose solution can exhibit chaotic behavior.
  560. duffing_ode_test
  561. e_spigot, an Octave code which produces any number of digits of the decimal expansion of e.
  562. e_spigot_test
  563. edge, an Octave code which defines some test functions in 1D, 2D and 3D for the detection of edges or discontinuities.
  564. edge_test
  565. eigs_test, an Octave code which calls eigs(), which is a built-in system function which computes the eigenvalues and eigenvectors of a matrix.
  566. elfun, an Octave code which evaluates elliptic integrals, include Bulirsch's integrals cel(), cel1(), cel2(), cel3(), Carlson integrals rc(), rd(), rf(), rg(), rj(), and Jacobi functions cn(), dn(), sn(), by Milan Batista.
  567. elfun_test
  568. ellipse, an Octave code which carries out geometric calculations for ellipses and ellipsoids, including area, distance to a point, eccentricity, perimeter, points along the perimeter, random sampling, conversion between standard and quadratic forms.
  569. ellipse_test
  570. ellipse_distance, an Octave code which computes the expected value of the distance between a pair of points randomly selected on the circumference of the ellipse (x/a)^2+(y/b)^2=1 in 2D.
  571. ellipse_distance_test
  572. ellipse_grid, an Octave code which computes a grid of points over the interior of an ellipse in 2D.
  573. ellipse_grid_test
  574. ellipse_monte_carlo, an Octave code which uses the Monte Carlo method to estimate the value of integrals over the interior of an ellipse in 2D.
  575. ellipse_monte_carlo_test
  576. ellipsoid, an Octave code which carries out geometric calculations for ellipsoids, including area, random sampling, conversion between standard and quadratic forms.
  577. ellipsoid_test
  578. ellipsoid_grid, an Octave code which computes a grid of points over the interior of an ellipsoid in 3D.
  579. ellipsoid_grid_test
  580. ellipsoid_monte_carlo, an Octave code which uses the Monte Carlo method to estimate the value of integrals over the interior of an ellipsoid in M dimensions.
  581. ellipsoid_monte_carlo_test
  582. elliptic_integral, an Octave code which evaluates complete elliptic integrals of first, second and third kind, using the Carlson elliptic integral functions.
  583. elliptic_integral_test
  584. epicycloid, an Octave code which plots an epicycloid curve.
  585. epicycloid_test
  586. equidistribution, an Octave code which investigates equidistribution properties relating to density functions and point sets.
  587. equidistribution_test
  588. eros, an Octave code which implements elementary row operations (ERO) for the interactive solution of a system of linear equations.
  589. eros_test
  590. errors, an Octave code which illustrates the failure of numerical algorithms;
  591. errors_test
  592. eternity, an Octave code which considers the eternity puzzle, an irregular dodecagon that is to be tiled by 209 pieces, each formed by 12 contiguous 30-60-90 triangles, known as polydrafters.
  593. eternity_test
  594. eternity_hexity, an Octave code which evaluates and manipulates a six-fold parity quantity associated with grids and tiles used in the Eternity puzzle.
  595. eternity_hexity_test
  596. eternity_tile, an Octave code which considers the individual tiles of the eternity puzzle, 209 distinct pieces, each formed by 36 contiguous 30-60-90 triangles, known as polydrafters, as well as tiles for the serenity and trinity puzzles, and the hat and turtle aperiodic monotiles.
  597. eternity_tile_test
  598. euclid, an Octave code which investigates various versions of Euclid's algorithm for computing the greatest common divisor (GCD) of two integers.
  599. euclid_test
  600. euler, an Octave code which solves one or more ordinary differential equations (ODE) using the forward Euler method.
  601. euler_test
  602. exactness, an Octave 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).
  603. exactness_test
  604. exm, an Octave code which contains scripts and data discussed in the electronic textbook "Experiments with Matlab", by Cleve Moler, including easter, Fast Fourier Transforms, Fibonacci numbers, the fractal fern, the game of Life, magic matrices, the Mandelbrot set, Morse code, Music, Ordinary Differential Equations, the page rank algorithm, planetary orbits, predator prey equations, the shallow water equations, Sudoku puzzles.
  605. exm_test
  606. exp_ode, an Octave code which sets up and solves an ordinary differential equation (ODE) whose solution is an exponential function.
  607. exp_ode_test
  608. faces_average, an Octave code which averages several images of the same face;
  609. faces_average_test
  610. fair_dice_simulation, an Octave code which simulates N tosses of 2 dice, making a histogram of the resulting sums.
  611. fair_dice_simulation_test
  612. faure, an Octave code which computes the Faure M dimensional Quasi Mont Carlo (QMC) sequence;
  613. faure_test
  614. fd_predator_prey, an Octave code which solves a time-dependent predator prey system using the finite difference method (FDM).
  615. fd_predator_prey_test
  616. fd1d_advection_diffusion_steady, an Octave 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.
  617. fd1d_advection_diffusion_steady_test
  618. fd1d_advection_ftcs, an Octave 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 scheme.
  619. fd1d_advection_ftcs_test
  620. fd1d_advection_lax, an Octave 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.
  621. fd1d_advection_lax_test
  622. fd1d_advection_lax_wendroff, an Octave 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.
  623. fd1d_advection_lax_wendroff_test
  624. fd1d_burgers_lax, an Octave 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.
  625. fd1d_burgers_lax_test
  626. fd1d_burgers_leap, an Octave 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.
  627. fd1d_burgers_leap_test
  628. fd1d_bvp, an Octave code which applies the finite difference method (FDM) to a two point boundary value problem (BVP) in one spatial dimension.
  629. fd1d_bvp_test
  630. fd1d_display, an Octave code which reads a pair of files defining a 1D finite difference method (FDM) of a function, and plots the data.
  631. fd1d_display_test
  632. fd1d_heat_explicit, an Octave code which implements a finite difference method (FDM), explicit in time, to solve the time dependent 1D heat equation;
  633. fd1d_heat_explicit_test
  634. fd1d_heat_implicit, an Octave code which implements a finite difference method (FDM), implicit in time, to solve the time dependent 1D heat equation;
  635. fd1d_heat_implicit_test
  636. fd1d_heat_steady, an Octave code which implements a finite difference method (FDM) for the steady (time independent) 1D heat equation;
  637. fd1d_heat_steady_test
  638. fd1d_poisson, an Octave code which solves a Poisson equation over a user-specified discretized interval, with given functions f(x) (right hand side) and g(x) (Dirichlet boundary conditions), using the Finite Difference Method (FDM).
  639. fd1d_poisson_test
  640. fd1d_predator_prey, an Octave code which implements the finite difference method (FDM) for a predator-prey system with time and 1D spatial dependence, by Marcus Garvie.
  641. fd1d_predator_prey_test
  642. fd1d_predator_prey_plot, an Octave code which plots solutions of the predator prey differential equations, by Marcus Garvie.
  643. fd1d_predator_prey_plot_test
  644. fd1d_wave, an Octave code which applies the finite difference method (FDM) to solve the time-dependent wave equation utt = c * uxx in one spatial dimension.
  645. fd1d_wave_test
  646. fd2d_convergence_test, an Octave code which calls fd2d_poisson(), which repeatedly solves a Poisson equation on a sequence of finer meshes, so that the relationship between mesh size H and error norm E can be explored.
  647. fd2d_heat_steady, an Octave code which implements a finite difference method (FDM) for the steady (time independent) 2D heat equation;
  648. fd2d_heat_steady_test
  649. fd2d_poisson, an Octave code which solves a Poisson equation over a user-specified discretized rectangle, with given functions f(x,y) (right hand side) and g(x,y) (Dirichlet boundary conditions), using the Finite Difference Method (FDM).
  650. fd2d_poisson_test
  651. fd2d_predator_prey, an Octave code which implements a finite difference method (FDM) for a time and 2D space dependent predator-prey system, by Marcus Garvie.
  652. fd2d_predator_prey_test
  653. fd3d_poisson, an Octave code which solves a Poisson equation over a user-specified discretized 3d block, with given functions f(x,y,z) (right hand side) and g(x,y,z) (Dirichlet boundary conditions), using the Finite Difference Method (FDM).
  654. fd3d_poisson_test
  655. fem_basis, an Octave 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.)
  656. fem_basis_test
  657. fem_basis_q4_display, an Octave code which displays any single finite element method (FEM) basis function associated with an arbitrary linear quadrilateral Q4 mesh;
  658. fem_basis_q4_display_test
  659. fem_basis_t3_display, an Octave code which displays a basis function for the finite element method (FEM) associated with an arbitrary 3-node triangle T3 mesh;
  660. fem_basis_t3_display_test
  661. fem_basis_t4_display, an Octave code which displays a basis function for the finite element method (FEM) associated with an arbitrary 4-node triangle T4 mesh;
  662. fem_basis_t4_display_test
  663. fem_basis_t6_display, an Octave code which displays a basis function for the finite element method (FEM) associated with an arbitrary 6-node triangle T6 mesh;
  664. fem_basis_t6_display_test
  665. fem_io, an Octave code which reads or writes FEM files, which describe the nodes, elements, and function values associated with a finite element method (FEM) model;
  666. fem_io_test
  667. fem_neumann, an Octave code which sets up a time-dependent reaction-diffusion equation in 1D, with Neumann boundary conditions, discretized using the finite element method (FEM).
  668. fem_neumann_test
  669. fem_to_gmsh, an Octave 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.
  670. fem_to_gmsh_test
  671. fem_to_medit, an Octave code which reads a set of FEM files defining the node coordinates, boundary nodes, and elements of a finite element mesh, and rewrites the data as a medit() MESH file.
  672. fem_to_medit_test
  673. fem_to_triangle, an Octave code which reads FEM files defining a 2D mesh of triangles, namely a file of node coordinates and a file of elements defined by node indices, and creates a corresponding pair of node and element files for use by Jonathan Shewchuk's triangle() program.
  674. fem_to_triangle_test
  675. fem_to_xml, an Octave code which reads a pair of FEM files defining node coordinates and elements, of a 1D, 2D or 3D mesh, namely a file of node coordinates and a file of elements defined by node indices, and creates a corresponding XML file for input to dolfin() or fenics().
  676. fem_to_xml_test
  677. fem1d, an Octave code which applies the finite element method (FEM), using piecewise linear basis functions, to a linear two point boundary value problem (BVP) in 1D;
  678. fem1d_test
  679. fem1d_adaptive, an Octave code which uses an adaptive mesh when applying the finite element method (FEM), with piecewise linear (PWL) basis functions, to a linear two point boundary value problem (BVP) in 1D;
  680. fem1d_adaptive_test
  681. fem1d_approximate, an Octave code which uses a given finite element method (FEM) mesh and piecewise linear (PWL) basis functions to approximate a set of data points, while controlling the variation in the derivative.
  682. fem1d_approximate_test
  683. fem1d_bvp_linear, an Octave code which applies the finite element method (FEM), with piecewise linear (PWL) 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.
  684. fem1d_bvp_linear_test
  685. fem1d_bvp_quadratic, an Octave code which applies the finite element method (FEM), with piecewise quadratic (PWQ) 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.
  686. fem1d_bvp_quadratic_test
  687. fem1d_display, an Octave code which reads three files defining a 1D arbitrary degree basis function associated with the finite element method (FEM), and displays a plot.
  688. fem1d_display_test
  689. fem1d_function_10_display, an Octave code which reads three files defining a 1D piecewise linear finite element method (FEM) function and displays a plot.
  690. fem1d_display_function_10_test
  691. fem1d_heat_explicit, an Octave code which uses the finite element method (FEM) and explicit time stepping to solve the time dependent heat equation in 1D.
  692. fem1d_heat_explicit_test
  693. fem1d_heat_implicit, an Octave code which uses the finite element method (FEM) and implicit time stepping to solve the time dependent heat equation in 1D.
  694. fem1d_heat_implicit_test
  695. fem1d_heat_steady, an Octave code which uses the finite element method (FEM) to solve the steady (time independent) 1D heat equation;
  696. fem1d_heat_steady_test
  697. fem1d_lagrange, an Octave 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.
  698. fem1d_lagrange_test
  699. fem1d_nonlinear, an Octave code which applies the finite element method (FEM), with piecewise linear (PWL) basis functions, to a nonlinear two point boundary value problem (BVP) in 1D;
  700. fem1d_nonlinear_test
  701. fem1d_pack, an Octave code which contains utilities for 1D finite element method (FEM) calculations.
  702. fem1d_pack_test
  703. fem1d_pmethod, an Octave code which applies the p-method version of the finite element method (FEM) to a linear two point boundary value problem (BVP) in 1D;
  704. fem1d_pmethod_test
  705. fem1d_project, an Octave code which projects data into a finite element space, including the least squares approximation of data, or the projection of a finite element solution from one mesh to another.
  706. fem1d_project_test
  707. fem1d_sample, an Octave code which samples a scalar or vector finite element function of one variable, defined by FEM files, returning interpolated values at the sample points.
  708. fem1d_sample_test
  709. fem2d_bvp_linear, an Octave code which applies the finite element method (FEM), with piecewise linear (PWL) elements, to a 2D boundary value problem (BVP) in a rectangle, and compares the computed and exact solutions with the L2 and seminorm errors.
  710. fem2d_bvp_linear_test
  711. fem1d_bvp_quadratic, an Octave code which applies the finite element method (FEM), with piecewise quadratic (PWQ) 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.
  712. fem1d_bvp_quadratic_test
  713. fem2d_bvp_serene, an Octave 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.
  714. fem2d_bvp_serene_test
  715. fem2d_heat, an Octave code which applies the finite element method (FEM) to the time dependent heat equation on an arbitrary triangulated region in 2D;
  716. fem2d_heat_test
  717. fem2d_heat_rectangle, an Octave code which applies the finite element method (FEM) for the time-dependent heat equation on a triangulated rectangle in 2D;
  718. fem2d_heat_rectangle_test
  719. fem2d_heat_sparse, an Octave code which applies the finite element method (FEM) to the heat equation on an arbitrary triangulated region in 2D, using a sparse storage matrix format;
  720. fem2d_heat_sparse_test
  721. fem2d_mesh_display, an Octave code which reads a FEM model of a 2D mesh of elements of any uniform order and displays a plot of the elements and nodes, with optional numbering.
  722. fem2d_mesh_display_test
  723. fem2d_pack, an Octave code which performs simple 2D finite element method (FEM) computations;
  724. fem2d_pack_test
  725. fem2d_poisson_rectangle, an Octave code which solves the 2D Poisson equation on a rectangle, using the finite element method (FEM), and piecewise quadratic triangular elements.
  726. fem2d_poisson_rectangle_test
  727. fem2d_poisson_rectangle_linear, an Octave code which solves the 2D Poisson equation on a rectangle, using the finite element method (FEM), and piecewise linear triangular elements.
  728. fem2d_poisson_rectangle_linear_test
  729. fem2d_predator_prey_fast, an Octave code which implements a finite element method (FEM) for a time and 2D space dependent predator-prey system, on an arbitrary triangulated region, with a variety of possible boundary conditions, incorporating some optimizations, by Marcus Garvie.
  730. fem2d_predator_prey_fast_test
  731. fem2d_project, an Octave code which projects a function f(x,y), given as data, into a given finite element method (FEM) space of piecewise linear triangular elements.
  732. fem2d_project_test
  733. fem2d_project_function, an Octave code which projects a function f(x,y), given as a formula, into a given finite element method (FEM) space of piecewise linear triangular elements.
  734. fem2d_project_function_test
  735. fem2d_sample, an Octave code which samples a finite element method (FEM) function, defined by three text files describing the nodes, triangles, and coefficients, at arbitrary points.
  736. fem2d_sample_test
  737. fem2d_scalar_display, an Octave code which reads information about nodes, elements and nodal values for a 2D finite element method (FEM) and creates a surface plot of U(X,Y).
  738. fem2d_scalar_display_test
  739. fem2d_scalar_display_brief, an Octave code which reads information about nodes, elements and nodal values for a 2D finite element method (FEM) and creates a surface plot of U(X,Y), in 5 lines of code.
  740. fem2d_scalar_display_brief_test
  741. fem2d_scalar_display_gpl, an Octave code which reads information about nodes, elements and nodal values for a 2D finite element method (FEM) and creates a GPL file describing a surface plot of U(X,Y), to be displayed by gnuplot().
  742. fem2d_scalar_display_gpl_test,
  743. fem3d_pack, an Octave code which contains utilities for 3D finite element method (FEM) calculations.
  744. fem3d_pack_test
  745. fem3d_project, an Octave code which projects a function f(x,y,z), given as a data, into a given space of piecewise linear tetrahedral elements for use in the finite element method (FEM).
  746. fem3d_project_test
  747. fem3d_sample, an Octave code library which evaluates a function defined on a 3D tetrahedral mesh as part of the finite element method (FEM).
  748. fem3d_sample_test
  749. fern, an Octave code which computes and displays the Barnsley fractal fern.
  750. fern_test
  751. feynman_kac_1d, an Octave 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.
  752. feynman_kac_1d_test
  753. feynman_kac_2d, an Octave 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.
  754. feynman_kac_2d_test
  755. feynman_kac_3d, an Octave 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.
  756. feynman_kac_3d_test
  757. ffmatlib, an Octave code which allows the user to plot finite element method (FEM) results that have been computed by FreeFem++().
  758. fft_serial, an Octave code which computes a Fast Fourier Transform (FFT), and is intended as a starting point for implementing a parallel version.
  759. fft_serial_test
  760. fibonacci_spiral, an Octave code which displays points on a Fibonacci spiral, suggesting the arrangement of seeds in a sunflower, for instance.
  761. fibonacci_spiral_test
  762. file_increment, an Octave code which increments every entry of an integer array which is stored in a file.
  763. file_increment_test
  764. file_name_sequence, an Octave code which demonstrates ways to generate a sequence of filenames, which can be useful when generating a sequence of still snapshots to be animated later.
  765. file_name_sequence_test
  766. files_multiple_test, an Octave code which demonstrates how a program can open multiple output files at one time, and write data to any one specific file it chooses.
  767. filon_rule, an Octave code which approximates integrals which include an oscillatory factor of sin(k*x) or cos(k*x).
  768. filon_rule_test
  769. filum, an Octave code which handles files and filenames;
  770. filum_test
  771. fire_simulation, an Octave code which simulates a forest fire over a rectangular array of trees, starting at a single random location.
  772. fire_simulation_test
  773. fisher_exact, an Octave code which returns an exact solution of the Kolmogorov Petrovsky Piskonov Fisher partial differential equation (PDE) ut=uxx+u*(1-u).
  774. fisher_exact_test
  775. fitzhugh_nagumo_ode, an Octave code which sets up and solves the Fitzhugh-Nagumo system of ordinary differential equations (ODE).
  776. fitzhugh_nagumo_ode_test
  777. flame_exact, an Octave 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.
  778. flame_exact_test
  779. flame_ode, an Octave code which sets up and solves 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.
  780. flame_ode_test
  781. flies_simulation, an Octave code which simulates an experiment in which two flies land on a plate of radius 1. By repeating the experiment many times, the average distance between the flies is to be estimated.
  782. flies_simulation_test
  783. floyd, an Octave code which implements the Floyd algorithm for finding the shortest distance between pairs of nodes on a directed graph.
  784. floyd_test
  785. fly_simulation, an Octave code which simulates an experiment in which a fly lands on a plate of radius 1. By repeating the experiment many times, the average distance of the fly from the center is to be estimated.
  786. fly_simulation_test
  787. fn, an Octave code which evaluates elementary and special functions using Chebyshev polynomials, including Airy, Bessel I, Bessel J, Bessel K, Bessel Y, beta, confluent hypergeometric, cosine integral, the Dawson integral, digamma (psi), error, exponential integral, gamma, hyperbolic cosine integral, hyperbolic sine integral, incomplete gamma, log gamma, logarithmic integral, Pochhammer, psi, sine integral, Spence;, by Wayne Fullerton.
  788. fn_test
  789. football_dynamic, an Octave code which uses dynamic programming to count the ways of achieving a given score in football.
  790. football_dynamic_test
  791. four_fifths, an Octave code which searches for a solution to the problem of finding four fifth powers that sum to a fifth power, that is, integers a, b, c, d and e such that a^5+b^5+c^5+d^5=e^5. Euler conjectured that no solution was possible.
  792. four_fifths_test
  793. fractal_coastline, an Octave code which uses perturbed Bezier interpolation to create a fractal coastline from a crude outline of a state, country, island, or even any general closed polygonal curve.
  794. fractal_coastline_test
  795. freefem_msh_io, an Octave code which reads and writes files used by the FreeFem finite element program to store mesh information.
  796. freefem_msh_io_test
  797. fsolve_test, an Octave code which calls fsolve() which seeks the solution x of one or more nonlinear equations f(x)=0.
  798. full_deck_simulation, an Octave code which simulates a process in which a random card is drawn from a deck of 52, and then replaced, continuing until every card has been seen at least once.
  799. full_deck_simulation_test
  800. gamblers_ruin_simulation, an Octave code which simulates a game in which a gambler never stops playing until all money is lost.
  801. gamblers_ruin_simulation_test
  802. gauss_seidel, an Octave code which implements the Gauss-Seidel iteration for linear systems.
  803. gauss_seidel_test
  804. gauss_seidel_poisson_1d, an Octave code which demonstrates how the linear system for a discretized version of the steady 1D Poisson equation can be solved by the Gauss-Seidel iteration.
  805. gauss_seidel_poisson_1d_test
  806. gauss_seidel_stochastic, an Octave code which uses a stochastic version of the Gauss-Seidel iteration to solve a linear system with a symmetric positive definite (SPD) matrix.
  807. gauss_seidel_stochastic_test
  808. gaussian, an Octave code which evaluates the Gaussian function and its derivatives.
  809. gaussian_test,
  810. gaussian_2d, an Octave code which evaluates a general Gaussian function of a 2D argument.
  811. gaussian_2d_test,
  812. gaussian_prime_spiral, an Octave code which computes a twisting spiral path along the Gaussian primes, and displays a plot of the total trajectory.
  813. gaussian_prime_spiral_test
  814. ge_to_crs, an Octave code which converts a matrix from General (GE) to Compressed Row Storage (CRS) format.
  815. ge_to_crs_test
  816. gegenbauer_cc, an Octave code which computes the Gegenbauer weighted integral of a function f(x) using a Clenshaw-Curtis approach.
  817. gegenbauer_cc_test
  818. gegenbauer_exactness, an Octave code which tests the polynomial exactness of Gauss-Gegenbauer quadrature rules.
  819. gegenbauer_exactness_test
  820. gegenbauer_polynomial, an Octave code which evaluates the Gegenbauer polynomial and associated functions.
  821. gegenbauer_polynomial_test
  822. gegenbauer_rule, an Octave code which computes and writes out a Gauss-Gegenbauer quadrature rule of given order.
  823. gegenbauer_rule_test
  824. gen_hermite_exactness, an Octave code which tests the polynomial exactness of generalized Gauss-Hermite quadrature rules.
  825. gen_hermite_exactness_test
  826. gen_hermite_rule, an Octave code which computes and writes out a generalized Gauss-Hermite quadrature rule of given order and parameter value.
  827. gen_hermite_rule_test
  828. gen_laguerre_exactness, an Octave code which tests the polynomial exactness of generalized Gauss-Laguerre quadrature rules.
  829. gen_laguerre_exactness_test
  830. gen_laguerre_rule, an Octave code which computes and writes out a generalized Gauss-Laguerre quadrature rule of given order and parameter value.
  831. gen_laguerre_rule_test
  832. geometry, an Octave code which performs geometric calculations in 2, 3 and M dimensional space, including the computation of angles, areas, containment, distances, intersections, lengths, and volumes.
  833. geometry_test
  834. geompack, an Octave code which computes Delaunay triangulations, Voronoi diagrams, and other information, by Barry Joe.
  835. geompack_test
  836. gl_fast_rule, an Octave code which carries out the rapid computation of the Kth value and weight of an N point Gauss-Legendre quadrature rule, by Ignace Bogaert.
  837. gl_fast_rule_test
  838. glomin, an Octave code which finds a global minimum of a scalar function of a scalar variable, without the use of derivative information, by Richard Brent.
  839. glomin_test
  840. glycolysis_ode, an Octave code which sets up a pair of ordinary differential equations (ODE) that model the biochemical process of glycolysis, for which a limit cycle exists.
  841. glycolysis_ode_test
  842. gmres, an Octave code which implements the generalized minimum residual (GMRES) method for solving a nonsymmetric sparse linear system A*x=b.
  843. gmres_test
  844. gmsh_io, an Octave code which reads or writes files created by the gmsh() program for 1D, 2D or 3D meshes used by the finite element method (FEM).
  845. gmsh_io_test
  846. gmsh_to_fem, an Octave code which reads a mesh data file created by the gmsh() program and writes a pair of node and element files that correspond to the FEM format.
  847. gmsh_to_fem_test
  848. gnuplot_test, an Octave code which uses gnuplot() to create various kinds of plots.
  849. gpl_display, an Octave code which tries to read the data in a typical gnuplot() GPL file, describing a 1D, 2D or 3D curve, or a surface Z(X,Y) defined on a regular grid, a triangular grid, or an irregular quadrilateral grid, displays it in a more attractive way than gnuplot() is capable of.
  850. gpl_display_test
  851. gradient_descent, an Octave code which uses gradient descent to solve a linear least squares (LLS) problem.
  852. gradient_descent_test
  853. gram_polynomial, an Octave code which evaluates the Gram polynomials, also known as the discrete Chebyshev polyomials and associated functions.
  854. gram_polynomial_test
  855. gram_schmidt, an Octave code which implements the Gram-Schmidt process to orthogonalize and normalize a set of vectors.
  856. gram_schmidt_test
  857. graph_adj, an Octave code which carries out operations on abstract graphs, with undirected edges, described by an adjacency matrix. Operations include breadth-first search, the computation of a minimum spanning tree, an Euler or Hamilton circuit, blocks, chromatic polynomial, or transitive closure.
  858. graph_adj_test
  859. graph_representation, an Octave code which determines various representations of a graph.
  860. graph_representation_test
  861. graphics_test, an Octave code which graphically displays various kinds of data.
  862. grazing_ode, an Octave code which sets up and solves a pair of ordinary differential equations (ODE) that model the populations of an edible plant, and the herbivore that grazes on it.
  863. gray_code_display, an Octave code which computes the Hamming distance tables for both the binary and Gray codes, and displays 3D plots that illustrate how the Gray code does a better job of providing nearby representations for nearby numbers.
  864. gray_code_display_test
  865. grazing_ode_test
  866. grf_display, an Octave code which reads a GRF file defining a mathematical graph and displays an image of it.
  867. grf_display_test
  868. grf_io, an Octave code which reads or writes a grf file which represents a mathematical graph;
  869. grf_io_test
  870. grid_display, an Octave code which reads a file of points on a grid or sparse grid, displays the grid and saves the image in a png file;
  871. grid_display_test
  872. gridlines, an Octave code which gives the user more control over drawing gridlines on a graph than is available through the builtin grid() command.
  873. gridlines_test
  874. grids_display, an Octave code which reads two files of grids or sparse grids, displaying the first with hollow blue dots, the second with solid red dots.
  875. grids_display_test
  876. gurobi_solution_read, an Octave code which reads a file created by the optimization package GUROBI, representing the solution of a polyomino tiling problem, and writes out a simple ASCII file to be read by load().
  877. gurobi_solution_read_test
  878. haar_transform, an Octave code which computes the Haar transform of 1d or 2d data.
  879. haar_transform_test
  880. halton, an Octave code which computes elements of a Halton Quasi Monte Carlo (QMC) sequence, using a simple interface.
  881. halton_test
  882. hammersley, an Octave code which computes elements of a Hammersley Quasi Monte Carlo (QMC) sequence, using a simple interface.
  883. hammersley_test
  884. hamming, an Octave code which implements some simple versions of Hamming codes which detects and correct errors in data.
  885. hamming_test
  886. hand_area, an Octave code which estimates the area of a curve which outlines a hand.
  887. hand_area_test
  888. hand_data, an Octave code which carries out some numerical exercises based on data that came from tracing several points on a hand.
  889. hand_data_test
  890. hand_mesh2d, an Octave code which reads in a set of points which outline a human hand, and calls mesh2d(), which is able to create a fine triangular mesh of the region outlined by the points.
  891. hand_mesh2d_test
  892. hankel_cholesky, an Octave code which computes the upper Cholesky factor R of a symmetric positive definite (SPD) Hankel matrix H so that H = R' * R.
  893. hankel_cholesky_test
  894. hankel_inverse, an Octave code which computes the inverse of a Hankel matrix.
  895. hankel_inverse_test
  896. hankel_spd, an Octave 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'.
  897. hankel_spd_test
  898. hb_io, an Octave code which reads and writes sparse linear systems stored in the Harwell Boeing (HB) format for sparse matrices.
  899. hb_io_test
  900. hb_to_mm, an Octave code which converts a sparse matrix from Harwell Boeing (HB) to Matrix Market (MM) format.
  901. hb_to_mm_test
  902. hb_to_msm, an Octave code which converts a sparse matrix stored in a Harwell Boeing (HB) format to MATLAB sparse matrix (MSM) format;
  903. hb_to_msm_test
  904. hb_to_st, an Octave code which converts a sparse matrix from Harwell Boeing (HB) format to Sparse Triplet (ST) format.
  905. hb_to_st_test
  906. heartbeat_ode, an Octave code which sets up and solves an ordinary differential equation (ODE) describing the beating of the heart, as suggested by Zeeman.
  907. heartbeat_ode_test
  908. heat_transfer_test, an Octave code which plots data from the computation of heat distribution on a metal disk, as computed by FreeFem++() and transferred using the ffmatlib() library.
  909. heated_plate, an Octave code which solves the steady state heat equation in a 2D rectangular region, and is intended as a starting point for a parallel version.
  910. heated_plate_test
  911. hello, an Octave code which prints out "Hello, world!".
  912. hello_test
  913. helmholtz_exact, an Octave code which evaluates an exact formula for the solution of the Helmholtz equation, a sort of eigenvalue equation that can arise after separation of variables is a applied to the wave equation. This example considers a problem in which Z(x,y) represents the vertical deflection of the surface of a vibrating circular membrane such as a drumhead.
  914. helmholtz_exact_test
  915. henon_heiles_ode, an Octave code which sets up and solves the Henon-Heiles system of ordinary differential equations (ODE) which model the motion of a star around the galactic center.
  916. henon_heiles_ode_test
  917. henon_orbit, a MATLAB code which computes the orbit of the Henon map for various sets of initial data.
  918. henon_orbit_test
  919. hermite_cubic, an Octave code which computes the value, derivatives or integral of a Hermite cubic polynomial, or manipulates an interpolating function made up of piecewise Hermite cubic polynomials.
  920. hermite_cubic_test
  921. hermite_exactness, an Octave code which tests the polynomial exactness of Gauss-Hermite quadrature rules to estimate the integral of a function with density exp(-x^2) over the interval (-oo,+oo).
  922. hermite_exactness_test
  923. hermite_integrands, an Octave code which defines test integrands for Hermite integrals with density exp(-x^2) over the interval (-oo,+oo).
  924. hermite_integrands_test
  925. hermite_interpolant, an Octave code which computes the Hermite interpolant, a polynomial that matches function values and derivatives.
  926. hermite_interpolant_test
  927. hermite_polynomial, an Octave code which evaluates the physicist's Hermite polynomial, the probabilist's Hermite polynomial, the Hermite function, and related functions.
  928. hermite_polynomial_test
  929. hermite_product_display, an Octave code which displays an image of a function created by the Cartesian product of two Hermite polynomials, such as f(x,y) = h(3,x) * h(1,y).
  930. hermite_product_display_test
  931. hermite_product_polynomial, an Octave code which defines Hermite product polynomials, creating a multivariate polynomial as the product of univariate Hermite polynomials.
  932. hermite_rule, an Octave code which computes and writes out a Gauss-Hermite quadrature rule to estimate the integral of a function with density exp(-x^2) over the interval (-oo,+oo).
  933. hexagon_integrals, an Octave code which returns the exact value of the integral of a monomial over the interior of a hexagon in 2D.
  934. hexagon_integrals_test
  935. hexagon_lyness_rule, an Octave code which computes one of 13 Lyness quadrature rules over the interior of the unit hexagon.
  936. hexagon_lyness_rule_test
  937. hexagon_monte_carlo, an Octave code which applies a Monte Carlo method to estimate the integral of a function over the interior of a hexagon in 2D;
  938. hexagon_monte_carlo_test
  939. hexagon_stroud_rule, an Octave code which computes one of four Stroud quadrature rules over the interior of the unit hexagon.
  940. hexagon_stroud_rule_test
  941. hexahedron_jaskowiec_rule, an Octave code which returns a symmetric Jaskowiec quadrature rule for the hexahedron, with exactness up to total degree 21.
  942. hexahedron_jaskowiec_rule_test
  943. hexahedron_witherden_rule, an Octave code which returns a symmetric Witherden quadrature rule for the hexahedron, with exactness up to total degree 11.
  944. hexahedron_witherden_rule_test
  945. high_card_simulation, an Octave 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.
  946. high_card_simulation_test
  947. hilbert_curve, an Octave code which computes the sequence of discrete Hilbert curves whose limit is a space-filling curve.
  948. hilbert_curve_test
  949. hilbert_curve_display, an Octave code which plots a Hilbert curve of given order.
  950. hilbert_curve_display_test
  951. histogram_data_2d_sample, an Octave 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.
  952. histogram_data_2d_sample_test
  953. histogram_discrete, an Octave code which tries to make a histogram of data without using bins.
  954. histogram_discrete_test
  955. histogram_pdf, an Octave code which creates a histogram plot of a set of data, normalized to estimate the probability density function (PDF).
  956. histogram_pdf_test
  957. histogram_pdf_2d_sample, an Octave code which demonstrates how uniform sampling of a 2D region with respect to some known Probability Density Function (PDF) can be approximated by decomposing the region into rectangles, approximating the PDF by a piecewise constant (PWC) function, constructing a histogram for the CDF, and then sampling.
  958. histogram_pdf_2d_sample_test
  959. histogramize, an Octave code which takes a vector of data and organizes it into a histogram of a given number of bins with given width and range, to be displayed as a bar chart.
  960. histogramize_test
  961. hits, an Octave code which uses the HITS algorithm to assign authority and hub indices to a set of nodes in a directed network.
  962. hits_test
  963. house, an Octave code which includes a line segment outline of a house, and some programs to show how linear transformations affect the shape, by Cleve Moler.
  964. house_test
  965. human_data, an Octave code which starts with an image of simple outline of a human body, tabulates a sequence of points on the outline, creating numerical data defining the boundary. It is then able to fill the region with mesh points and triangulate the region. This allows the region to be analyzed by the finite element method (FEM).
  966. human_data_test
  967. humps, an Octave code which evaluates the humps() function, its first and second derivatives and its antiderivative.
  968. humps_test
  969. humps_ode, an Octave code which sets up and solves an ordinary differential equation (ODE) whose solution is a double hump curve.
  970. humps_ode_test
  971. hyper_2f1, an Octave code which evaluates the hypergeometric functions 2F1(a,b,c;x) for real parameters a, b, c and argument x. This function is simply a wrapper for the Gnu Scientific Library function gsl_sf_hyperg_2F1().
  972. hyper_2f1_test
  973. hyperball_distance, an Octave code which computes the expected value of the distance between a pair of points randomly selected from the interior of the unit hyperball in M dimensions.
  974. hyperball_distance_test
  975. hyperball_integrals, an Octave code which returns the exact value of the integral of any monomial over the interior of the unit hyperball in M dimensions.
  976. hyperball_integrals_test
  977. hyperball_monte_carlo, an Octave code which applies a Monte Carlo method to estimate the integral of a function over the interior of the unit ball in M dimensions;
  978. hyperball_monte_carlo_test
  979. hyperball_positive_distance, an Octave code which computes the expected value of the distance between a pair of points randomly selected from the interior of the unit positive hyperball in M dimensions.
  980. hyperball_positive_distance_test
  981. hypercube_distance, an Octave code which estimates the expected value of the distance between a pair of points randomly selected in the M-dimensional unit hypercube.
  982. hypercube_distance_test
  983. hypercube_exactness, an Octave code which tests the polynomial exactness of a quadrature rule over the interior of the unit hypercube in M dimensions.
  984. hypercube_exactness_test
  985. hypercube_grid, an Octave code which computes a grid of points over the interior of a hypercube in M dimensions.
  986. hypercube_grid_test
  987. hypercube_integrals, an Octave code which returns the exact value of the integral of any monomial over the interior of the unit hypercube in M dimensions.
  988. hypercube_integrals_test
  989. hypercube_monte_carlo, an Octave code which applies a Monte Carlo method to estimate the integral of a function over the interior of the unit hypercube in M dimensions.
  990. hypercube_monte_carlo_test
  991. hypercube_surface_distance, an Octave code which estimates the expected value of the distance between a pair of points randomly selected on the surface of the unit hypercube in D dimensions.
  992. hypercube_surface_distance_test
  993. hypersphere, an Octave 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.
  994. hypersphere_test
  995. hypersphere_angle_distance, an Octave code which considers the problem of describing the typical value of the angle between a pair of points randomly selected on the unit hypersphere in M dimensions. Since by symmetry, this will be zero, we instead look at the average of the absolute value of the dot product, and the corresponding angle. In dimension 1, we have average dot product of 1, and angle 0. As the dimension increases, the average dot product rapidly decreases to 0, while the average angle goes to 90 degrees.
  996. hypersphere_angle_distance_test
  997. hypersphere_distance, an Octave code which computes the expected value of the distance between a pair of points randomly selected on the surface of the unit hypersphere in M dimensions.
  998. hypersphere_distance_test
  999. hypersphere_integrals, an Octave code which returns the exact value of the integral of any monomial over the surface of the unit hypersphere in M dimensions.
  1000. hypersphere_integrals_test
  1001. hypersphere_monte_carlo, an Octave code which applies a Monte Carlo method to estimate the integral of a function on the surface of the unit sphere in M dimensions;
  1002. hypersphere_monte_carlo_test
  1003. hypersphere_positive_distance, an Octave code which computes the expected value of the distance between a pair of points randomly selected on the surface of the unit positive hypersphere in M dimensions.
  1004. hypersphere_positive_distance_test
  1005. i4lib, an Octave code which contains many utility routines, using single precision integer (I4) arithmetic.
  1006. i4lib_test
  1007. i4mat_rref2, an Octave code which computes a version of the reduced row echelon form of an integer matrix.
  1008. i4mat_rref2_test
  1009. image_mesh, an Octave code which starts with a list of points that bound some region, and calls mesh2d() to create a mesh of the interior.
  1010. image_mesh_test
  1011. image_sample, an Octave code which allows the user to specify an image file to be displayed. The user may then use the mouse to select points on the image. The coordinates of each point are saved to a file. Selection ends with a RETURN. An example is supplied, which outlines the boundary of an aneurysm.
  1012. image_sample_test
  1013. index, an Octave code which converts an M-dimensional vector index to a one-dimensional vector index; it handles zero and one based indexing schemes, as well as column major and row major conventions.
  1014. index_test
  1015. insurance_simulation, an Octave code which simulates a highly simplified model of term life insurance, in which a customer agrees to pay an annual fee for a given number of years, so that if the customer dies within that term, the family receives a large payout.
  1016. insurance_simulation_test
  1017. interp, an Octave code which parameterizes and interpolates data;
  1018. interp_test
  1019. is_gaussian_prime, an Octave code which is true if a given complex number c is a Gaussian prime.
  1020. is_gaussian_prime_test
  1021. is_prime, an Octave code which implements various versions of the sieve of Eratosthenes to determine whether a given integer is prime.
  1022. is_prime_test
  1023. isbn, an Octave code which determines the check digit for an International Standard Book Number (ISBN) or reports whether a given ISBN is valid.
  1024. isbn_test
  1025. ising_2d_simulation, an Octave code which simulates the evolution of a 2D array of positive and negative charges, each of which is likely to flip to be in agreement with neighbors.
  1026. ising_2d_simulation_test
  1027. jaccard_distance, an Octave code which computes the Jaccard distance between two sets.
  1028. jaccard_distance_test
  1029. jacobi, an Octave code which implements the Jacobi iteration for the iterative solution of linear systems.
  1030. jacobi_test
  1031. jacobi_eigenvalue, an Octave code which implements the Jacobi iteration for the iterative determination of the eigenvalues and eigenvectors of a real symmetric matrix.
  1032. jacobi_eigenvalue_test
  1033. jacobi_exactness, an Octave code which tests the polynomial exactness of rules for integrals with a Jacobi weight function.
  1034. jacobi_exactness_test
  1035. jacobi_poisson_1d, an Octave code which uses Jacobi iteration to solve the linear system for a discretized steady 1D Poisson equation.
  1036. jacobi_poisson_1d_test
  1037. jacobi_polynomial, an Octave code which evaluates the Jacobi polynomial and associated functions.
  1038. jacobi_polynomial_test
  1039. jacobi_rule, an Octave code which computes and writes out a Gauss-Jacobi quadrature rule of given order.
  1040. jacobi_rule_test
  1041. jai_alai_simulation, an Octave code which simulates matches of jai alai.
  1042. jai_alai_simulation_test
  1043. jordan_matrix, an Octave code which returns a random matrix in Jordan canonical form.
  1044. jordan_matrix_test
  1045. julia_set, an Octave code which computes and plots a Julia set, the set of points in the complex plane that remain bounded under a mapping of the form f(z) = z^2+c.
  1046. julia_set_test
  1047. kdv_etdrk4, an Octave code which uses the ETDRK4 method to solve the Korteweg-deVries (KdV) partial differential equation (PDE), by Aly-Khan Kassam, Lloyd Trefethen.
  1048. kdv_etdrk4_test
  1049. kdv_exact, an Octave code which evaluates an exact solution of the Korteweg-deVries (KdV) partial differential equation (PDE).
  1050. kdv_exact_test
  1051. kdv_ift, an Octave code which uses the Inverse Fourier Transform (IFT) method to solve the Korteweg-deVries (KdV) partial differential equation (PDE), by Aly-Khan Kassam, Lloyd Trefethen.
  1052. kdv_ift_test
  1053. kelley, an Octave code which implements iterative methods for linear and nonlinear problems, including Arnoldi iteration, Broyden's method, conjugate gradient, GMRES, Krylov iteration, Newton-Krylov nonlinear solver, line search for minimization, transpose-free quasi-minimal residual solver for sparse linear systems, by Tim Kelley.
  1054. kelley_test
  1055. kepler_ode, an Octave code which sets up and solves the ordinary differential equations (ODE) for a Kepler two-body gravitational system.
  1056. kepler_ode_test
  1057. kepler_perturbed_ode, an Octave code which sets up and solves the ordinary differential equations (ODE) for a perturbed Kepler two-body gravitational system.
  1058. kepler_perturbed_ode_test
  1059. keyword_test, an Octave code which accepts named keywords, using the Name/Value paired argument convention.
  1060. kmeans, an Octave code which handles the K-Means problem, which organizes a set of N points in M dimensions into K clusters;
  1061. kmeans_test
  1062. kmeans_fast, an Octave code which contains several different algorithms for the K-Means problem, which organizes a set of N points in M dimensions into K clusters, by Charles Elkan.
  1063. kmeans_fast_test
  1064. knapsack_01_brute, an Octave code which uses brute force to solve small versions of the 0/1 knapsack problem;
  1065. knapsack_01_brute_test
  1066. knapsack_dynamic, an Octave code which uses dynamic programming to solve a knapsack problem.
  1067. knapsack_dynamic_test
  1068. knapsack_greedy, an Octave code which uses a greedy algorithm to estimate a solution of the knapsack problem;
  1069. knapsack_greedy_test
  1070. kronrod_rule, an Octave code which computes a Gauss and Gauss-Kronrod pair of quadrature rules of arbitrary order, by Robert Piessens, Maria Branders.
  1071. kronrod_rule_test
  1072. lagrange_approx_1d, an Octave 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)).
  1073. lagrange_approx_1d_test
  1074. lagrange_basis_display, an Octave code which displays the basis functions associated with a given set of nodes used with the Lagrange interpolation scheme.
  1075. lagrange_basis_display_test
  1076. lagrange_interp_1d, an Octave 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).
  1077. lagrange_interp_1d_test
  1078. lagrange_interp_2d, an Octave 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).
  1079. lagrange_interp_2d_test
  1080. lagrange_interp_nd, an Octave code which defines and evaluates the Lagrange polynomial p(x) which interpolates a set of data depending on an M dimensional argument that was evaluated on a product grid, so that p(x(i)) = z(i).
  1081. lagrange_interp_nd_test
  1082. lagrange_nd, an Octave code which implements several multivariate Lagrange interpolation schemes developed by Tomas Sauer.
  1083. lagrange_nd_test
  1084. laguerre_exactness, an Octave code which tests the polynomial exactness of Gauss-Laguerre quadrature rules for integrating functions with density exp(-x) over [0,+oo).
  1085. laguerre_exactness_test
  1086. laguerre_integrands, an Octave code which implements test problems for approximate integration over a semi-infinite interval, often carried out using Gauss-Laguerre quadrature.
  1087. laguerre_integrands_test
  1088. laguerre_polynomial, an Octave code which evaluates the Laguerre polynomial, the generalized Laguerre polynomials, and the Laguerre function.
  1089. laguerre_polynomial_test
  1090. laguerre_product, an Octave code which computes weighted integrals of products of Laguerre polynomials.
  1091. laguerre_product_test
  1092. laguerre_rule, an Octave code which computes and prints a Gauss-Laguerre quadrature rule of a given order for estimating the integral of a function with density exp(-x) over the interval [0,+oo).
  1093. laguerre_rule_test
  1094. lambert_w, an Octave code which evaluates Lambert's W function.
  1095. lambert_w_test
  1096. langford_ode, an Octave code which sets up and solves the Langford system of ordinary differential equations (ODE).
  1097. langford_ode_test
  1098. laplace_periodic_test, an Octave code which plots data from the solution of the Laplace equation in a square with periodic boundary conditions, computed by FreeFem++() and transferred using the ffmatlib() library.
  1099. laplacian, an Octave 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.
  1100. laplacian_test
  1101. latin_center, an Octave code which computes N points in an M dimensional Latin Center square;
  1102. latin_center_test
  1103. latin_cover, an Octave code which produces N Latin squares which cover an NxN square, or NxN Latin cubes which cover an NxNxN cube.
  1104. latin_cover_test
  1105. latin_edge, an Octave code which returns N points in an M dimensional Latin Edge square;
  1106. latin_edge_test
  1107. latin_random, an Octave code which returns N points in an M dimensional Latin Random square;
  1108. latin_random_test
  1109. latinize, an Octave code which adjusts N points in M dimensions to form a Latin hypercube;
  1110. latinize_test
  1111. lattice_rule, an Octave code which returns lattice rules for M dimensional integration;
  1112. lattice_rule_test
  1113. leapfrog, an Octave code which uses the leapfrog method to solve a second order ordinary differential equation (ODE) of the form y''=f(t,y).
  1114. leapfrog_test
  1115. least_squares_approximant, an Octave code which finds a polynomial approximant to data using linear least squares (LLS).
  1116. least_squares_approximant_test
  1117. lebesgue, an Octave code which is given nodes in 1D, plots the Lebesgue function, and estimates the Lebesgue constant, which measures the maximum magnitude of the potential error of Lagrange polynomial interpolation.
  1118. lebesgue_test
  1119. legendre_exactness, an Octave 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].
  1120. legendre_exactness_test
  1121. legendre_fast_rule, an Octave code which uses a fast (order N) algorithm to compute a Gauss-Legendre quadrature rule of given order.
  1122. legendre_fast_rule_test
  1123. legendre_polynomial, an Octave code which evaluates the Legendre polynomial and associated functions.
  1124. legendre_polynomial_test
  1125. legendre_product, an Octave code which computes weighted integrals of products of Legendre polynomials.
  1126. legendre_product_test
  1127. legendre_product_display, an Octave code which displays the points used in a 2D Gauss-Legendre quadrature rule;
  1128. legendre_product_display_test
  1129. legendre_product_polynomial, an Octave code which defines Legendre product polynomials, creating a multivariate polynomial as the product of univariate Legendre polynomials.
  1130. legendre_product_polynomial_test
  1131. legendre_rule, an Octave code which writes out a Gauss-Legendre quadrature rule of given order.
  1132. legendre_rule_test
  1133. legendre_shifted_polynomial, an Octave code which evaluates the shifted Legendre polynomial, with the domain [0,1].
  1134. legendre_shifted_polynomial_test
  1135. levenshtein_distance, an Octave code which returns the Levenshtein distance between two strings.
  1136. levenshtein_distance_test
  1137. levenshtein_matrix, an Octave code which returns the Levenshtein distance matrix defined by two strings.
  1138. levenshtein_matrix_test
  1139. lindberg_exact, an Octave code which evaluates the exact solution of the Lindberg ordinary differential equations (ODE), a system that is extremely difficult to solve accurately.
  1140. lindberg_exact_test
  1141. lindberg_ode, an Octave code which sets up and solves a system of 4 ordinary differential equations (ODE) which are very stiff.
  1142. lindberg_ode_test
  1143. line_cvt_lloyd, an Octave 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.
  1144. line_cvt_lloyd_test
  1145. line_distance, an Octave code which computes the expected value of the distance between a pair of points randomly selected in the unit line segment.
  1146. line_distance_test
  1147. line_fekete_rule, an Octave code which estimates the location of N Fekete points, for polynomial interpolation or quadrature, over the interior of a line segment in 1D.
  1148. line_fekete_rule_test
  1149. line_felippa_rule, an Octave code which returns a Felippa quadrature rules for approximating integrals over the interior of a line segment in 1D.
  1150. line_felippa_rule_test
  1151. line_grid, an Octave code which computes a grid of points over the interior of a line segment in 1D.
  1152. line_grid_test
  1153. line_integrals, an Octave code which returns the exact value of the integral of any monomial over the length of the unit line in 1D.
  1154. line_integrals_test
  1155. line_monte_carlo, an Octave code which applies a Monte Carlo method to estimate the integral of a function over the length of the unit line in 1D.
  1156. line_monte_carlo_test
  1157. line_ncc_rule, an Octave code which computes a Newton Cotes Closed (NCC) quadrature rule, using equally spaced points, over the interior of a line segment in 1D.
  1158. line_ncc_rule_test
  1159. line_nco_rule, an Octave code which computes a Newton Cotes Open (NCO) quadrature rule, using equally spaced points, over the interior of a line segment in 1D.
  1160. line_nco_rule_test
  1161. linear_algebra, an Octave code which carries out various linear algebra operations for matrices stored in a variety of formats.
  1162. linpack_d, an Octave code which factors and solves linear systems using real 64 bit arithmetic, by Jack Dongarra, Jim Bunch, Cleve Moler, Pete Stewart. The matrix and vector data is assumed to be real.
  1163. linpack_d_test
  1164. linpack_z, an Octave code which factors and solves linear systems using complex 64 bit arithmetic, by Jack Dongarra, Jim Bunch, Cleve Moler, Pete Stewart. The matrix and vector data is assumed to be complex.
  1165. linpack_z_test
  1166. lissajous, an Octave code which plots a Lissajous figure, of the form x = sin ( a1 t + b1 ), y = sin ( a2 t + b2 ).
  1167. lissajous_test
  1168. llsq, an Octave code which solves the linear least squares (LLS) problem. It finds the "best" straight line to match a set of data points. More precisely, it finds the quantities "a" and "b" defining the straight line y=a*x+b, which minimizes the root-mean-square (RMS) error to the data.
  1169. llsq_test
  1170. load_test, an Octave code which calls the load() function, which reads data from a file into a variable.
  1171. lobatto_polynomial, an Octave code which evaluates Lobatto polynomials similar to Legendre polynomials except that they are 0 at both endpoints.
  1172. lobatto_polynomial_test
  1173. local_min, an Octave code which finds a local minimum of a scalar function of a scalar variable, without the use of derivative information, by Richard Brent.
  1174. local_min_test
  1175. local_min_rc, an Octave 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.
  1176. local_min_rc_test
  1177. locker_simulation, an Octave code which simulates the locker problem, in which gym users have left their wallets in lockers; someone has scrambled all the lockers, and the gym users need a strategy that maximizes the chance that everyone will find their wallet by searching a limited number of lockers.
  1178. locker_simulation_test
  1179. log_norm, an Octave code which computes the logarithmic norm of a matrix, for norms 1, 2 and oo.
  1180. log_norm_test
  1181. log_normal, an Octave code which returns quantities related to the log normal Probability Distribution Function (PDF).
  1182. log_normal_test
  1183. log_normal_truncated_ab, an Octave code which returns quantities related to the log normal Probability Distribution Function (PDF) truncated to the interval [a,b].
  1184. log_normal_truncated_ab_test
  1185. logistic_bifurcation, an Octave code which plots the bifurcation diagram for the logistic equation, by John D Cook.
  1186. logistic_bifurcation_test
  1187. logistic_exact, an Octave 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.
  1188. logistic_exact_test
  1189. logistic_ode, an Octave code which sets up and solves an ordinary differential equation (ODE) which models population growth in the face of a limited carrying capacity.
  1190. logistic_ode_test
  1191. lorenz_ode, an Octave code which sets up and solves the Lorenz system of ordinary differential equations (ODE).
  1192. lorenz_ode_test
  1193. luhn, an Octave code which computes the Luhn check digit for a string, and validates a string.
  1194. luhn_test
  1195. machar, an Octave code which computes the appropriate values of arithmetic constants for a given machine, by William Cody.
  1196. machar_test
  1197. machine, an Octave code which returns values of arithmetic constants for a given machine.
  1198. machine_test
  1199. magic_matrix, an Octave code which computes a magic matrix, for any odd order n, such that all rows and columns have the same sum.
  1200. magic_matrix_test
  1201. mandelbrot, an Octave code which generates an image of the Mandelbrot set;
  1202. mandelbrot_test
  1203. mandelbrot_orbit, an Octave code which generates the Mandelbrot iterates arising from a single starting point;
  1204. mandelbrot_orbit_test
  1205. maple_area, an Octave code which takes the list of pixels that form the boundary of the image of a maple leaf within a picture, and uses grid, Monte Carlo, and Quasi Monte Carlo (QMC) sampling to estimate the area of the leaf.
  1206. maple_area_test
  1207. mario, an Octave code which creates a sort of "needlepoint" image of Mario, as an array of colored squares.
  1208. mario_test
  1209. markov_letters, an Octave code which counts the occurences of letter pairs in a text.
  1210. markov_letters_test
  1211. matrix_analyze, an Octave code which reports whether a matrix has various properties.
  1212. matrix_analyze_test
  1213. matrix_chain_brute, an Octave code which finds the cost of the most efficient ordering to use when multiplying a sequence of matrices, using brute force.
  1214. matrix_chain_brute_test
  1215. matrix_chain_dynamic, an Octave code which finds the cost of the most efficient ordering to use when multiplying a sequence of matrices, using dynamic programming..
  1216. matrix_chain_dynamic_test
  1217. matrix_exponential, an Octave code which computes the exponential of a matrix.
  1218. matrix_exponential_test
  1219. mcnuggets, an Octave code which counts M(N), the number of ways a given number N of Chicken McNuggets can be assembled, given that they are only available in packages of 6, 9, and 20.
  1220. mcnuggets_test
  1221. mcnuggets_diophantine, an Octave code which uses Diophantine methods to find the ways a given number N of Chicken McNuggets can be assembled, given that they are only available in packages of 6, 9, and 20.
  1222. mcnuggets_diophantine_test
  1223. md, an Octave code which carries out a molecular dynamics simulation, and is intended as a starting point for implementing a parallel version.
  1224. md_test
  1225. md_fast, an Octave code which carries out a molecular dynamics simulation; it is a version of md() that has been revised to take advantage of vectorization.
  1226. md_fast_test
  1227. medit_mesh_io, an Octave code which reads or writes medit() MESH files defining a finite element mesh.
  1228. medit_mesh_io_test
  1229. medit_to_fem, an Octave code which reads a medit() MESH file and writes a corresponding pair of node and element files that correspond to the FEM format.
  1230. medit_to_fem_test
  1231. memory, an Octave code which declares and uses a sequence of larger and larger arrays, to see what the memory limits are on a given computer.
  1232. memory_test
  1233. mesh_bandwidth, an Octave code which returns the geometric bandwidth associated with a mesh of elements of any order and in a space of M dimensions.
  1234. mesh_bandwidth_test
  1235. mesh_boundary, an Octave code which is given a mesh of a 2D region, formed by polygonal elements, and determines a sequence of pairs of polygonal vertices that define the boundary of the region.
  1236. mesh_boundary_test
  1237. mesh_display, an Octave code which plots the nodes and elements of a polygonal mesh, with optional numbering.
  1238. mesh_display_test
  1239. mesh_etoe, an Octave code which uses ETOV, the mesh element-to-vertex connectivity, to construct ETOE, the element-to-element connectivity.
  1240. mesh_etoe_test
  1241. mesh_vtoe, an Octave code which uses ETOV, the mesh element-to-vertex connectivity, to construct VTOE, the vertex-to-element connectivity.
  1242. mesh_vtoe_test
  1243. mesh2d, an Octave code which automatically creates a triangular mesh for a given polygonal region, by Darren Engwirda.
  1244. mesh2d_test
  1245. mesh2d_to_medit, an Octave code which accepts the nodes and triangles of a mesh created by mesh2d() and creates a corresponding medit() MESH file.
  1246. mesh2d_to_medit_test
  1247. mesh2d_write, an Octave code which writes mesh2d() node and element data to files.
  1248. mesh2d_write_test
  1249. mgmres, an Octave 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.
  1250. mgmres_test
  1251. mgs, an Octave code which is an obscure legacy code, which the student is encouraged to study, understand, and document. This example is due to Diane O'Leary.
  1252. mgs_test
  1253. middle_square, an Octave 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.
  1254. middle_square_test
  1255. midpoint, an Octave code which solves one or more ordinary differential equations (ODE) using the (implicit) midpoint method.
  1256. midpoint_test
  1257. midpoint_adaptive, an Octave 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.
  1258. midpoint_adaptive_test
  1259. midpoint_explicit, an Octave code which solves one or more ordinary differential equations (ODE) using the (explicit) midpoint method, also called the modified Euler method.
  1260. midpoint_explicit_test
  1261. midpoint_fixed, an Octave code which solves one or more ordinary differential equations (ODE) using the (implicit) midpoint method, using a simple fixed-point iteration to solve the implicit equation.
  1262. midpoint_fixed_test
  1263. mm_io, an Octave code which reads and writes sparse linear systems stored in the Matrix Market (MM) format.
  1264. mm_io_test
  1265. mm_to_hb, an Octave code which reads the sparse matrix information from an Matrix Market (MM) file and writes a corresponding Harwell Boeing (HB) file.
  1266. mm_to_hb_test
  1267. mm_to_msm, an Octave code which reads a Matrix Market (MM) file defining a sparse matrix, and creates a corresponding matrix in MATLAB sparse matrix (MSM) format.
  1268. mm_to_msm_test
  1269. mm_to_st, an Octave code which reads the sparse matrix information from a Matrix Market (MM) file and writes a corresponding Sparse Triplet (ST) file.
  1270. mm_to_st_test
  1271. monoalphabetic, an Octave code which applies a monoalphabetic substitution cipher to a string of text.
  1272. monoalphabetic_test
  1273. monomial, an Octave 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.
  1274. monomial_test
  1275. monomial_symmetrize, an Octave code which symmetrizes the coefficients of equivalent monomials in a polynomial.
  1276. monomial_symmetrize_test
  1277. monomial_value, an Octave code which evaluates a monomial in M dimensions.
  1278. monomial_value_test
  1279. monopoly_matrix, an Octave code which computes the adjacency and transition matrices for the game of Monopoly.
  1280. monopoly_matrix_test
  1281. monty_hall_simulation, an Octave code which simulates the "Let's Make a Deal" game in which Monty Hall has hidden a prize behind one of several doors, and the user wins the prize if the correct door is selected.
  1282. monty_hall_simulation_test
  1283. mortality, an Octave code which processes some sample mortality data.
  1284. mortality_test
  1285. msm_to_hb, an Octave code which writes a MATLAB sparse matrix (MSM) to a Harwell Boeing (HB) file;
  1286. msm_to_hb_test
  1287. msm_to_mm, an Octave code which writes a MATLAB sparse matrix (MSM) to a Matrix Market (MM) file;
  1288. msm_to_mm_test
  1289. msm_to_st, an Octave code which writes a MATLAB sparse matrix (MSM) to a Sparse Triplet (ST) file;
  1290. msm_to_st_test
  1291. mxm, an Octave 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.
  1292. mxm_test
  1293. naca, an Octave code which takes the parameters of certain NACA airfoils and returns the coordinates of a sequence of points that outline the wing shape. The shape can be displayed graphically.
  1294. naca_test
  1295. nas, an Octave code which runs the NASA kernel benchmark.
  1296. nas_test
  1297. navier_stokes_2d_exact, an Octave code which evaluates an exact solution to the incompressible time-dependent Navier-Stokes equations (NSE) over an arbitrary domain in 2D.
  1298. navier_stokes_2d_exact_test
  1299. navier_stokes_3d_exact, an Octave code which evaluates an exact solution to the incompressible time-dependent Navier-Stokes equations (NSE) over an arbitrary domain in 3D.
  1300. navier_stokes_3d_exact_test
  1301. navier_stokes_mesh2d, an Octave code which handles meshes for several 2D test problems involving the Navier Stokes equations (NSE) for fluid flow, provided by Leo Rebholz.
  1302. navier_stokes_mesh2d_test
  1303. navier_stokes_mesh3d, an Octave code which handles meshes for several 3D test problems involving the Navier Stokes equations (NSE) for fluid flow, provided by Leo Rebholz.
  1304. navier_stokes_mesh3d_test
  1305. ncm, an Octave code which accompanies the textbook "Numerical Computing with MATLAB", by Cleve Moler, and illustrates algorithms for the 3n+1 problem, blackjack, eigenvalue computations, fast Fourier transforms, Fibonacci numbers, file encryption, the flame differential equation, the fractal fern, the Lorenz differential equation, a membrane partial differential equation, minimization of a scalar function, ordinary differential equations, the pendulum differential equation, piecewise cubic Hermite interpolation, polynomial interpolation, quadrature for approximate integration, random number generation, tridiagonal linear system solution, the singular value decomposition, solution of a nonlinear equation.
  1306. ncm_test
  1307. nearest_interp_1d, an Octave code which interpolates a set of data using a piecewise constant (PWC) interpolant defined by the nearest neighbor criterion.
  1308. nearest_interp_1d_test
  1309. neighbor_risk, an Octave code which records information about neighboring pairs of territories in the game of RISK.
  1310. neighbor_risk_test
  1311. neighbor_states, an Octave code which records information about pairs of US states which are neighbors.
  1312. neighbor_states_test
  1313. neural_network, an Octave code which illustrates the use of neural networks for deep learning, using back propagation and stochastic gradient descent, by Catherine Higham and Desmond Higham.
  1314. neural_network_test
  1315. newton_interp_1d, an Octave code which finds a polynomial interpolant to data using Newton divided differences.
  1316. newton_interp_1d_test
  1317. newton_rc, an Octave code which solves a system of nonlinear equations by Newton's method, using reverse communication (RC).
  1318. newton_rc_test
  1319. niederreiter2, an Octave code which computes the Niederreiter M dimensional Quasi Mont Carlo (QMC) sequence, base 2;
  1320. niederreiter2_test
  1321. nintlib, an Octave code which implements approximate integration (quadrature) in M dimensions;
  1322. nintlib_test
  1323. normal, an Octave code which implements normal random number generators (RNG) for real and complex arithmetic, for scalars, vectors, and matrices.
  1324. normal_test
  1325. normal_dataset, an Octave code which creates a multivariate normal random dataset and writes it to a file.
  1326. normal_dataset_test
  1327. normal_ode, an Octave code which sets up and solves an ordinary differential equation (ODE) defining the normal probability density function (PDF).
  1328. normal_ode_test
  1329. normal01_multivariate_distance, an Octave code which computes the expected value of the distance between a pair of points randomly selected from an isotropic standard normal distribution in M dimensions.
  1330. normal01_multivariate_distance_test
  1331. numgrid, an Octave code which defines and numbers a subset of the nodes in a regular nxn grid of the [-1,+1]x[-1,+1] unit square.
  1332. numgrid_test
  1333. obj_display, an Octave code which displays an OBJ 3D graphics file;
  1334. obj_display_test
  1335. obj_io, an Octave code which reads and writes the data in an OBJ 3D graphics file;
  1336. obj_io_test
  1337. obj_to_tri_surface, an Octave code which reads an OBJ 3D graphics file and extracts the surface mesh data as a TRI_SURFACE dataset.
  1338. obj_to_tri_surface_test
  1339. octave_combinatorics, an Octave code which considers a variety of problems in combinatorics involving counting, combinations, permutations, and so on.
  1340. octave_distance, an Octave code which estimates the typical distance between a pair of points randomly selected from the surface or interior of a geometric object such as a circle, disk, sphere, cube.
  1341. octave_exact, an Octave code which evaluates exact solutions to a few selected examples of ordinary differential equations (ODE) and partial differential equations (PDE).
  1342. octave_grid, an Octave code which generates a regular grid of points inside a variety of regions in one, two, three or many dimensions.
  1343. octave_monte_carlo, an Octave code which uses Monte Carlo sampling to estimate areas and integrals.
  1344. octave_ode, an Octave code which sets up various systems of ordinary differential equations (ODE).
  1345. octave_plots, an Octave code which uses plotting to illustrate a mathematical structure, such as an iterative map, a fractal, a curve or surface.
  1346. octave_polynomial, an Octave code which analyzes a variety of polynomial families, returning the polynomial values, coefficients, derivatives, integrals, roots, or other information.
  1347. octave_simulation, an Octave 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.
  1348. octopus, an Octave code which contains some Octave-specific utilities.
  1349. octopus_test
  1350. ode23_test, an Octave code which calls ode23(), which is a built-in function for the adaptive solution of systems of ordinary differential equations (ODE) using a pair of Runge-Kutta solvers of orders 2 and 3.
  1351. ode45_test, an Octave code which calls ode45(), which is a built-in function for the adaptive solution of systems of ordinary differential equations (ODE) using a pair of Runge-Kutta solvers of orders 4 and 5.
  1352. oregonator_ode, an Octave code which sets up and solves the ordinary differential equations (ODE) that define the Oregonator, a model of the Belousov-Zhabotinsky chemical reaction.
  1353. oregonator_ode_test
  1354. ornstein_uhlenbeck, an Octave code which approximates solutions of the Ornstein-Uhlenbeck stochastic differential equation (SDE) using the Euler method, the Euler-Maruyama method, and the Milstein method.
  1355. ornstein_uhlenbeck_test
  1356. oscillator_ode, an Octave code which sets up and solves the highly oscillatory ordinary differential equation (ODE).
  1357. oscillator_ode_test
  1358. owen, an Octave code which evaluates the Owen T function.
  1359. owen_test
  1360. ozone_ode, an Octave code which sets up and solves a stiff system of four ordinary differential equations (ODE) that simulate the daily variation in atmospheric ozone concentration.
  1361. ozone_ode_test
  1362. ozone2_ode, an Octave code which sets up and solves a stiff system of four ordinary differential equations (ODE) that simulate the daily variation in atmospheric ozone concentration. This version of the ozone ODE includes a nitrogen oxide source term.
  1363. ozone2_ode_test
  1364. padua, an Octave code which returns the coordinates of the 2D Padua points, as well as interpolation weights or quadrature weights, and images of the points.
  1365. padua_test
  1366. pagerank, an Octave code which uses the eigenvalue (power method) and surfer (Markov Chain Monte Carlo MCMC) approaches to ranking web pages.
  1367. pagerank_test
  1368. pagerank2, an Octave code which considers a specific application of the page rank algorithm.
  1369. pagerank2_test
  1370. pariomino, an Octave code which considers pariominoes, which are polyominoes with a checkerboard parity.
  1371. pariomino_test
  1372. partial_digest, an Octave code which seeks solutions of the partial digest problem.
  1373. partial_digest_test
  1374. partition_brute, an Octave 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.
  1375. partition_brute_test
  1376. partition_greedy, an Octave code which uses a greedy algorithm to seek a solution of the partition problem, in which a given set of integers is to be split into two groups whose sums are as close as possible.
  1377. partition_greedy_test
  1378. patterson_rule, an Octave 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.
  1379. patterson_rule_test
  1380. pbma_io, an Octave code which reads or writes graphics files that use the ASCII Portable Bit Map (PBM) format.
  1381. pbma_io_test
  1382. pce_burgers, an Octave code which solves a version of the time-dependent viscous Burgers equation, with uncertain viscosity, using a polynomial chaos expansion (PCE) in terms of Hermite polynomials, by Gianluca Iaccarino.
  1383. pce_burgers_test
  1384. pce_legendre, an Octave code which sets up the system matrix for a polynomial chaos expansion (PCE), using Legendre polynomials with a linear factor, applied to a 2D partial differential equation (PDE) with a stochastic diffusion coefficient.
  1385. pce_legendre_test
  1386. pce_ode_hermite, an Octave code which sets up a simple scalar ordinary differential equation (ODE) for exponential decay with an uncertain decay rate, using a polynomial chaos expansion (PCE) in terms of Hermite polynomials.
  1387. pce_ode_hermite_test
  1388. pdflib, an Octave 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.
  1389. pdflib_test
  1390. pendulum_comparison_ode, an Octave code which compares the linear and nonlinear ordinary differential equations (ODE) that represent the behavior of a pendulum of length L under a gravitational force of strength G.
  1391. pendulum_comparison_ode_test
  1392. pendulum_double_ode, an Octave code which sets up and solves the double pendulum ordinary differential equation (ODE).
  1393. pendulum_double_ode_test
  1394. pendulum_elastic_ode an Octave code which sets up and solves the ordinary differential equations (ODE) that represent the behavior of a nonlinear elastic pendulum, with gravitational force G, spring constant K, unstretched length L, and mass M.
  1395. pendulum_elastic_ode_test
  1396. pendulum_nonlinear_exact, an Octave code which evaluates an exact formula for the solution of the the ordinary differential equations (ODE) that represent the behavior of a nonlinear pendulum of length L under a gravitational force of strength G.
  1397. pendulum_nonlinear_exact_test
  1398. pendulum_nonlinear_ode, an Octave code which sets up and solves the ordinary differential equations (ODE) that represent a nonlinear model of the behavior of a pendulum of length L under a gravitational force of strength G.
  1399. pendulum_nonlinear_ode_test
  1400. pendulum_ode, an Octave code which sets up and solves the ordinary differential equations (ODE) that represent a linear model of the behavior of a pendulum of length L under a gravitational force of strength G.
  1401. pendulum_ode_test
  1402. pendulum_ode_period, an Octave code which sets up and solves a system of ordinary differential equations (ODE) that represent the behavior of a linear pendulum of length L under a gravitational force of strength G, in order to estimate the period of oscillation.
  1403. pendulum_ode_period_test
  1404. pentominoes, an Octave code which forms or plots any of the 12 members of the pentomino family, shapes formed from 5 adjacent squares.
  1405. pentominoes_test
  1406. perceptron_test, an Octave code which calculates a classifier of linearly separable data using the perceptron algorithm.
  1407. percolation_simulation, an Octave code which simulates a percolation system. A rectangular region is decomposed into a grid of MxN squares. Each square may be porous or solid. We are interested in a path of porous squares connecting the top and bottom, or the left and right boundaries. The original code was written by Ian Cooper.
  1408. percolation_simulation_test
  1409. permutation_distance, an Octave code which estimates the expected value of the Ulam distance between a pair of randomly selected permutations of the same order.
  1410. permutation_distance_test
  1411. persistence, an Octave code which demonstrates how to initialize, get, or set data stored within a function, using static/persistent/saved/local memory.
  1412. persistence_test
  1413. pgma_io, an Octave code which reads or writes graphics files that use the ASCII Portable Gray Map (PGM) format.
  1414. pgma_io_test
  1415. pi_spigot, an Octave code which produces any number of digits of the decimal expansion of pi.
  1416. pi_spigot_test
  1417. pic, an Octave code which uses the Particle In Cell (PIC) method to simulate the motion of electrically charged particles past a plate, and is intended as a starting point for implementing a parallel version.
  1418. pic_test
  1419. pink_noise, an Octave code which computes a pink noise signal obeying a 1/f power law.
  1420. pink_noise_test
  1421. plasma_matrix, an Octave code which sets up a matrix associated with a problem in plasma physics.
  1422. plasma_matrix_test
  1423. poisson_1d_multigrid, an Octave code which applies the multigrid method to a discretized version of the 1D Poisson equation.
  1424. poisson_1d_multigrid_test
  1425. poisson_2d, an Octave code which solves the Poisson equation in a rectangle, using finite differences and Jacobi iteration.
  1426. poisson_2d_test
  1427. poisson_ell_test, an Octave code which plots data from a solution of the Poisson equation in the L-shaped region, as computed by FreeFem++() and transferred using the ffmatlib() library.
  1428. poisson_simulation, an Octave code which simulates a Poisson process in which events randomly occur with an average waiting time of Lambda.
  1429. poisson_simulation_test
  1430. polar_ode, an Octave code which sets up and solves an ordinary differential equation (ODE) whose variable is complex, and whose solution should be viewed in a polar coordinate plot.
  1431. polar_ode_test
  1432. polpak, an Octave 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.
  1433. polpak_test
  1434. polygon, an Octave 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.
  1435. polygon_test
  1436. polygon_average, an Octave code which demonstrates a process of repeatedly averaging and normalizing the vertices of a polygon, illustrating a property of the power method.
  1437. polygon_average_test
  1438. polygon_distance, an Octave code which computes the expected value of the distance between a pair of points randomly selected from the interior of a polygon in 2D.
  1439. polygon_distance_test
  1440. polygon_grid, an Octave code which generates a grid of points over the interior of a polygon in 2D.
  1441. polygon_grid_test
  1442. polygon_integrals, an Octave code which returns the exact value of the integral of any monomial over the interior of a polygon in 2D.
  1443. polygon_integrals_test
  1444. polygon_monte_carlo, an Octave code which applies a Monte Carlo method to estimate the integral of a function over the interior of a polygon in 2D.
  1445. polygon_monte_carlo_test
  1446. polygon_triangulate, an Octave code which triangulates a (possibly nonconvex) polygon in 2D, based on a C program by Joseph ORourke;
  1447. polygon_triangulate_test
  1448. polyiamonds, an Octave code which works with polyiamonds, simple shapes constructed by edgewise connections of congruent equilateral triangles.
  1449. polyiamonds_test
  1450. polynomial, an Octave code which adds, multiplies, differentiates, evaluates and prints multivariate polynomials in a space of M dimensions.
  1451. polynomial_test
  1452. polynomial_conversion, an Octave code which converts representations of a polynomial between monomial, Bernstein, Chebyshev, Gegenbauer, Hermite, Laguerre and Legendre forms.
  1453. polynomial_conversion_test
  1454. polynomial_multiply, an Octave code which multiplies two polynomials p(x) and q(x).
  1455. polynomial_multiply_test
  1456. polynomial_resultant, an Octave code which computes the resultant R of univariate polynomials P and Q.
  1457. polynomial_resultant_test
  1458. polynomial_root_bound, an Octave code which computes the Cauchy bound on the magnitude of all roots of a polynomial with complex coefficients.
  1459. polynomial_root_bound_test
  1460. polynomials, an Octave code which defines multivariate polynomials over rectangular domains, for which certain information is to be determined, such as the maximum and minimum values.
  1461. polynomials_test
  1462. polyomino_parity, an Octave code which uses parity considerations to determine whether a given set of polyominoes can tile a specified region.
  1463. polyomino_parity_test
  1464. polyominoes, an Octave code which defines, solves, and plots a variety of polyomino tiling problems, which are solved by a direct algebraic approach, instead of the more typical brute-force or backtracking methods.
  1465. polyominoes_test
  1466. porous_medium_exact, an Octave 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.
  1467. porous_medium_exact_test
  1468. power_method, an Octave code which carries out the power method for finding a dominant eigenvalue and its eigenvector.
  1469. power_method_test
  1470. power_rule, an Octave code which constructs a power rule, that is, a product quadrature rule from identical 1D factor rules.
  1471. power_rule_test
  1472. ppma_io, an Octave code which reads or writes graphics files that use the ASCII Portable Pixel Map (PPM) format.
  1473. ppma_io_test
  1474. praxis, an Octave code which minimizes a scalar function of several variables, without requiring derivative information, by Richard Brent.
  1475. praxis_test
  1476. predator_prey_ode, an Octave code which sets up and solves a time-dependent predator-prey system of ordinary differential equations (ODE).
  1477. predator_prey_ode_test
  1478. predator_prey_ode_period, an Octave code which sets up and solves a time-dependent predator-prey system of ordinary differential equations (ODE) in order to estimate the period of the limit cycle.
  1479. predator_prey_ode_period_test
  1480. prime, an Octave code which counts the number of primes between 1 and N, and is intended as a starting point for a parallel version.
  1481. prime_test
  1482. prime_pi, an Octave code which evaluates Pi(n), the number of primes less than or equal to an integer n.
  1483. prime_pi_test
  1484. prime_plot, an Octave code which displays a box plot of the prime and composite numbers.
  1485. prime_plot_test
  1486. prism_jaskowiec_rule, an Octave 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.
  1487. prism_jaskowiec_rule_test
  1488. prism_witherden_rule, an Octave code which returns a symmetric Witherden quadrature rule for a prism with triangular base, with exactness up to total degree 10.
  1489. prism_witherden_rule_test
  1490. prob, an Octave code which evaluates, samples, inverts, and characterizes 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.
  1491. prob_test
  1492. product_rule, an Octave code which creates an M dimensional quadrature rule from a product of distinct 1d quadrature rules;
  1493. product_rule_test
  1494. pwc_plot_1d, an Octave code which converts the definition of a piecewise constant (PWC) function of a 1D argument into plottable data.
  1495. pwc_plot_1d_test
  1496. pwc_plot_2d, an Octave code which converts the definition of a piecewise constant (PWC) function of a 2D argument into plottable data.
  1497. pwc_plot_2d_test
  1498. pwl_approx_1d, an Octave code which approximates a set of data using a piecewise linear (PWL) function.
  1499. pwl_approx_1d_test
  1500. pwl_interp_1d, an Octave code which interpolates a set of data using a piecewise linear (PWL) function.
  1501. pwl_interp_1d_test
  1502. pwl_interp_2d, an Octave code which evaluates a piecewise linear (PWL) interpolant to data defined on a regular 2D grid.
  1503. pwl_interp_2d_test
  1504. pwl_interp_2d_scattered, an Octave code which evaluates a piecewise linear (PWL) interpolant to data which is available at an irregularly arranged set of points.
  1505. pwl_interp_2d_scattered_test
  1506. pwl_product_integral, an Octave code which calculates the exact value of the integral of the product of two piecewise linear (PWL) functions f(x) and g(x).
  1507. pwl_product_integral_test
  1508. pyramid_exactness, an Octave code which investigates the polynomial exactness of a quadrature rule over the interior of the unit pyramid in 3D.
  1509. pyramid_exactness_test
  1510. pyramid_felippa_rule, an Octave code which returns a Felippa quadrature rule for approximating integrals over the interior of a pyramid in 3D.
  1511. pyramid_felippa_rule_test
  1512. pyramid_grid, an Octave code which computes a grid of points over the interior of the unit pyramid in 3D;
  1513. pyramid_grid_test
  1514. pyramid_integrals, an Octave code which returns the exact value of the integral of any monomial over the interior of the unit pyramid in 3D.
  1515. pyramid_integrals_test
  1516. pyramid_jaskowiec_rule, an Octave 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.
  1517. pyramid_jaskowiec_rule_test
  1518. pyramid_monte_carlo, an Octave code which applies a Monte Carlo method to estimate integrals of a function over the interior of the unit pyramid in 3D;
  1519. pyramid_monte_carlo_test
  1520. pyramid_rule, an Octave code which computes a conical product quadrature rule over the interior of the unit pyramid in 3D.
  1521. pyramid_rule_test
  1522. pyramid_witherden_rule, an Octave code which returns a Witherden quadrature rule, with exactness up to total degree 10, over the interior of a pyramid.
  1523. pyramid_witherden_rule_test
  1524. qr_solve, an Octave code which computes the linear least squares (LLS) solution of a system A*x=b using the QR factorization.
  1525. qr_solve_test
  1526. quad_fast_rule, an Octave code which rapidly defines certain quadrature rules for approximating an integral;
  1527. quad_fast_rule_test
  1528. quad_rule, an Octave code which defines quadrature rules for approximating an integral;
  1529. quad_rule_test
  1530. quad2d, an Octave code which estimates an integral over a 2D rectangle using quadrature, intended as the starting point for program optimization or parallelization.
  1531. quad2d_test
  1532. quadex_ode an Octave code which sets up and solves a stiff ordinary differential equation (ODE), whose exact solution is a parabola, but for which errors grow exponentially.
  1533. quadex_ode_test
  1534. quadmom, an Octave 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).
  1535. quadmom_test
  1536. quadrature_golub_welsch, an Octave code which computes the points and weights of a Gaussian quadrature rule using the Golub-Welsch procedure.
  1537. quadrature_golub_welsch_test
  1538. quadrature_least_squares, an Octave 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.
  1539. quadrature_least_squares_test
  1540. quadrature_weights_vandermonde, an Octave code which computes the weights of a quadrature rule using the Vandermonde matrix, assuming that the points have been specified.
  1541. quadrature_weights_vandermonde_test
  1542. quadrature_weights_vandermonde_2d, an Octave code which computes the weights of a 2D quadrature rule using the Vandermonde matrix, assuming that the points have been specified.
  1543. quadrature_weights_vandermonde_2d_test
  1544. quadrilateral, an Octave code which carries out geometric calculations on quadrilaterals, including angles, area, distances, nearest point, point containment, perimeter, and random generation.
  1545. quadrilateral_test
  1546. quadrilateral_mesh, an Octave code which handles meshes of quadrilaterals over a 2D region;
  1547. quadrilateral_mesh_test
  1548. quadrilateral_mesh_order1_display, an Octave code which plots piecewise constant (PWC) data associated with a mesh of quadrilaterals;
  1549. quadrilateral_mesh_order1_display_test
  1550. quadrilateral_surface_display, an Octave code which plots piecewise bilinear data associated with a quadrilateral_surface, that is, a 3D surface defined by a quadrilateral mesh;
  1551. quadrilateral_surface_display_test
  1552. quadrilateral_witherden_rule, an Octave code which returns a symmetric Witherden quadrature rule for the quadrilateral, with exactness up to total degree 21.
  1553. quadrilateral_witherden_rule_test
  1554. quality, an Octave code which measures the dispersion of pointsets in M dimensions;
  1555. quality_test
  1556. quasiperiodic_ode, an Octave code which sets up and solves a system of ordinary differential equations (ODE) for a problem with a quasiperiodic solution.
  1557. quasiperiodic_ode_test
  1558. quaternions, an Octave code which carries out some simple arithmetic operations for quaternions.
  1559. quaternions_test
  1560. r8_scale, an Octave code which computes the "next" and "previous" real numbers.
  1561. r8_scale_test
  1562. r83, an Octave code which contains linear algebra routines for r83 matrices (real, 64 bit, tridiagonal 3xN format).
  1563. r83_test
  1564. r83_np, an Octave code which contains linear algebra routines for r83_np matrices (real, 64 bit, tridiagonal 3xN format, nonpivoting factorization).
  1565. r83_np_test
  1566. r83p, an Octave code which contains linear algebra routines for r83p matrices (real, 64 bit, tridiagonal periodic format).
  1567. r83p_test
  1568. r83s, an Octave code which contains linear algebra routines for r83s matrices (real, 64 bit, tridiagonal scalar format).
  1569. r83s_test
  1570. r83t, an Octave code which contains linear algebra routines for r83t matrices (real, 64 bit, tridiagonal Mx3 format).
  1571. r83t_test
  1572. r83v, an Octave code which contains linear algebra routines for r83v matrices (real, 64 bit, tridiagonal three vector format).
  1573. r83v_test
  1574. r85, an Octave code which contains linear algebra routines for r85 matrices (real, 64 bit, pentadiagonal format).
  1575. r85_test
  1576. r8bb, an Octave code which contains linear algebra routines for r8bb matrices (real, 64 bit, border banded format).
  1577. r8bb_test
  1578. r8blt, an Octave code which contains linear algebra routines for r8blt matrices (real, 64 bit, band lower triangular format).
  1579. r8blt_test
  1580. r8bto, an Octave code which contains linear algebra routines for r8bto matrices (real, 64 bit, block Toeplitz format).
  1581. r8bto_test
  1582. r8but, an Octave code which contains linear algebra routines for r8but matrices (real, 64 bit, band upper triangular format).
  1583. r8but_test
  1584. r8cb, an Octave code which contains linear algebra routines for r8cb matrices (real, 64 bit, Compressed Band format).
  1585. r8cb_test
  1586. r8cbb, an Octave code which contains linear algebra routines for r8cbb matrices (real, 64 bit, Compressed Border Banded format).
  1587. r8cbb_test
  1588. r8ccs, an Octave code which contains linear algebra routines for r8ccs matrices: real, 64 bit, Compressed Column Storage (CCS) format.
  1589. r8ccs_test
  1590. r8ci, an Octave code which contains linear algebra routines for r8ci matrices (real, 64 bit, circulant format).
  1591. r8ci_test
  1592. r8col, an Octave code which contains utility routines for an R8COL, that is, a real 64 bit 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.
  1593. r8col_test
  1594. r8crs, an Octave code which contains linear algebra routines for R8CRS matrices: real, 64 bit, Compressed Row Storage (CRS) format.
  1595. r8crs_test
  1596. r8gb, an Octave code which contains linear algebra routines for r8gb matrices (real, 64 bit, General Banded format).
  1597. r8gb_test
  1598. r8gd, an Octave code which contains linear algebra routines for r8gd matrices (real, 64 bit, general diagonal format).
  1599. r8gd_test
  1600. r8ge, an Octave code which contains linear algebra routines for R8GE matrices (real, 64 bit, General format).
  1601. r8ge_test
  1602. r8ge_np, an Octave code which contains nonpivoting linear algebra routines for r8ge_np matrices (real, 64 bit, General Nonpivoting format).
  1603. r8ge_np_test
  1604. r8lib, an Octave code which contains many utility routines, using double precision real (R8) arithmetic.
  1605. r8lib_test
  1606. r8lt, an Octave code which contains linear algebra routines for R8LT matrices: real, 64 bit, Lower Triangular.
  1607. r8lt_test
  1608. r8ltt, an Octave code which contains linear algebra routines for r8ltt matrices (real, 64 bit, lower triangular Toeplitz format).
  1609. r8ltt_test
  1610. r8ncf, an Octave code which contains linear algebra routines for r8ncf matrices (real, 64 bit, nonsymmetric coordinate format).
  1611. r8ncf_test
  1612. r8pbl, an Octave code which contains linear algebra routines for r8pbl matrices (real, 64 bit, symmetric positive definite (SPD) band lower format).
  1613. r8pbl_test
  1614. r8pbu, an Octave code which contains linear algebra routines for r8pbu matrices (real, 64 bit, symmetric positive definite (SPD) band upper format).
  1615. r8pbu_test
  1616. r8po, an Octave code which contains linear algebra routines for r8po matrices (real, 64 bit, symmetric positive definite (SPD) format).
  1617. r8po_test
  1618. r8poly, an Octave 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.
  1619. r8poly_test
  1620. r8pp, an Octave code which contains linear algebra routines for r8pp matrices (real, 64 bit, symmetric positive definite (SPD) packed format).
  1621. r8pp_test
  1622. r8ri, an Octave code which contains linear algebra routines for r8ri matrices (real, 64 bit, row indexed format).
  1623. r8ri_test
  1624. r8row, an Octave code which contains utility routines for an R8ROW, that is, a real 64 bit 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.
  1625. r8row_test
  1626. r8sd, an Octave code which contains linear algebra routines for r8sd matrices (real, 64 bit, symmetric diagonal format).
  1627. r8sd_test
  1628. r8sm, an Octave code which contains linear algebra routines for r8sm matrices (real, 64 bit, Sherman-Morrison A-u*v' format).
  1629. r8sm_test
  1630. r8sr, an Octave code which carries out linear algebra operations for r8sr matrices (real, 64 bit, diagonal + compressed row offdiagonal format).
  1631. r8sr_test
  1632. r8ss, an Octave code which carries out linear algebra operations for r8ss matrices (real, 64 bit, symmetric skyline format).
  1633. r8ss_test
  1634. r8st, an Octave code which contains linear algebra routines for R8ST matrices: real, 64 bit, Sparse Triplet.
  1635. r8st_test
  1636. r8sto, an Octave code which contains linear algebra routines for r8sto matrices (real, 64 bit, symmetric Toeplitz N format).
  1637. r8sto_test
  1638. r8to, an Octave code which contains linear algebra routines for r8to matrices (real, 64 bit, Toeplitz 2*N-1 format).
  1639. r8to_test
  1640. r8ut, an Octave code which contains linear algebra routines for r8ut matrices: real, 64 bit, Upper Triangular.
  1641. r8ut_test
  1642. r8utp, an Octave code which carries out linear algebra operations on r8utp matrices, real 64 bit, Upper Triangular Packed format.
  1643. r8utp_test
  1644. r8utt, an Octave code which contains linear algebra routines for r8utt matrices (real, 64 bit, upper triangular Toeplitz format).
  1645. r8utt_test
  1646. r8vm, an Octave code which contains linear algebra routines for r8vm matrices (real, 64 bit, vandermonde format).
  1647. r8vm_test
  1648. randlc, an Octave code which implements a random number generator (RNG) used by the nas() benchmarks.
  1649. randlc_test
  1650. random_data, an Octave code which uses a random number generator (RNG) to sample points distributed according to various probability density functions (PDF), spatial dimensions, and geometries, including the annulus, cube, ellipse, ellipsoid, polygon, simplex and sphere.
  1651. random_data_test
  1652. random_sorted, an Octave code which generates vectors of random values which are already sorted.
  1653. random_sorted_test
  1654. random_walk_1d_simulation, an Octave code which simulates a random walk in a 1-dimensional region.
  1655. random_walk_1d_simulation_test
  1656. random_walk_2d_avoid_simulation, an Octave code which simulates a self-avoiding random walk in a 2-dimensional region.
  1657. random_walk_2d_avoid_simulation_test
  1658. random_walk_2d_simulation, an Octave code which simulates a random walk in a 2-dimensional region.
  1659. random_walk_2d_simulation_test
  1660. random_walk_3d_simulation, an Octave code which simulates a random walk in a 3-dimensional region.
  1661. random_walk_3d_simulation_test
  1662. ranlib, an Octave 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.
  1663. ranlib_test
  1664. rbf_interp_1d, an Octave code which defines and evaluates radial basis function (RBF) interpolants to 1D data.
  1665. rbf_interp_1d_test
  1666. rbf_interp_2d, an Octave code which defines radial basis function (RBF) interpolants to 2D data.
  1667. rbf_interp_2d_test
  1668. rbf_interp_nd, an Octave code which defines and evaluates radial basis function (RBF) interpolants to M dimensional data.
  1669. rbf_interp_nd_test
  1670. reaction_ode, an Octave code which sets up and solves the ordinary differential equations (ODE) which model a simple chemical reaction A+B --k--> C.
  1671. reaction_ode_test
  1672. reaction_twoway_ode, an Octave code which sets up and solves the ordinary differential equations (ODE) which model a two-way chemical reaction between species W1 and W2.
  1673. reaction_twoway_ode_test
  1674. reactor simulation, an Octave code which is a simple Monte Carlo simulation of the shielding effect of a slab of a certain thickness in front of a neutron source. This program was provided as an example with the book "Numerical Methods and Software."
  1675. reactor simulation_test
  1676. rectangle_distance, an Octave code which estimates the distribution and expected value of the distance between two points picked uniformly at random within a rectangle.
  1677. rectangle_distance_test
  1678. region_test, an Octave code which plots data from an interesting region that was meshed by FreeFem++() and transferred using the ffmatlib() library.
  1679. rejection_sample, an Octave code which demonstrates acceptance/rejection sampling.
  1680. rejection_sample_test
  1681. rigid_body_ode, an Octave code which sets up and solves the ordinary differential equations (ODE) representing the Euler equations for a rigid body with three unequal moments of inertia, originally proposed by Fred Krogh.
  1682. rigid_body_ode_test
  1683. ring_data, an Octave code which creates, plots, or saves data generated by sampling a number of concentric, possibly overlapping rings.
  1684. ring_data_test
  1685. ripple_ode, an Octave code which sets up and solves an ordinary differential equation (ODE) whose solutions start as ripples and end as hyperbolas.
  1686. ripple_ode_test
  1687. risk_matrix, an Octave code which returns the transition and adjacency matrix for the game of RISK.
  1688. risk_matrix_test
  1689. rk12, an Octave code which solves an ordinary differential equation (ODE) using a Runge-Kutta (RK) method of order 2, estimating the local error with a Runge-Kutta method of order 1.
  1690. rk12_test
  1691. rk12_adapt, an Octave code which defines an adaptive ordinary differential equation (ODE) solver, using Runge-Kutta (RK) solvers of order 1 and 2.
  1692. rk12_adapt_test
  1693. rk23, an Octave code which applies Runge-Kutta (RK) solvers of order 2 and 3 to a system of ordinary differential equations (ODE);
  1694. rk23_test
  1695. rk34, an Octave code which applies Runge-Kutta (RK) solvers of order 3 and 4 to a system of ordinary differential equations (ODE);
  1696. rk34_test
  1697. rk4, an Octave 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.
  1698. rk4_test
  1699. rk45, an Octave code which applies Runge-Kutta (RK) solvers of order 4 and 5 to a system of ordinary differential equations (ODE);
  1700. rk45_test
  1701. rkf45, an Octave code which applies a Runge-Kutta-Fehlberg (RKF) solver to a system of ordinary differential equations (ODE);
  1702. rkf45_test
  1703. rng_cliff, an Octave code which computes a sequence of values from the Cliff random number generator (RNG).
  1704. rng_cliff_test
  1705. rnglib, an Octave code which implements a random number generator (RNG) with splitting facilities, allowing multiple independent streams to be computed, by L'Ecuyer and Cote.
  1706. rnglib_test
  1707. robertson_ode, an Octave code which sets up and solves a system of three nonlinear stiff ordinary differential equations (ODE) characterizing an autocatalytic chemical reaction.
  1708. robertson_ode_test
  1709. roessler_ode, an Octave code which sets up and solves the 3D Roessler system of ordinary differential equations (ODE).
  1710. roessler_ode_test
  1711. root_rc, an Octave code which seeks a solution of a scalar nonlinear equation f(x)=0, using reverse communication (RC), by Gaston Gonnet.
  1712. root_rc_test
  1713. roots_rc, an Octave code which seeks solutions of a system of nonlinear equations, using reverse communication (RC), by Gaston Gonnet.
  1714. roots_rc_test
  1715. rot13, an Octave code which enciphers a string using the ROT13 cipher for letters, and the ROT5 cipher for digits.
  1716. rot13_test
  1717. roulette_simulation, an Octave code which simulates the spinning of a roulette wheel and the evaluation of certain common roulette bets.
  1718. roulette_simulation_test
  1719. row_echelon_integer, an Octave 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.
  1720. row_echelon_integer_test
  1721. rref_test, an Octave code which calls rref() for the reduced row echelon form (RREF) of a matrix, which can be singular or rectangular.
  1722. rubber_band_ode, an Octave code which sets up and solves a set of ordinary differential equations (ODE) describing a mass suspended by a spring and rubber band, which exhibits chaotic behavior.
  1723. rubber_band_ode_test
  1724. rucklidge_ode, an Octave code which sets up and solves the Rucklidge ordinary differential equation (ODE), a model of double convection which embodies a transition to chaos.
  1725. rucklidge_ode_test
  1726. sammon_data, an Octave code which generates six M dimensional datasets for cluster analysis.
  1727. sammon_data_test
  1728. sandia_cubature, an Octave code which computes M-dimensional quadrature rules for certain regions and weight functions.
  1729. sandia_cubature_test
  1730. sandia_rules, an Octave code which produces 1D quadrature rules of Chebyshev, Clenshaw Curtis, Fejer 2, Gegenbauer, generalized Hermite, generalized Laguerre, Hermite, Jacobi, Laguerre, Legendre and Patterson types.
  1731. sandia_rules_test
  1732. sandia_sgmgg, an Octave code which explores a generalized construction method for sparse grids.
  1733. sandia_sgmgg_test
  1734. sandia_sparse, an Octave code which produces a M-dimensional sparse grid, based on a variety of 1D quadrature rules; only isotropic grids are generated, that is, the same rule is used in each dimension, and the same maximum order is used in each dimension.
  1735. sandia_sparse_test
  1736. satisfy_brute, an Octave code which uses brute force to find all assignments of values to a set of logical variables which make a complicated logical statement true.
  1737. satisfy_brute_test
  1738. sawtooth_ode, an Octave code which sets up and solves an ordinary differential equation (ODE) driven by a right hand side which is a sawtooth function (periodic, discontinuous, piecewise linear).
  1739. sawtooth_ode_test
  1740. schroedinger_linear_pde, an Octave code which sets up and solves the complex partial differential equation (PDE) known as Schroedinger's linear equation: dudt = i uxx, in one spatial dimension, with Neumann boundary conditions.
  1741. schroedinger_linear_pde_test
  1742. schroedinger_nonlinear_pde, an Octave code which sets up and solves the complex partial differential equation (PDE) known as Schroedinger's nonlinear equation: dudt = i uxx + i gamma * |u|^2 u, in one spatial dimension, with Neumann boundary conditions.
  1743. schroedinger_nonlinear_pde_test
  1744. scip_solution_read, an Octave code which reads a file created by the integer programming package scip(), representing the solution of a polyomino tiling problem, and writes out a simple ASCII file.
  1745. scip_solution_read_test
  1746. sde, an Octave code which illustrates properties of stochastic differential equations (SDE), and common algorithms for their analysis, by Desmond Higham;
  1747. sde_test
  1748. search_test, an Octave code which searches integers between A and B for a value J such that F(J) = C.
  1749. sensitive_ode, an Octave code which sets up a second order ordinary differential equation (ODE) which exhibits sensitive dependence on the initial condition.
  1750. sensitive_ode_test
  1751. serenity, an Octave code which considers the serenity puzzle, a smaller version of the eternity puzzle. The serenity puzzle specifies a dodecagonal region R composed of 288 30-60-90 triangles, and a set of 8 "tiles", each consisting of 36 30-60-90 triangles, and seeks an arrangement of the tiles that exactly covers the region.
  1752. serenity_test
  1753. serenity_cplex_test a BASH code which calls cplex(), to read the LP file defining the serenity tiling problem, solve the linear programming problem, and write the solution to a file.
  1754. serenity_gurobi_test a BASH code which calls gurobi(), to read the LP file defining the serenity tiling problem, solve the linear programming problem, and write the solution to a file.
  1755. set_theory, an Octave code which implements various set theoretic operations.
  1756. set_theory_test
  1757. sftpack, an Octave code which implements the slow Fourier transform (SFT), intended as a teaching tool and comparison with the Fast Fourier Transform (FFT).
  1758. sftpack_test
  1759. shepard_interp_1d, an Octave code which defines and evaluates Shepard interpolants to 1D data, based on inverse distance weighting.
  1760. shepard_interp_1d_test
  1761. shepard_interp_2d, an Octave code which defines and evaluates Shepard interpolants to 2D data, based on inverse distance weighting.
  1762. shepard_interp_2d_test
  1763. shepard_interp_nd, an Octave code which defines and evaluates Shepard interpolants to M dimensional data, based on inverse distance weighting.
  1764. shepard_interp_nd_test
  1765. sigmoid_derivative, an Octave code which evaluates derivatives of any order for the sigmoid function s(x)=1/(1+exp(-x)).
  1766. sigmoid_derivative_test
  1767. simplex_coordinates, an Octave code which computes the Cartesian coordinates of the vertices of a regular simplex in M dimensions.
  1768. simplex_coordinates_test
  1769. simplex_gm_rule, an Octave 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.
  1770. simplex_gm_rule_test
  1771. simplex_grid, an Octave code which generates a regular grid of points over the interior of an arbitrary simplex in M dimensions.
  1772. simplex_grid_test
  1773. simplex_integrals, an Octave code which returns the exact value of the integral of any monomial over the interior of the unit simplex in M dimensions.
  1774. simplex_integrals_test
  1775. simplex_monte_carlo, an Octave code which uses the Monte Carlo method to estimate an integral over the interior of the unit simplex in M dimensions.
  1776. simplex_monte_carlo_test
  1777. sine_gordon_exact, an Octave code which returns an exact solution of the Sine-Gordon equation, a partial differential equation (PDE) of the form uxy=sin(u).
  1778. sine_gordon_exact_test
  1779. sine_transform, an Octave code which demonstrates properties of the discrete sine transform (DST).
  1780. sine_transform_test
  1781. sir_ode, an Octave code which sets up and solves the ordinary differential equations (ODE) which simulate the spread of a disease using the Susceptible/Infected/Recovered (SIR) model.
  1782. sir_ode_test
  1783. sir_simulation, an Octave code which simulates the spread of a disease through a hospital room of M by N beds, using the Susceptible/Infected/Recovered (SIR) model.
  1784. sir_simulation_test
  1785. sling_ode, an Octave code which sets up and solves a system of ordinary differential equations (ODE) for which the exact circular solution can only be approximated for a short interval before it decays to zero.
  1786. sling_ode_test
  1787. snakes_and_ladders, an Octave code which provides tools for studying the game of Snakes and Ladders.
  1788. snakes_and_ladders_simulation, an Octave code which simulates a one-player game of Snakes and Ladders, to produce histograms of the count, PDF and CDF estimates for the length of a one-player game.
  1789. snakes_and_ladders_simulation_test
  1790. snakes_matrix, an Octave code which returns the transition matrix for the game of Snakes and Ladders.
  1791. snakes_matrix_test
  1792. snakes_probability, an Octave code which computes the game length probabilities for the game of Snakes and Ladders, by Desmond Higham and Nicholas Higham.
  1793. snakes_probability_test
  1794. solve, an Octave code which uses Gauss elimination to solve a linear system A*x=b.
  1795. solve_test
  1796. sor, an Octave code which uses the successive over-relaxation (SOR) iteration to solve a linear system of equations.
  1797. sor_test
  1798. sort_test, an Octave code which calls the sort() function to sort objects of several types.
  1799. sort_rc, an Octave code which sorts a list of any kind of objects, using reverse communication (RC).
  1800. sort_rc_test
  1801. sparse_test, an Octave code which tests the sparse() function for creating sparse matrices and carrying out linear algebraic functions on them;
  1802. sparse_display, an Octave 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 matplotlib spy() function.
  1803. sparse_display_test
  1804. sparse_grid_cc, an Octave code which creates sparse grids based on Clenshaw-Curtis (CC) quadrature rules.
  1805. sparse_grid_cc_test
  1806. sparse_grid_gl, an Octave code which creates sparse grids based on Gauss-Legendre (GL) rules.
  1807. sparse_grid_gl_test
  1808. sparse_grid_hermite, an Octave code which creates sparse grids based on Gauss-Hermite rules.
  1809. sparse_grid_hermite_test
  1810. sparse_grid_hw, an Octave 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.
  1811. sparse_grid_hw_test
  1812. sparse_grid_laguerre, an Octave code which creates sparse grids based on Gauss-Laguerre rules.
  1813. sparse_grid_laguerre_test
  1814. sparse_grid_mixed, an Octave code which creates a sparse grid dataset based on a mixed set of 1D factor rules.
  1815. sparse_grid_mixed_test
  1816. sparse_grid_total_poly, an Octave code which investigates the total polynomial approximation using sparse grids.
  1817. sparse_grid_total_poly_test
  1818. sparse_interp_nd, an Octave code which defines a sparse interpolant to a function f(x) of a M dimensional argument.
  1819. sparse_interp_nd_test
  1820. spd_test, an Octave code which performs a few tests on a real matrix to determine whether it is symmetric positive definite (SPD).
  1821. sphere_cubed_grid, an Octave code which uses the projection of a cube to create grids of points, lines, and quadrilaterals on the surface of the unit sphere in 3D.
  1822. sphere_cubed_grid_test
  1823. sphere_cvt, an Octave code which carries out the Centroidal Voronoi Tessellation (CVT) iteration on the surface of the unit sphere in 3D.
  1824. sphere_cvt_test
  1825. sphere_delaunay, an Octave code which computes the Delaunay triangulation of points on the surface of the unit sphere in 3D.
  1826. sphere_delaunay_test
  1827. sphere_distance, an Octave code which computes the expected value of the distance between a pair of points randomly selected on the surface of the unit sphere in 3D.
  1828. sphere_distance_test
  1829. sphere_exactness, an Octave code which tests the polynomial exactness of a quadrature rule on the surface of the unit sphere in 3D.
  1830. sphere_exactness_test
  1831. sphere_fibonacci_grid, an Octave code which uses a Fibonacci spiral to create a grid of points on the surface of the unit sphere in 3D.
  1832. sphere_fibonacci_grid_test
  1833. sphere_grid, an Octave code which provides a number of ways of generating grids of points, or of points and lines, or of points and lines and faces, on the surface of the unit sphere in 3D.
  1834. sphere_grid_test
  1835. sphere_integrals, an Octave code which returns the exact value of the integral of any monomial over the surface of the unit sphere in 3D.
  1836. sphere_integrals_test
  1837. sphere_lebedev_rule, an Octave code which computes Lebedev quadrature rules on the surface of the unit sphere in 3D.
  1838. sphere_lebedev_rule_test
  1839. sphere_lebedev_rule_display, an Octave code which reads a file defining a Lebedev quadrature rule on the surface of the unit sphere in 3D and displays the point locations.
  1840. sphere_lebedev_rule_display_test
  1841. sphere_llq_grid, an Octave code which uses longitudes and latitudes to create grids of points, lines, and quadrilaterals on the surface of the unit sphere in 3D.
  1842. sphere_llq_grid_test
  1843. sphere_llt_grid, an Octave code which uses longitudes and latitudes to create grids of points, lines, and triangles on the surface of the unit sphere in 3D.
  1844. sphere_llt_grid_test
  1845. sphere_monte_carlo, an Octave code which applies a Monte Carlo method to estimate the integral of a function on the surface of the unit sphere in 3D.
  1846. sphere_monte_carlo_test
  1847. sphere_positive_distance, an Octave code which computes the expected value of the distance between a pair of points randomly selected on the surface of the unit positive sphere in 3D.
  1848. sphere_positive_distance_test
  1849. sphere_quad, an Octave code which uses triangulation to approximate an integral on the surface of the unit sphere in 3D.
  1850. sphere_quad_test
  1851. sphere_stereograph, an Octave code which computes the stereographic mapping between points on the surface of the unit sphere in 3D and points on the plane Z = 1; a generalized mapping is also available.
  1852. sphere_stereograph_test
  1853. sphere_stereograph_display, an Octave code which computes and displays the results of several stereographic projections between points on the surface of the unit sphere in 3D and a plane.
  1854. sphere_stereograph_display_test
  1855. sphere_triangle_monte_carlo, an Octave code which applies a Monte Carlo method to estimate the integral of a function over a spherical triangle on the surface of the unit sphere in 3D;
  1856. sphere_triangle_monte_carlo_test
  1857. sphere_triangle_quad, an Octave code which uses quadrature to estimate the integral of a function over a spherical triangle on the surface of the unit sphere in 3D.
  1858. sphere_triangle_quad_test
  1859. sphere_voronoi, an Octave code which computes the Voronoi diagram of points on the surface of the unit sphere in 3D.
  1860. sphere_voronoi_test
  1861. spiral_exact, an Octave code which computes a 2D velocity vector field that is an exact solution of the continuity equation.
  1862. spiral_exact_test
  1863. spline, an Octave code which interpolates and approximates via splines;
  1864. spline_test
  1865. spquad, an Octave code which computes the points and weights of a sparse grid quadrature rule for an M-dimensional integral, based on the Clenshaw-Curtis quadrature rule, by Greg von Winckel.
  1866. spquad_test
  1867. spring_ode, an Octave code which sets up and solves a system of ordinary differential equations (ODE) for the motion of a spring with mass m, damping b, and stiffness k.
  1868. spring_ode_test
  1869. spring_double_ode, an Octave code which sets up and solves a system of ordinary differential equations (ODE) for a system in which a mass is connected by a spring to a mass connected by a spring to a fixed support.
  1870. spring_double_ode_test
  1871. spring_sweep_ode, an Octave code which computes a grid of solutions to a parameterized system of ordinary differential equations (ODE) that represent the motion of a spring with mass m, damping b, and stiffness k.
  1872. spring_sweep_ode_test
  1873. square_arbq_rule, an Octave 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.
  1874. square_arbq_rule_test
  1875. square_distance, an Octave code which computes the expected value of the distance between a pair of points randomly selected from the interior of the unit square in 2D.
  1876. square_distance_test
  1877. square_exactness, an Octave code which investigates the polynomial exactness of quadrature rules for f(x,y) over the interior of a rectangle in 2D.
  1878. square_exactness_test
  1879. square_felippa_rule, an Octave code which returns a Felippa quadrature rules for approximating integrals over the interior of a square in 2D.
  1880. square_felippa_rule_test
  1881. square_grid, an Octave code which computes a grid of points over the interior of a square in 2D.
  1882. square_grid_test
  1883. square_hex_grid, an Octave code which computes a hexagonal grid of points over the interior of a square in 2D.
  1884. square_hex_grid_test
  1885. square_integrals, an Octave 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.
  1886. square_integrals_test
  1887. square_minimal_rule, an Octave 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.
  1888. square_minimal_rule_test
  1889. square_monte_carlo, an Octave code which applies a Monte Carlo method to estimate the integral of a function over the interior of the unit square in 2D.
  1890. square_monte_carlo_test
  1891. square_surface_distance, an Octave code which estimates the expected value of the distance between a pair of points randomly selected on the surface of the unit square.
  1892. square_surface_distance_test
  1893. square_symq_rule, an Octave 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.
  1894. square_symq_rule_test
  1895. squircle_ode, an Octave code which sets up and solves a system of ordinary differential equations (ODE) for a pair of functions that generalize the sine and cosine, and whose phase portrait is a squircle, a sort of squared circle.
  1896. squircle_ode_test
  1897. st_io, an Octave code which reads and writes sparse linear systems stored in the Sparse Triplet (ST) format.
  1898. st_io_test
  1899. st_to_ccs, an Octave code which converts sparse matrix data from Sparse Triplet (ST) format to Compressed Column Storage (CCS) format;
  1900. st_to_ccs_test
  1901. st_to_hb, an Octave code which converts sparse matrix data from Sparse Triplet (ST) format to Harwell Boeing (HB) format;
  1902. st_to_hb_test
  1903. st_to_mm, an Octave code which converts sparse matrix data from Sparse Triplet (ST) format to Matrix Market (MM) format;
  1904. st_to_mm_test
  1905. st_to_msm, an Octave code which reads a Sparse Triplet (ST) file and creates a corresponding MATLAB Sparse Matrix (MSM).
  1906. st_to_msm_test
  1907. steinerberger, an Octave code which evaluates the Steinerberger function, a continuous function with discontinuous derivative, which is very hard to accurately plot, integrate, minimize, or interpolate.
  1908. steinerberger_test
  1909. stetter_ode, an Octave code which sets up and solves an ordinary differential equation (ODE) for which a specific time step sequence causes the implicit trapezoidal method to be unstable, while the implicit midpoint method will be stable. Note that the right hand side function f(t,y) is periodic, discontinuous, and piecewise linear.
  1910. stetter_ode_test
  1911. stiff_ode, an Octave code which sets up and solves an ordinary differential equation (ODE) which is an example of a stiff ODE.
  1912. stiff_ode_test
  1913. stla_display, an Octave code which displays an ASCII stereolithography (STL) 3D graphics file;
  1914. stla_display_test
  1915. stla_io, an Octave code which reads and writes an ASCII stereolithography (STL) 3D graphics file;
  1916. stla_io_test
  1917. stla_to_tri_surface, an Octave code which reads an ASCII stereolithography (STL) 3D graphics file and extracts the surface mesh data as a TRI_SURFACE dataset.
  1918. stla_to_tri_surface_test
  1919. stla_to_tri_surface_fast, an Octave code which is a faster version of stla_to_tri_surface().
  1920. stla_to_tri_surface_fast_test
  1921. stochastic_diffusion, an Octave code which implements several versions of a stochastic diffusivity coefficient.
  1922. stochastic_diffusion_test
  1923. stochastic_heat2d, an Octave code which implements a finite difference method (FDM) for the steady 2D heat equation, with a stochastic heat diffusivity coefficient.
  1924. stochastic_heat2d_test
  1925. stochastic_rk, an Octave code which applies a Runge Kutta (RK) scheme to a stochastic ordinary differential equation (SDE).
  1926. stochastic_rk_test
  1927. stokes_2d_exact, an Octave code which evaluates exact solutions to the incompressible steady Stokes equations over the unit square in 2D.
  1928. stokes_2d_exact_test
  1929. string_pde, an Octave code which sets up and solves the partial differential equations (PDE) describing a vibrating string, creating files to be displayed by gnuplot().
  1930. string_pde_test
  1931. subset, an Octave 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.
  1932. subset_test
  1933. subset_distance, an Octave code which estimates the expected value of the Hamming distance between a pair of randomly selected subsets of an M set.
  1934. subset_distance_test
  1935. subset_sum, an Octave 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.
  1936. subset_sum_test
  1937. subset_sum_backtrack, an Octave 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.
  1938. subset_sum_backtrack_test
  1939. subset_sum_brute, an Octave code which seeks solutions of the subset sum problem, using a brute force approach.
  1940. subset_sum_brute_test
  1941. subset_sum_swap, an Octave 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.
  1942. subset_sum_swap_test
  1943. svd_test, an Octave code which demonstrates the Singular Value Decomposition (SVD) for a simple example.
  1944. svd_basis, an Octave code which applies the singular value decomposition (SVD) to a collection of data vectors, extracting dominant modes;
  1945. svd_basis_test
  1946. svd_circle, an Octave code which analyzes a linear map of the unit circle caused by an arbitrary 2x2 matrix A, using the singular value decomposition (SVD).
  1947. svd_circle_test
  1948. svd_faces, an Octave code which applies singular value decomposition (SVD) analysis to a set of images.
  1949. svd_faces_test
  1950. svd_fingerprint, an Octave code which reads a file containing a fingerprint image and uses the singular value decomposition (SVD) to compute and display a series of low rank approximations to the image.
  1951. svd_fingerprint_test
  1952. svd_gray, an Octave code which reads a gray scale image, computes the Singular Value Decomposition (SVD), and constructs a series of low rank approximations to the image.
  1953. svd_gray_test
  1954. svd_lls, an Octave code which uses the singular value decomposition (SVD) to construct and plot the best affine and linear relationships in the sense of least square, between two vectors of data.
  1955. svd_lls_test
  1956. svd_powers, an Octave code which applies singular value decomposition (SVD) analysis to a set of powers x(i)^(j-1).
  1957. svd_powers_test
  1958. svd_snowfall, an Octave code which reads a file containing historical snowfall data and analyzes the data with the Singular Value Decomposition (SVD).
  1959. svd_snowfall_test
  1960. svd_sphere, an Octave code which analyzes a linear map of the unit sphere caused by an arbitrary 3x3 matrix A, using the singular value decomposition (SVD).
  1961. svd_sphere_test
  1962. svd_truncated_test, an Octave code which calls the "economy" version of the Singular Value Decomposition (SVD) of an M by N rectangular matrix, in cases where M is less than N or N is less than M.
  1963. sympy_test, an Octave code which tests sympy(), the symbolic mathematics package.
  1964. table_io, an Octave code which reads and writes a simple table file;
  1965. table_io_test
  1966. task_division, an Octave 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.
  1967. task_division_test
  1968. tennis_matrix, an Octave code which computes the transition matrix for a game of tennis, which has 17 distinct states.
  1969. tennis_matrix_test
  1970. tensor_grid_display, an Octave code which displays the grid points of a tensor product rule used for interpolation or quadrature, in 1D, 2D or 3D.
  1971. tensor_grid_display_test
  1972. test_approx, an Octave code which implements test problems for approximation, provided as a set of (x,y) data.
  1973. test_approx_test
  1974. test_con, an Octave code which implements test problems for numerical continuation.
  1975. test_con_test
  1976. test_eigen, an Octave code which implements test matrices for eigenvalue analysis.
  1977. test_eigen_test
  1978. test_int, an Octave code which implements test problems for approximate integration (quadrature) in one dimension.
  1979. test_int_test
  1980. test_int_2d, an Octave code which implements test problems for approximate integration (quadrature) in two dimensions.
  1981. test_int_2d_test
  1982. test_interp, an Octave code which defines test problems for interpolation, provided as a set of (x,y(x)) data.
  1983. test_interp_test
  1984. test_interp_1d, an Octave code which defines test problems for interpolation of data y(x), which depends on a 1D argument.
  1985. test_interp_1d_test
  1986. test_interp_2d, an Octave code which defines test problems for interpolation of data z(x,y), which depends on a 2D argument.
  1987. test_interp_2d_test
  1988. test_interp_fun, an Octave code which defines test problems for interpolation which are available in functional form.
  1989. test_interp_fun_test
  1990. test_interp_nd, an Octave code which defines test problems for interpolation of data z(x), depending on an M dimensional argument.
  1991. test_interp_nd_test
  1992. test_lls, an Octave code which implements linear least squares (LLS) test problems of the form A*x=b.
  1993. test_lls_test
  1994. test_matrix, an Octave 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.
  1995. test_matrix_test
  1996. test_matrix_exponential, an Octave code which defines a set of test cases for computing the matrix exponential.
  1997. test_matrix_exponential_test
  1998. test_min, an Octave code which implements test problems for minimization of a scalar function of a scalar variable.
  1999. test_min_test
  2000. test_nearest, an Octave code which tests the time complexity of various procedures for solving the nearest neighbor problem.
  2001. test_nearest_test
  2002. test_nint, an Octave code which defines test functions for M-dimensional quadrature routines.
  2003. test_nint_test
  2004. test_nonlin, an Octave code which implements test problems for the solution of systems of nonlinear equations.
  2005. test_nonlin_test
  2006. test_opt, an Octave code which implements test problems for optimization of a scalar function of several variables.
  2007. test_opt_test
  2008. test_opt_con, an Octave 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.
  2009. test_opt_con_test
  2010. test_optimization, an Octave code which implements test problems for optimization of a scalar function of several variables, as described by Molga and Smutnicki.
  2011. test_optimization_test
  2012. test_partial_digest, an Octave code which generates example cases of the partial digest problem.
  2013. test_partial_digest_test
  2014. test_triangulation, an Octave code which defines test problems for triangulation;
  2015. test_triangulation_test
  2016. test_values, an Octave code which supplies test values of various mathematical functions, including Abramowitz, AGM, Airy, Bell, Bernoulli, Bessel, Beta, Binomial, Bivariate Normal, Catalan, Cauchy, Chebyshev, Chi Square, Clausen, Clebsch Gordan, Collatz, Cosine integral, Dawson, Debye, Dedekind, dilogarithm, Exponential integral, Elliptic, Error, Euler, Exponential integral, F probability, Fresnel, Frobenius, Gamma, Gegenbauer, Goodwin, Gudermannian, Harmonic, Hermite, Hypergeometric 1F1, Hypergeometric 2F1, inverse trigonometic, Jacobi, Julian Ephemeris Date, Kelvin, Laguerre, Laplace, Legendre, Lerch, Lobachevsky, Lobatto, Logarithmic integral, Log normal, McNugget numbers, Mertens, Mittag-Leffler, Moebius, Multinomial, Negative binomial, Nine J, Normal, Omega, Owen, Partition, Phi, Pi, Poisson, Polylogarithm, Polyomino, Prime, Psi, Rayleigh, Hyperbolic Sine integral, Sigma, Sine Power integral, Sine integral, Six J, Sphere area, Sphere volume, Spherical harmonic, Stirling, Stromgen, Struve, Student, Subfactorial, Student probability, Three J, Transport, Trigamma, Truncated normal, van der Corput, von Mises, Weibull, Wright omega, Zeta.
  2017. test_values_test
  2018. test_zero, an Octave code which defines some functions f(x) suitable for testing software that solves a nonlinear equation f(x)=0;
  2019. test_zero_test
  2020. tester, a BASH script which runs the Octave tests.
  2021. tet_mesh, an Octave code which works with tetrahedral meshes in 3D;
  2022. tet_mesh_test
  2023. tet_mesh_boundary, an Octave code which reads information defining a tetrahedral mesh of points in 3D, and determines the triangular faces that form the boundary of the mesh; it writes out files containing the nodes and elements defining this TRI_SURFACE data.
  2024. tet_mesh_boundary_test
  2025. tet_mesh_display, an Octave code which reads data defining a tetrahedral mesh, and displays a wireframe image of the nodes and edges;
  2026. tet_mesh_display_test
  2027. tet_mesh_l2q, an Octave code which reads information about a 4-node linear mesh of tetrahedrons and creates data defining a corresponding 10-node quadratic mesh of tetrahedrons;
  2028. tet_mesh_l2q_test
  2029. tet_mesh_q2l, an Octave code which reads information about a 10-node quadratic mesh of tetrahedrons and creates data defining a corresponding 4-node linear mesh of tetrahedrons;
  2030. tet_mesh_q2l_test
  2031. tet_mesh_quad, an Octave code which estimates the integral of a function over a region defined by a tetrahedral mesh.
  2032. tet_mesh_quad_test
  2033. tet_mesh_quality, an Octave code which computes various quality measures for a tetrahedral mesh of a set of nodes in 3D;
  2034. tet_mesh_quality_test
  2035. tet_mesh_rcm, an Octave code which computes the Reverse Cuthill McKee (RCM) reordering for the nodes of a mesh of tetrahedrons, using 4 or 10 node elements.
  2036. tet_mesh_rcm_test
  2037. tet_mesh_refine, an Octave code which refines a mesh of tetrahedrons;
  2038. tet_mesh_refine_test
  2039. tet_mesh_tet_neighbors, an Octave code which reads information about a tetrahedral mesh and lists the tetrahedrons adjacent to a given tetrahedron;
  2040. tet_mesh_tet_neighbors_test
  2041. tet_mesh_to_gmsh, an Octave code which write a gmsh() file describing a tetrahedral mesh;
  2042. tet_mesh_to_gmsh_test
  2043. tet_mesh_to_xml, an Octave code which write an XML file describing a tetrahedral mesh;
  2044. tet_mesh_to_xml_test
  2045. tet_mesh_volumes, an Octave code which computes the volume of each tetrahedron in a mesh of tetrahedrons;
  2046. tet_mesh_volumes_test
  2047. tetrahedron, an Octave code which carries out geometric calculations involving a general tetrahedron, including solid and facial angles, face areas, point containment, distances to a point, circumsphere and insphere, measures of shape quality, centroid, barycentric coordinates, edges and edge lengths, random sampling, and volumes.
  2048. tetrahedron_test
  2049. tetrahedron_arbq_rule, an Octave 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.
  2050. tetrahedron_arbq_rule_test
  2051. tetrahedron_exactness, an Octave code which tests the polynomial exactness of a quadrature rule over the interior of a tetrahedron in 3D.
  2052. tetrahedron_exactness_test
  2053. tetrahedron_felippa_rule, an Octave code which returns a Felippa quadrature rules for approximating integrals over the interior of a tetrahedron in 3D.
  2054. tetrahedron_felippa_rule_test
  2055. tetrahedron_grid, an Octave code which computes a grid of points over the interior of a tetrahedron in 3D.
  2056. tetrahedron_grid_test
  2057. tetrahedron_integrals, an Octave code which returns the exact value of the integral of any monomial over the interior of the unit tetrahedron in 3D.
  2058. tetrahedron_integrals_test
  2059. tetrahedron_jaskowiec_rule, an Octave 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.
  2060. tetrahedron_jaskowiec_rule_test
  2061. tetrahedron_keast_rule, an Octave code which defines a Keast quadrature rule, of degree of exactness 0 through 8, over the interior of the tetrahedron in 3D.
  2062. tetrahedron_keast_rule_test
  2063. tetrahedron_monte_carlo, an Octave code which uses the Monte Carlo method to estimate an integral over the interior of a general tetrahedron in 3D.
  2064. tetrahedron_monte_carlo_test
  2065. tetrahedron_ncc_rule, an Octave code which defines Newton-Cotes closed (NCC) quadrature rules over the interior of a tetrahedron in 3D.
  2066. tetrahedron_ncc_rule_test
  2067. tetrahedron_nco_rule, an Octave code which defines Newton-Cotes open (NCO) quadrature rules over the interior of a tetrahedron in 3D.
  2068. tetrahedron_nco_rule_test
  2069. tetrahedron_slice_display, an Octave code which determines the intersection between a tetrahedron and a plane and displays the result.
  2070. tetrahedron_slice_display_test
  2071. tetrahedron_witherden_rule, an Octave code which returns a symmetric Witherden quadrature rule for the tetrahedron, with exactness up to total degree 10.
  2072. tetrahedron_witherden_rule_test
  2073. tetrahedron01_monte_carlo, an Octave code which uses the Monte Carlo method to estimate an integral over the interior of the unit tetrahedron in 3D.
  2074. tetrahedron01_monte_carlo_test
  2075. theta_method, an Octave code which solves one or more ordinary differential equations (ODE) using the theta method.
  2076. theta_method_test
  2077. three_body_ode, an Octave code which sets up and solves ordinary differential equations (ODE) that simulate the behavior of three planets, constrained to lie in a plane, and moving under the influence of gravity, by Walter Gander and Jiri Hrebicek.
  2078. three_body_ode_test
  2079. tictoc_test, an Octave code which calls tic() and toc(), which compute elapsed time.
  2080. timer_test, an Octave code which demonstrates and compares several ways of timing code execution.
  2081. timestamp, an Octave code which prints the current YMDHMS date as a timestamp;
  2082. timestamp_test
  2083. toeplitz_cholesky, an Octave code which computes the Cholesky factorization of a symmetric positive definite (SPD) Toeplitz matrix.
  2084. toeplitz_cholesky_test
  2085. toeplitz_inverse, an Octave code which computes the inverse of a Toeplitz matrix.
  2086. toeplitz_inverse_test
  2087. toms097, an Octave 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.
  2088. toms097_test
  2089. toms112, an Octave code which determines whether a point is contained in a polygon, by Moshe Shimrat. This is a version of ACM TOMS algorithm 112.
  2090. toms112_test
  2091. toms178, an Octave code which optimizes a scalar functional of multiple variables using the Hooke-Jeeves method, by Arthur Kaupe. This is a version of ACM TOMS algorithm 178.
  2092. toms178_test
  2093. toms179, an Octave code which evaluates the modified Beta function, by Oliver Ludwig. This is a version of ACM TOMS algorithm 179.
  2094. toms179_test
  2095. toms243, an Octave code which evaluates the logarithm of a complex value, by David Collens. This is a version of ACM TOMS algorithm 243.
  2096. toms243_test
  2097. toms291, an Octave code which evaluates the logarithm of the Gamma function. This is a version of ACM TOMS algorithm 291.
  2098. toms291_test
  2099. toms443, an Octave code which evaluates the Lambert W function, by Fritsch, Shafer and Crowley. This is a version of ACM TOMS algorithm 443.
  2100. toms443_test
  2101. toms446, an Octave code which manipulates Chebyshev series for interpolation and approximation; this is a version of ACM TOMS algorithm 446, by Roger Broucke.
  2102. toms446_test
  2103. toms462, an Octave code which evaluates the upper right tail of the bivariate normal Probability Density Function (PDF); 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.
  2104. toms462_test
  2105. toms515, an Octave 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.
  2106. toms515_test
  2107. toms577, an Octave code which evaluates the Carlson elliptic integral functions RC, RD, RF and RJ. This is a version of ACM TOMS algorithm 577;
  2108. toms577_test
  2109. toms655, an Octave code which computes the weights for interpolatory quadrature rules; this is commonly called IQPACK, by Sylvan Elhay and Jaroslav Kautsky. This is a version of ACM TOMS algorithm 655.
  2110. toms655_test
  2111. toms743, an Octave code which evaluates the Lambert W function. This is a version of ACM TOMS algorithm 743, by Barry, Barry and Culligan-Hensley.
  2112. toms743_test
  2113. toms847, an Octave code which carries out piecewise linear (PWL) multidimensional hierarchical sparse grid interpolation; this is commonly called spinterp() (version 2.1); this is a version of ACM TOMS Algorithm 847, by Andreas Klimke;
  2114. toms847_test
  2115. toms866, an Octave code which is version 2.2 of the Incompressible Flow Iterative Solution Software (IFISS), for fluid flow governed by the Navier Stokes equations (NSE), by Howard Elman, Alison Ramage, David Silvester; this is a version of ACM TOMS algorithm 866.
  2116. toms886, an Octave 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.
  2117. toms886_test
  2118. toms923, an Octave code which evaluates the Pfaffian for a dense or banded skew symmetric matrix, by Michael Wimmer.
  2119. toms923_test
  2120. tough_ode, an Octave code which sets up and solves a system of four ordinary differential equations (ODE) which is extremely difficult to solve accurately.
  2121. tough_ode_test
  2122. traffic_simulation, an Octave code which simulates the cars waiting to get through a traffic light.
  2123. traffic_simulation_test
  2124. trapezoidal, an Octave code which solves one or more ordinary differential equations (ODE) using the (implicit) trapezoidal method, and fsolve() for the implicit system.
  2125. trapezoidal_test
  2126. trapezoidal_explicit, an Octave code which solves one or more ordinary differential equations (ODE) using the (explicit) trapezoidal method.
  2127. trapezoidal_explicit_test
  2128. trapezoidal_fixed, an Octave code which solves one or more ordinary differential equations (ODE) using the (implicit) trapezoidal method, and a fixed point method for the implicit system.
  2129. trapezoidal_fixed_test
  2130. treepack, an Octave 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.
  2131. treepack_test
  2132. tri_surface_display, an Octave code which displays a TRI_SURFACE object representing a triangulated surface;
  2133. tri_surface_display_test
  2134. tri_surface_to_obj, an Octave code which reads a TRI_SURFACE dataset and extracts the surface mesh data as an OBJ file.
  2135. tri_surface_to_obj_test
  2136. tri_surface_to_stla, an Octave code which reads a TRI_SURFACE dataset and extracts the surface mesh data as an ASCII stereolithography (STL) file.
  2137. tri_surface_to_stla_test
  2138. triangle, an Octave code which computes properties of a triangle, including angles, area, centroid, circumcircle, edge lengths, incircle, orientation, orthocenter, quality, Cartesian to barycentric coordinates, barycentric coordinates to Cartesian. A point is treated as a (1,2) array, a list of points as an (n,2) array, and a triangle as a (3,2) array.
  2139. triangle_test
  2140. triangle_analyze, an Octave code which reads a triangle defined in a file and computes angles, area, centroid, circumcircle, edge lengths, incircle, orientation, orthocenter, and quality.
  2141. triangle_analyze_test
  2142. triangle_display, an Octave code which displays the nodes and elements of a triangulation for which the data has been stored in NODE and ELE files by Jonathan Shewchuk's triangle() program.
  2143. triangle_display_test
  2144. triangle_distance, an Octave code which computes the expected value of the distance between a pair of points randomly selected from the interior of a triangle in 2D.
  2145. triangle_distance_test
  2146. triangle_dunavant_rule, an Octave code which returns a Dunavant quadrature rule over the interior of a triangle in 2D.
  2147. triangle_dunavant_rule_test
  2148. triangle_exactness, an Octave code which tests the polynomial exactness of a quadrature rule over the interior of a triangle in 2D.
  2149. triangle_exactness_test
  2150. triangle_fekete_rule, an Octave code which returns a Fekete rule for interpolation or quadrature over the interior of a triangle in 2D.
  2151. triangle_fekete_rule_test
  2152. triangle_felippa_rule, an Octave code which returns a Felippa quadrature rule for approximating integrals over the interior of a triangle in 2D.
  2153. triangle_felippa_rule_test
  2154. triangle_grid, an Octave code which computes a grid of points over the interior of a triangle in 2D.
  2155. triangle_grid_test
  2156. triangle_histogram, an Octave code which computes histograms of data over the interior of a unit triangle in 2D.
  2157. triangle_histogram_test
  2158. triangle_integrals, an Octave code which returns the exact value of the integral of any polynomial over the interior of an arbitrary triangle in 2D.
  2159. triangle_integrals_test
  2160. triangle_integrands, an Octave code which defines integrands for testing quadrature rules over a triangle.
  2161. triangle_integrands_test
  2162. triangle_interpolate, an Octave code which shows how vertex data can be interpolated at any point in the interior of a triangle.
  2163. triangle_interpolate_test
  2164. triangle_io, an Octave code which reads or writes files created by Jonathan Shewchuk's triangle() program.
  2165. triangle_io_test
  2166. triangle_lyness_rule, an Octave code which returns Lyness-Jespersen quadrature rules over the interior of a triangle in 2D;
  2167. triangle_lyness_rule_test
  2168. triangle_monte_carlo, an Octave code which uses the Monte Carlo method to estimate an integral over the interior of a general triangle in 2D.
  2169. triangle_monte_carlo_test
  2170. triangle_ncc_rule, an Octave code which defines Newton-Cotes Closed (NCC) quadrature rules over the interior of a triangle in 2D.
  2171. triangle_ncc_rule_test
  2172. triangle_nco_rule, an Octave code which defines Newton-Cotes Open (NCO) quadrature rules over the interior of a triangle in 2D.
  2173. triangle_nco_rule_test
  2174. triangle_quadrature_symmetry, an Octave code which determines the symmetries of a quadrature rule for a triangle.
  2175. triangle_quadrature_symmetry_test
  2176. triangle_refine, an Octave code which divides a triangle into c^2 copies of itself, and implements a simple centroid-based quadrature scheme.
  2177. triangle_refine_test
  2178. triangle_svg, an Octave code which uses Scalable Vector graphics (SVG) to plot a triangle and any number of points, to illustrate quadrature rules and sampling techniques.
  2179. triangle_svg_test
  2180. triangle_symq_rule, an Octave 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.
  2181. triangle_symq_rule_test
  2182. triangle_symq_to_ref, an Octave code which creates quadrature rules defined on the half-unit square from symmetric quadrature rules defined on an equilateral triangle, defined by triangle_symq_rule(), by Hong Xiao and Zydrunas Gimbutas.
  2183. triangle_symq_to_ref_test
  2184. triangle_to_fem, an Octave code which reads the NODE and ELE files created by Jonathan Shewchuk's triangle() program to describe a triangular mesh, and writes a corresponding pair of node and element files in the 2D FEM format.
  2185. triangle_to_fem_test
  2186. triangle_to_medit, an Octave code which reads the NODE and ELE files created by Jonathan Shewchuk's triangle() program to describe a triangular mesh, and writes a corresponding medit() MESH file.
  2187. triangle_to_medit_test
  2188. triangle_to_xml, an Octave code which reads the NODE and ELE files created by Jonathan Shewchuk's triangle() program to describe a triangular mesh in 2D, and writes a corresponding XML mesh file for use by dolfin() or fenics().
  2189. triangle_to_xml_test
  2190. triangle_twb_rule, an Octave code which generates the points and weights of quadrature rules over the interior of a triangle in 2D, determined by Taylor, Wingate, and Bos.
  2191. triangle_twb_rule_test
  2192. triangle_wandzura_rule, an Octave code which returns a Wandzura quadrature rule of exactness 5, 10, 15, 20, 25 and 30 over the interior of the triangle in 2D.
  2193. triangle_wandzura_rule_test
  2194. triangle_witherden_rule, an Octave code which returns a symmetric Witherden quadrature rule for the triangle, with exactness up to total degree 20.
  2195. triangle_witherden_rule_test
  2196. triangle01_integrals, an Octave code which returns the integral of any monomial over the interior of the unit triangle in 2D.
  2197. triangle01_integrals_test
  2198. triangle01_monte_carlo, an Octave code which uses the Monte Carlo method to estimate an integral over the interior of the unit triangle in 2D.
  2199. triangle01_monte_carlo_test-
  2200. triangulate, an Octave code which triangulates a polygonal region, based on a C program by Joseph ORourke;
  2201. triangulate_test
  2202. triangulate_rectangle, an Octave code which sets up a grid of triangles in a rectangular region.
  2203. triangulate_rectangle_test
  2204. triangulation, an Octave 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.
  2205. triangulation_test
  2206. triangulation_boundary, an Octave code which starts with a triangulation of a simple shape, and determines the triangle edges that form the boundary, and a sequence of nodes that trace the boundary.
  2207. triangulation_boundary_test
  2208. triangulation_boundary_edges, an Octave code which reads data defining a triangulation, determines which edges lie on the boundary, organizes them into connected components, and writes this information to a file.
  2209. triangulation_boundary_edges_test
  2210. triangulation_boundary_nodes, an Octave code which reads data defining a triangulation, determines which nodes lie on the boundary, and writes their coordinates to a file;
  2211. triangulation_boundary_nodes_test
  2212. triangulation_delaunay_discrepancy, an Octave code which measures the amount by which a triangulation fails the local Delaunay test;
  2213. triangulation_delaunay_discrepancy_test
  2214. triangulation_display, an Octave code which displays the nodes and elements of a triangulation;
  2215. triangulation_display_test
  2216. triangulation_node_to_element, an Octave 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.
  2217. triangulation_node_to_element_test
  2218. triangulation_order1_display, an Octave code which plots piecewise constant (PWC) data associated with a triangulation;
  2219. triangulation_order1_display_test
  2220. triangulation_order3_contour, an Octave code which plots color contours of a piecewise linear (PWL) scalar quantity evaluated at the nodes of a 3-node triangle triangulation.
  2221. triangulation_order3_contour_test
  2222. triangulation_order6_contour, an Octave code which plots color contours of a piecwise quadratic (PWQ) scalar quantity evaluated at the nodes of a 6-node triangle triangulation.
  2223. triangulation_order6_contour_test
  2224. triangulation_plot, an Octave code which plots the nodes and elements of a triangulation as a PostScript file;
  2225. triangulation_plot_test
  2226. triangulation_quad, an Octave code which reads information about a triangulation and the value of a function at the nodes and estimates the integral of the function over the triangulated region.
  2227. triangulation_quad_test
  2228. triangulation_quality, an Octave code which reads information about a triangulation and computes various quality measures;
  2229. triangulation_quality_test
  2230. triangulation_refine, an Octave code which refines a triangulation;
  2231. triangulation_refine_test
  2232. triangulation_svg, an Octave code which creates a Scalable Vector graphics (SVG) image of a triangulation, which can be displayed by a web browser.
  2233. triangulation_svg_test
  2234. triangulation_triangle_neighbors, an Octave code which reads data defining a triangulation, finds the three neighbor triangles for each triangle, and writes them to a file;
  2235. triangulation_triangle_neighbors_test
  2236. tridiagonal_solver, an Octave code which solves a tridiagonal linear system.
  2237. tridiagonal_solver_test
  2238. trig_interp, an Octave code which uses trigonometric functions for interpolation.
  2239. trig_interp_test
  2240. trig_interp_basis, an Octave code which evaluates the cardinal basis functions for trigonometric interpolation of equally spaced data.
  2241. trig_interp_basis_test
  2242. trinity, an Octave code which considers the trinity puzzle, a smaller version of the eternity puzzle. The trinity puzzle specifies a region R composed of 144 30-60-90 triangles, and a set of 4 "tiles", T1, T2, T3 and T4, each consisting of 36 30-60-90 triangles, and seeks an arrangement of the four tiles that exactly covers the region.
  2243. trinity_test
  2244. truel_simulation, an Octave code which simulates N repetitions of a duel between three players, each of whom has a known firing accuracy.
  2245. truel_simulation_test
  2246. truncated_normal, an Octave 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.
  2247. truncated_normal_test
  2248. truncated_normal_rule, an Octave 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].
  2249. truncated_normal_rule_test
  2250. truncated_normal_sparse_grid, an Octave code which computes a sparse grid based on a normal probability density function (PDF), also called a Gaussian distribution, that has been truncated to [A,+oo), (-oo,B] or [A,B].
  2251. truncated_normal_sparse_grid_test
  2252. tsp_brute, an Octave code which reads a file of city-to-city distances and solves a (small!) traveling salesperson problem (TSP), using brute force.
  2253. tsp_brute_test
  2254. tsp_descent, an Octave code which reads a file of city-to-city distances, chooses an initial tour at random, and then tries some simple variations to quickly find a tour of lower length, to solve the traveling salesperson problem (TSP).
  2255. tsp_descent_test
  2256. tsp_greedy, an Octave code which reads a file of city-to-city distances, and solves a small traveling salesperson problem (TSP) using the greedy algorithm. It picks a starting city at random, and then successively visits the nearest unvisited city.
  2257. tsp_greedy_test
  2258. tsp_moler, an Octave code which tries to optimize the traveling salesperson problem (TSP), written by Cleve Moler.
  2259. tsp_moler_test
  2260. tsp_random, an Octave code which seeks a solution of the Traveling Salesperson Problem (TSP), by accepting a table of city-to-city distances, and randomly generating round trips that visit every city, returning the tour of shortest length.
  2261. tsp_random_test
  2262. two_body_ode, an Octave code which sets up and solves ordinary differential equations (ODE) which simulate the behavior of two bodies, constrained to lie in a plane, moving under the influence of gravity, with one body much more massive than the other.
  2263. two_body_ode_test
  2264. ubvec, an Octave code which demonstrates how nonnegative integers can be stored as unsigned binary vectors (UBVEC), and arithmetic can be performed on them.
  2265. ubvec_test
  2266. ulam_spiral, an Octave code which displays the integers as a spiral of grid cells, with the primes highlighted, so show that they tend to fall along diagonals, as discovered by Stanislaw Ulam.
  2267. ulam_spiral_test
  2268. unicycle, an Octave code which considers permutations containing a single cycle, sometimes called cyclic permutations.
  2269. unicycle_test
  2270. uniform, an Octave code which implements a uniform random number generator (RNG) for a variety of arithmetic types.
  2271. uniform_test
  2272. unstable_ode, an Octave code which sets up and solves an unstable ordinary differential equation (ODE) which the backward Euler method incorrectly drives to zero.
  2273. unstable_ode_test
  2274. upc, an Octave code which determines the check digit for a Uniform product Code (UPC) or reports whether a given UPC is valid.
  2275. upc_test
  2276. urn_simulation, an Octave code which simulates the experiment of sampling K balls from an urn containing N balls of various colors.
  2277. urn_simulation_test
  2278. usa_box_plot, an Octave code which creates simplified maps of the USA in which each state appears as a box, and the placement of the boxes only roughly corresponds to the relative locations of states on an accurate map.
  2279. usa_box_plot_test
  2280. usa_cvt_geo, an Octave code which explores the creation of a centroidal Voronoi Tessellation (CVT) of the continental United States, based solely on geometric considerations.
  2281. usa_cvt_geo_test
  2282. usa_matrix, an Octave code which defines the adjacency matrix for US states, using a variety of matrix formats.
  2283. usa_matrix_test
  2284. van_der_corput, an Octave code which computes elements of the van der Corput 1-dimensional Quasi Mont Carlo (QMC) sequence, using a simple interface.
  2285. van_der_corput_test
  2286. vandermonde, an Octave code which implements the Bjork-Pereyra algorithm for accurate solution of linear systems involving the Vandermonde matrix.
  2287. vandermonde_test
  2288. vandermonde_approx_1d, an Octave code which finds a polynomial approximant to data y(x) of a 1D argument by setting up and solving an overdetermined linear system for the polynomial coefficients involving the Vandermonde matrix.
  2289. vandermonde_approx_1d_test
  2290. vandermonde_approx_2d, an Octave 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.
  2291. vandermonde_approx_2d_test
  2292. vandermonde_interp_1d, an Octave code which finds a polynomial interpolant to data y(x) of a 1D argument by solving a linear system for the polynomial coefficients involving the Vandermonde matrix.
  2293. vandermonde_interp_1d_test
  2294. vandermonde_interp_2d, an Octave code which finds a polynomial interpolant to data z(x,y) of a 2D argument by solving a linear system for the polynomial coefficients involving the Vandermonde matrix.
  2295. vandermonde_interp_2d_test
  2296. vanderpol_ode, an Octave code which sets up and solves the van der Pol system of ordinary differential equations (ODE).
  2297. vanderpol_ode_test
  2298. vanderpol_ode_period, an Octave code which sets up and solves the ordinary differential equations (ODE) defining the van der Pol oscillator in order to estimate the period of the limit cycle.
  2299. vanderpol_ode_period_test
  2300. variomino, an Octave code which considers variominoes, which are polyominoes in which each square has been assigned a positive label or "variety", and the determination of tilings of a region using a specific set of variominoes.
  2301. variomino_test
  2302. vector, an Octave code which considers a problem involving vectors, which can be considered to belong to equivalence classes, for which an arbitrary collection of coefficients must be gathered, averaged, and then scattered again.
  2303. vector_test
  2304. velocity_verlet, an Octave code which uses a version of the velocity Verlet method to solve a second order ordinary differential equation (ODE) of the form y''=f(t,y).
  2305. velocity_verlet_test
  2306. verlet_simulation, an Octave code which demonstates the use of Verlet integration to simulate simple problems in dynamics, involving changes in position and velocity.
  2307. verlet_simulation_test
  2308. vin, an Octave code which computes the check digit for a Vehicle Identification Number (VIN), or verifies that a given VIN is legitimate.
  2309. vin_test
  2310. voronoi_display, an Octave code which computes and displays the Voronoi diagram of a set of points.
  2311. voronoi_display_test
  2312. voronoi_mountains, an Octave code which makes a mountain plot of a Voronoi diagram, that is, a surface plot of the distance from each point to its nearest Voronoi generator.
  2313. voronoi_mountains_test
  2314. voronoi_neighbors, an Octave code which is given a set of points in the plane and determines the Voronoi adjacency structure, that is, the points which share an edge of the Voronoi diagram.
  2315. voronoi_neighbors_test
  2316. voronoi_plot, an Octave code which estimates the Voronoi neighborhoods of points using sampling, and with a distance based on the L1, L2, LInfinity or arbitrary LP norms;
  2317. voronoi_plot_test
  2318. voronoi_test, an Octave code which calls the built-in voronoi() function, which computes the Voronoi diagram of a set of points.
  2319. vpa_test, an Octave code which uses the Symbolic package to compute arbitrary precision quantities.
  2320. walker_sample, an Octave code which efficiently samples a discrete probability vector using Walker sampling.
  2321. walker_sample_test
  2322. walsh_transform, an Octave code which implements the Walsh data transform.
  2323. walsh_transform_test
  2324. wathen_matrix, an Octave code which compares storage schemes (full, banded, sparse triplet, sparse) and solution strategies (A\x, Linpack, conjugate gradient) for linear systems involving the Wathen matrix, which arises when solving a problem using the finite element method (FEM).
  2325. wathen_matrix_test
  2326. wave_pde, an Octave code which uses the finite difference method (FDM) in space, and the method of lines in time, to set up and solve the partial differential equations (PDE) known as the wave equations, utt = c uxx.
  2327. wave_pde_test
  2328. wavelet, an Octave code which does some simple calculations with wavelet transforms;
  2329. wavelet_test
  2330. web_matrix, an Octave code which stores sample matrices describing a web page network. These matrices are typically very sparse, and the examples here are stored using the sparse triplet (ST) format. They can be used to demonstrate pagerank and other graph algorithms.
  2331. web_matrix_test
  2332. wedge_exactness, an Octave code which investigates the polynomial exactness of a quadrature rule over the interior of the unit wedge in 3D.
  2333. wedge_exactness_test
  2334. wedge_felippa_rule, an Octave code which returns quadrature rules for approximating integrals over the interior of the unit wedge in 3D.
  2335. wedge_felippa_rule_test
  2336. wedge_grid, an Octave code which computes a grid of points over the interior of the unit wedge in 3D.
  2337. wedge_grid_test
  2338. wedge_integrals, an Octave code which returns the exact value of the integral of any monomial over the interior of the unit wedge in 3D.
  2339. wedge_integrals_test
  2340. wedge_monte_carlo, an Octave code which uses the Monte Carlo method to estimate an integral over the interior of the unit wedge in 3D.
  2341. wedge_monte_carlo_test
  2342. weekday, an Octave code which determines the day of the week corresponding to a given date, such as 14 October 1066, Julian calendar, ... which was a Saturday.
  2343. weekday_test
  2344. weekday_zeller, an Octave code which uses the Zeller congruence to determine the day of the week corresponding to a given date, such as 13 July 1989, Gregorian calendar, ... which was a Thursday.
  2345. weekday_zeller_test
  2346. welzl, an Octave code which computes the minimal bounding circle or sphere for a set of points, using algorithms by Welzl or Ritter, by Anton Semechko.
  2347. welzl_test
  2348. will_you_be_alive, an Octave code which carries out the probability simulations described in "Will You Be Alive 10 Years From Now?" by Paul Nahin;
  2349. will_you_be_alive_test
  2350. wishart_matrix, an Octave code which produces sample matrices from the Wishart or Bartlett distributions, useful for sampling random covariance matrices.
  2351. wishart_matrix_test
  2352. wtime, an Octave code which returns a reading of the wall clock time in seconds.
  2353. wtime_test
  2354. xyz_display, an Octave code which displays a 3D plot from a file of point coordinates.
  2355. xyz_display_test
  2356. zero_brent, an Octave code which seeks a solution of a scalar nonlinear equation f(x)=0, by Richard Brent.
  2357. zero_brent_test
  2358. zero_chandrupatla, an Octave 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.
  2359. zero_chandrupatla_test
  2360. zero_itp, an Octave 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.
  2361. zero_itp_test
  2362. zero_laguerre, an Octave 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.
  2363. zero_laguerre_test
  2364. zero_muller, an Octave code which seeks a root of a nonlinear equation using the Muller method, with complex arithmetic.
  2365. zero_muller_test
  2366. zero_rc, an Octave code which seeks a solution of a scalar nonlinear equation f(x)=0, using reverse communication (RC), by Richard Brent.
  2367. zero_rc_test
  2368. ziggurat, an Octave code which implements uniform, normal and exponential random number generators (RNG) using the ziggurat method, by Marsaglia and Tsang.
  2369. ziggurat_test
  2370. zombie_ode, an Octave code which sets up and solves a system of ordinary differential equations (ODE) for a generalized Susceptible-Infected-Recovered (SIR) disease model to simulate a zombie attack, developed by Philip Munz.
  2371. zombie_ode_test
  2372. zoomin, an Octave code which implements many procedures for finding the zero of a scalar nonlinear function.
  2373. zoomin_test


Last revised on 09 July 2024.