subpak


subpak, a Fortran77 code which contains many utility routines.

The code contains routines for a variety of tasks, including the greatest common divisor of two integers, searching, sorting, range, and unique elements of vectors, determinants and inverses of small matrices, and all the primes less than 10,000.

Licensing:

The computer code and data files described and made available on this web page are distributed under the MIT license

Languages:

subpak is available in a C version and a C++ version and a Fortran77 version and a Fortran90 version and a MATLAB version.

Related Programs:

subpak_test

c8lib, a Fortran77 library which implements certain elementary functions for "C8" or double precision complex variables;

I4LIB, a Fortran77 library which contains many utility routines, using "I4" or "single precision integer" arithmetic.

I8LIB, a Fortran77 library which contains many utility routines, using "I8" or "double precision integer" arithmetic.

INDEX, a Fortran77 library which converts a multidimensional vector index to a one-dimensional vector index; it can handle zero and one based indexing schemes, as well as column major and row major conventions.

R4LIB, a Fortran77 library which contains many utility routines, using "R4" or "single precision real" arithmetic.

R8LIB, a Fortran77 library which contains many utility routines, using "R8" or "double precision real" arithmetic.

Reference:

  1. Milton Abramowitz, Irene Stegun,
    Handbook of Mathematical Functions,
    National Bureau of Standards, 1964,
    ISBN: 0-486-61272-4,
    LC: QA47.A34.
  2. Book Industry Study Group,
    The Evolution in Product Identification: Sunrise 2005 and the ISBN-13,
    http://www.bisg.org/docs/The_Evolution_in_Product_ID.pdf
  3. Thomas Cormen, Charles Leiserson, Ronald Rivest,
    Introduction to Algorithms,
    MIT Press, 2001,
    ISBN: 0262032937,
    LC: QA76.C662.
  4. Donald Kreher, Douglas Simpson,
    Combinatorial Algorithms,
    CRC Press, 1998,
    ISBN: 0-8493-3988-X,
    LC: QA164.K73.
  5. Peter Lewis, Allen Goodman, James Miller,
    A Pseudo-Random Number Generator for the System/360,
    IBM Systems Journal,
    Volume 8, 1969, pages 136-143.
  6. MIL-STD 1753,
    Fortran, DoD Supplement to American National Standard X3.9-1978,
    November, 1978.
  7. Albert Nijenhuis, Herbert Wilf,
    Combinatorial Algorithms for Computers and Calculators,
    Second Edition,
    Academic Press, 1978,
    ISBN: 0-12-519260-6,
    LC: QA164.N54.
  8. Branch Rickey,
    Goodby to Some Old Baseball Ideas,
    Life Magazine,
    2 August 1954.
  9. Alan Schwarz,
    Looking Beyond the Batting Average,
    The New York Times,
    Sunday, 1 August 2004.
  10. Daniel Zwillinger, editor,
    CRC Standard Mathematical Tables and Formulae,
    30th Edition,
    CRC Press, 1996,
    ISBN: 0-8493-2479-3,
    LC: QA47.M315.

Source Code:


Last revised on 15 December 2023.