CERNLIB - Short writeups
CERN Program Library -- Short Writeups
B - Elementary Functions
- PRMFCT (B002) HTML, PS
- Prime Numbers and Prime Factor Decomposition
- RBINOM (B100) HTML, PS
- Binomial Coefficient
- ATG (B101) HTML, PS
- Arc Tangent Function
- ASINH (B102) HTML, PS
- Hyperbolic Arcsine
- RPLNML (B105) HTML, PS
- Value of a Polynomial
- RSRTNT (B300) HTML, PS
- An integral of type R(x,sqrt(a+bx+x2))
C- Equations and Special Functions
RZEROX (C200) HTML, PS
Zero of a Function of One Real Variable
RSNLEQ (C201) HTML, PS
Numerical Solution of Systems of Nonlinear Equations
RMULLZ (C202) HTML, PS
Zeros of a Real Polynomial
RZERO (C205) HTML, PS
Zero of a Function of One Real Variable
RRTEQ3 (C207) HTML, PS
Roots of a Cubic Equation
RRTEQ4 (C208) HTML, PS
Roots of a Quartic Equation
CPOLYZ (C209) HTML, PS
Zeros of a Complex Polynomial
NZERFZ (C210) HTML, PS
Number of Zeros of a Complex Function
ERF (C300) HTML, PS
Error Function and Complementary Error Function
FREQ (C301) HTML, PS
Normal Frequency Function
GAMMA (C302) HTML, PS
Gamma Function for Positive Argument
GAMMF (C303) HTML, PS
Gamma Function for Real Argument
ALGAMA (C304) HTML, PS
Logarithm of the Gamma Function
CGAMMA (C305) HTML, PS
Gamma Function for Complex Argument
CLGAMA (C306) HTML, PS
Logarithm of the Gamma Function for Complex Argument
CCLBES (C309) HTML, PS
Coulomb Wave, Bessel, and Spherical Bessel Functions for Complex Argument(s) and Order
BESJ0 (C312) HTML, PS
Bessel Functions J and Y of Orders Zero and One
BESI0 (C313) HTML, PS
Modified Bessel Functions I and K of Orders Zero and One
RRIZET (C315) HTML, PS
Riemann Zeta Function
RPSIPG (C316) HTML, PS
Psi (Digamma) and Polygamma Functions
CPSIPG (C317) HTML, PS
Psi (Digamma) and Polygamma Functions for Complex Argument
RELFUN (C318) HTML, PS
Jacobian Elliptic Functions sn, cn, dn
CELFUN (C320) HTML, PS
Jacobian Elliptic Functions sn, cn, dn for Complex Argument
CGPLG (C321) HTML, PS
Nielsen's Generalized Polylogarithm
RFRSIN (C322) HTML, PS
Fresnel Integrals
RFERDR (C323) HTML, PS
Fermi-Dirac Function
RATANI (C324) HTML, PS
Arctangent integral
RCLAUS (C326) HTML, PS
Clausen Function
BSIR4 (C327) HTML, PS
Modified Bessel Functions I and K of Order 1/4, 1/2 and 3/4
CWHITM (C328) HTML, PS
Whittaker Function M of Complex Argument and Complex Indices
RASLGF (C330) HTML, PS
Legendre and Associated Legendre Functions
RFCONC (C331) HTML, PS
Conical Functions of the First Kind
RDILOG (C332) HTML, PS
Dilogarithm Function
RGAPNC (C334) HTML, PS
Incomplete Gamma Functions
CWERF (C335) HTML, PS
Complex Error Function
RSININ (C336) HTML, PS
Sine and Cosine Integrals
REXPIN (C337) HTML, PS
Exponential Integral
CEXPIN (C338) HTML, PS
Exponential Integral for Complex Argument
RDAWSN (C339) HTML, PS
Dawson's Integral
BSIR3 (C340) HTML, PS
Modified Bessel Functions I and K of Order 1/3 and 2/3
BSKA (C341) HTML, PS
Modified Bessel Functions K of Certain Order
RSTRH0 (C342) HTML, PS
Struve Functions of Orders Zero and One
BSJA (C343) HTML, PS
Bessel Functions J and I with Positive Argument and Non-Integer Order
CBSJA (C344) HTML, PS
Bessel Functions J with Complex Argument and Non-Integer Order
RBZEJY (C345) HTML, PS
Zeros of Bessel Functions J and Y
RELI1 (C346) HTML, PS
Elliptic Integrals of First, Second, and Third Kind
RELI1C (C347) HTML, PS
Complete Elliptic Integrals of First, Second, and Third Kind
CELINT (C348) HTML, PS
Elliptic Integral for Complex Argument
RTHETA (C349) HTML, PS
Jacobian Theta Functions
D - Integration, Minimization, Non-linear Fitting
- SIMPS (D101) HTML, PS
- Integration by Simpson's Rule
- RADAPT (D102) HTML, PS
- Adaptive Gaussian Quadrature
- GAUSS (D103) HTML, PS
- Adaptive Gaussian Quadrature
- RCAUCH (D104) HTML, PS
- Cauchy Principal Value Integration
- RTRINT (D105) HTML, PS
- Integration over a Triangle
- RGS56P (D106) HTML, PS
- Gaussian Quadrature with Five- and Six-Point Rules
- RGQUAD (D107) HTML, PS
- N-Point Gaussian Quadrature
- TRAPER (D108) HTML, PS
- Trapezoidal Rule Integration with an Estimated Error
- RGMLT (D110) HTML, PS
- Gaussian Quadrature for Multiple Integrals
- CGAUSS (D113) HTML, PS
- Adaptive Complex Integration Along a Line Segment
- RIWIAD (D114) HTML, PS
- Adaptive Multidimensional Monte-Carlo Integration
- RADMUL (D120) HTML, PS
- Adaptive Quadrature for Multiple Integrals over N-Dimensional Rectangular Regions
- DIVON4 (D151) HTML, PS
- Multidimensional Integration or Random Number Generation
- RRKSTP (D200) HTML, PS
- First-order Differential Equations (Runge--Kutta)
- RDEQBS (D201) HTML, PS
- First-order Differential Equations (Gragg--Bulirsch--Stoer)
- RDEQMR (D202) HTML, PS
- First-order Differential Equations (Runge--Kutta--Merson)
- RRKNYS (D203) HTML, PS
- Second-order Differential Equations (Runge--Kutta--Nyström)
- EPDE1 (D300) HTML, PS
- Elliptic Partial Differential Equation
- ELPAHY (D302) HTML, PS
- Fast Partial Differential Equation Solver
- RDERIV (D401) HTML, PS
- Numerical Differentiation
- LEAMAX (D501) HTML, PS
- Constrained Non-Linear Least Squares and Maximum Likelihood Estimation
- RMINFC (D503) HTML, PS
- Minimum of a Function of One Variable
- MINUIT (D506) HTML, PS
- Function Minimization and Error Analysis
- FUMILI (D510) HTML, PS
- Fitting Chisquare and Likelihood Functions
- RFRDH1 (D601) HTML, PS
- Solution of a Linear Fredholm Integral Equation of Second Kind
- RFT (D700) HTML, PS
- Real Fast Fourier Transform
- CFT (D702) HTML, PS
- Complex Fast Fourier Transform
- RFSTFT (D705) HTML, PS
- Real Fast Fourier Transform
- CFSTFT (D706) HTML, PS
- Complex Fast Fourier Transform
E- Interpolation, Approximations, Linear Fitting
- POLINT (E100) HTML, PS
- Polynomial Interpolation
- MAXIZE (E102) HTML, PS
- Maximum and Minimum Elements of Arrays
- AMAXMU (E103) HTML, PS
- Largest Absolute Number in Scattered Vector
- FINT (E104) HTML, PS
- Multidimensional Linear Interpolation
- DIVDIF (E105) HTML, PS
- Function Interpolation
- LOCATR (E106) HTML, PS
- Binary Search for Element in Ordered Array
- RLSQPM (E201) HTML, PS
- Least Squares Polynomial Fit
- LSQ (E208) HTML, PS
- Least Squares Polynomial Fit
- NORBAS (E210) HTML, PS
- Polynomial Splines / Normalized B-Splines
- RCSPLN (E211) HTML, PS
- Cubic Splines and their Integrals
- RCHEBN (E222) HTML, PS
- Solution of Overdetermined Linear System in the Chebychev Norm
- TL (E230) HTML, PS
- Constrained and Unconstrained Linear Least Squares Fitting
- LFIT (E250) HTML, PS
- Least-Squares Fit to Straight Line
- PARLSQ (E255) HTML, PS
- Least-Squares Fit to Parabola
- RCHECF (E406) HTML, PS
- Chebyshev Series Coefficients of a Function
- RCHSUM (E407) HTML, PS
- Summation of Chebyshev Series
- RCHPWS (E408) HTML, PS
- Conversion of Chebyshev to Power and Power to Chebyshev Series
- RTRGSM (E409) HTML, PS
- Summation of Trigonometric Series
F- Matrices, Vectors and Linear Equations
- LAPACK (F001) HTML, PS
- Linear Algebra Package
- RVADD (F002) HTML, PS
- Elementary Vector Processing
- RMADD (F003) HTML, PS
- Elementary Matrix Processing
- RMMLT (F004) HTML, PS
- Matrix Multiplication
- RINV (F010) HTML, PS
- Linear Equations, Matrix Inversion
- RFACT (F011) HTML, PS
- Repeated Solution of Linear Equations, Matrix Inversion, Determinant
- RSINV (F012) HTML, PS
- Symmetric Positive-Definite Linear Systems
- POLROT (F105) HTML, PS
- Rotate a Three-Dimensional Polar Coordinate System
- MXPACK (F110) HTML, PS
- TC Matrix Manipulation Package
- TR (F112) HTML, PS
- Manipulation of Triangular and Symmetric Matrices
- DOTI (F116) HTML, PS
- Scalar Product of Two Space-Time Vectors
- CROSS (F117) HTML, PS
- Vector Product of Two 3-Vectors
- ROT (F118) HTML, PS
- Rotating a 3-Vector
- VECMAN (F121) HTML, PS
- Vector Algebra
- SCATTER (F122) HTML, PS
- Search Operations on Sparse Vectors
- BVSL (F123) HTML, PS
- Bit Vector Manipulation Package
- MXDIPR (F150) HTML, PS
- Direct or Tensor Matrix Product
- RBEQN (F406) HTML, PS
- Banded Linear Equations
- RLHOIN (F500) HTML, PS
- Linear Homogeneous Inequalities
G - Statistical Analysis and Probability
- PROB (G100) HTML, PS
- Upper Tail Probability of Chi-Squared Distribution
- CHISIN (G101) HTML, PS
- Inverse of Chi-Square Distribution
- PROBKL (G102) HTML, PS
- Kolmogorov Distribution
- TKOLMO (G103) HTML, PS
- Kolmogorov Test
- STUDIS (G104) HTML, PS
- Student's \ t-Distribution and Its Inverse
- GAUSIN (G105) HTML, PS
- Inverse of Normal Frequency Function
- GAMDIS (G106) HTML, PS
- Gamma Distribution
- LANDAU (G110) HTML, PS
- Landau Distribution
- VAVLOV (G115) HTML, PS
- Approximate Vavilov Distribution and its Inverse
- VVILOV (G116) HTML, PS
- Vavilov Density and Distribution Functions
- RANF (G900) HTML, PS
- Random Number Generator
H - Operation Research Techniques and Management Science
- RSMPLX (H101) HTML, PS
- Linear Optimization Using the Simplex Algorithm
- ASSNDX (H301) HTML, PS
- Assignment Problem
I - Input/Output
- EPIO (I101) HTML, PS
- EP Standard Format Input/Output Package
- KUIP (I202) HTML, PS
- KUIP - Kit for a User Interface Package
- FFREAD (I302) HTML, PS
- Format-Free Input Processing
J - Output and Graphical Data Presentation
- VIZPRI (J200) HTML, PS
- Print Large Characters
- BINSIZ (J530) HTML, PS
- Reasonable Intervals for Histogram Binning
L - Executive Routines
- COMIS (L210) HTML, PS
- COMIS - Compilation and Interpretation System
- PATCHY (L400) HTML, PS
- Source Code Maintenance
M - Data Handling
- SORTZV (M101) HTML, PS
- Sort One-Dimensional Array
- FLPSOR (M103) HTML, PS
- Sort One-Dimensional Array into Itself
- SORCHA (M104) HTML, PS
- Sort One-Dimensional Character Array into Itself
- SORTR (M107) HTML, PS
- Sort Rows of a Matrix
- SORTRQ (M109) HTML, PS
- Sort Rows of a Matrix
- PSCALE (M215) HTML, PS
- Find Power-of-Ten Scale for Printing
- IE3CONV (M220) HTML, PS
- Conversion To and From IEEE Number Format
- CHTOI (M400) HTML, PS
- Portable Conversion Between Type CHARACTER and Type INTEGER
- UBUNCH (M409) HTML, PS
- Concentrate and Disperse Character Strings
- BITBYT (M421) HTML, PS
- Package for Handling Bits and Bytes
- PACBYT (M422) HTML, PS
- Handling Packed Vectors of Bytes
- INCBYT (M423) HTML, PS
- Increment a Byte of a Packed Vector
- BLOW (M426) HTML, PS
- Unpack Full Words into Bytes
- PKCHAR (M427) HTML, PS
- Pack/Unpack Continuous Byte-strings
- LOCBYT (M428) HTML, PS
- Search for Byte-Content
- NUMBIT (M429) HTML, PS
- Number of One-Bits in a Word
- IFROMC (M431) HTML, PS
- Convert Between Character String and Packed ASCII Form
- CHPACK (M432) HTML, PS
- Utility Routines for Character String Parsing and Construction
- INDEXX (M433) HTML, PS
- Utility Package for Character Manipulation
- VXINV (M434) HTML, PS
- Fast VAX Byte Inversion
- BUNCH (M436) HTML, PS
- Pack Bytes into Full Words
- GETBIT (M437) HTML, PS
- Set or Retrieve a Bit in a String
- BTMOVE (M438) HTML, PS
- Move Bit String
- GETBYT (M439) HTML, PS
- Set or Retrieve a Bit String
- BITPAK (M441) HTML, PS
- Handling Bits and Bytes, Bit Zero the Least Significant
- NAMEFD (M442) HTML, PS
- Fortran Emulation of VM/CMS NAMEFIND Command
- IUSAME (M501) HTML, PS
- Locating a String of Same Words
- UOPTC (M502) HTML, PS
- Decoding Options Characters
- UBITS (M503) HTML, PS
- Locate the One-Bits of a Word or an Array
- LENOCC (M507) HTML, PS
- Occupied Length of a Character String
- BITPOS (M508) HTML, PS
- Find One-Bits in a String
N - Debugging, Error Handlng
- KERSET (N001) HTML, PS
- Error Processing for Sections A-H of KERNLIB
- MTLSET (N002) HTML, PS
- Error Processing for MATHLIB
- LOCF (N100) HTML, PS
- Address of a Variable
- IUWEED (N103) HTML, PS
- Detect Indefinite and Infinite in an Array
- TRACEQ (N105) HTML, PS
- Print Trace-Back
- TCDUMP (N203) HTML, PS
- Memory Dump
Q - Service or Housekeeping Programming Aids
- ZEBRA (Q100) HTML, PS
- Dynamic Data Structure and Memory Manager
- HIGZ (Q120) HTML, PS
- High Level Interface to Graphics and Zebra
- PAW (Q121) HTML, PS
- PAW - Physics Analysis Workstation Package
- SIGMA (Q122) HTML, PS
- SIGMA - System for Interactive Graphical Mathematical Applications
- FATMEN (Q123) HTML, PS
- Distributed File and Tape Management System
- CSPACK (Q124) HTML, PS
- Client Server Routines and Utilities
- HEPDB (Q180) HTML, PS
- Distributed Database Management System
- ZBOOK (Q210) HTML, PS
- Dynamic Memory Management
- INDENT (Q901) HTML, PS
- Indent Fortran Source
- FLOP (Q902) HTML, PS
- FLOP - Fortran Language Oriented Parser
- CONVERT (Q904) HTML, PS
- Fortran 77 to Fortran 90 source form conversion tool
- WYLBUR (Q905) HTML, PS
- Wylbur Phoenix -- a Line Editor for ASCII Text Files
T - Magnet and Beam Design, Electronics
- POISCR (T604) HTML, PS
- Solution of Poisson's or Laplace's Equation in Two-Dimensional Regions
U - Quantum Mechanics, Particle Physics
- LOREN4 (U101) HTML, PS
- Lorentz Transformation
- LORENF (U102) HTML, PS
- Lorentz Transformations
- RWIG3J (U111) HTML, PS
- Wigner 3-j, 6-j, 9-j Symbols; Clebsch-Gordan, Racah W-, Jahn U-Coefficients
- RTCLGN (U112) HTML, PS
- Clebsch-Gordan Coefficients in Rational Form
- RDJMNB (U501) HTML, PS
- Beta-Term in Wigner's D-Function
V - Random Numbers and General Purpose Utilities
- RNDM (V104) HTML, PS
- Uniform Random Numbers
- NRAN (V105) HTML, PS
- Arrays of Uniform Random Numbers
- RANMAR (V113) HTML, PS
- Fast Uniform Random Number Generator
- RANECU (V114) HTML, PS
- Uniform Random Number Generator
- RANLUX (V115) HTML, PS
- Uniform Random Numbers of Guaranteed Quality
- RM48 (V116) HTML, PS
- Double Precision Uniform Random Numbers
- RNORML (V120) HTML, PS
- Gaussian-distributed Random Numbers
- CORSET (V122) HTML, PS
- Correlated Gaussian-distributed Random Numbers
- RAN3D (V130) HTML, PS
- Random Three-Dimensional Vectors
- RN3DIM (V131) HTML, PS
- Random Two- and Three-Dimensional Vectors
- RNGAMA (V135) HTML, PS
- Gamma or Chi-Square Random Numbers
- RNPSSN (V136) HTML, PS
- Poisson Random Numbers
- RNBNML (V137) HTML, PS
- Binomial Random Numbers
- RNMNML (V138) HTML, PS
- Multinomial Random Numbers
- RNHRAN (V149) HTML, PS
- Random Numbers According to Any Histogram
- HISRAN (V150) HTML, PS
- Random Numbers According to Any Histogram
- FUNRAN (V151) HTML, PS
- Random Numbers According to Any Function
- FUNLUX (V152) HTML, PS
- Random Numbers According to Any Function
- PERMU (V202) HTML, PS
- Permutations and Combinations
- UZERO (V300) HTML, PS
- Preset Parts of an Array
- UCOPY (V301) HTML, PS
- Copy an Array
- UCOCOP (V302) HTML, PS
- Copy a Scattered Vector
- IUCOMP (V304) HTML, PS
- Search a Vector for a Given Element
- PROXIM (V306) HTML, PS
- Adjusting an Angle to Another Angle
- GRAPH (V401) HTML, PS
- Find Compatible Node-Nets in an Incompatibility Graph
- RVNSPC (V700) HTML, PS
- Volume of Intersection of a Circular Cylinder with a Sphere
W - High Energy Physics Simulation, Kinematics, Phase Space
- TRSPRT (W150) HTML, PS
- Transport, Second-Order Beam Optics
- TURTLE (W151) HTML, PS
- Beam Transport Simulation, Including Decay
- FOWL (W505) HTML, PS
- General Monte-Carlo Phase-Space
- GENBOD (W515) HTML, PS
- N-Body Monte-Carlo Event Generator
Y - Statistical Data Analysis and Presentation
- IUCHAN (Y201) HTML, PS
- Find Histogram-Channel
- HBOOK (Y250) HTML, PS
- Statistical Analysis and Histogramming
- HPLOT (Y251) HTML, PS
- HPLOT : HBOOK Graphics Interface for Histogram Plotting
Z - Miscellaneous System-Dependent Facilities
- KERNGT (Z001) HTML, PS
- Print KERNLIB Version Numbers
- DATIME (Z007) HTML, PS
- Job Time and Date
- CALDAT (Z009) HTML, PS
- Calendar Date Conversion
- UMON (Z020) HTML, PS
- Usage Monitor for VAX/VMS
- ABEND (Z035) HTML, PS
- Abnormal Termination of Fortran Programs
- ABUSER (Z036) HTML, PS
- Intercept a Fortran Abend on IBM
- VAXAST (Z037) HTML, PS
- Routines to Handle Control-C Interrupts on Vax
- QNEXTE (Z041) HTML, PS
- Restart of Next Event
- JUMPXN (Z042) HTML, PS
- Calling a Subroutine by its Address
- INTRAC (Z044) HTML, PS
- Identify Job as Interactive
- IFBATCH (Z045) HTML, PS
- Identify Job as Running in Batch Mode
- XINOUT (Z203) HTML, PS
- Short List Reading and Writing
- IARGC (Z264) HTML, PS
- Returns Command Line Arguments
- CINTF (Z265) HTML, PS
- Immediate Interface Routines to the C Library
- WHOAMI (Z266) HTML, PS
- Get the name of the executing module
- FTOVAX (Z267) HTML, PS
- Convert File-name to and from UNIX Syntax
- VAXTIO (Z301) HTML, PS
- VAX Fortran Interface for Reading and Writing 'Foreign' Tapes
- KAPACK (Z303) HTML, PS
- Random Access I/O Using Keywords
- CFIO (Z310) HTML, PS
- Handle Fixed-length Records on Unix Streams
- CIO (Z311) HTML, PS
- Handle Unix Disk Files
- TMREAD (Z313) HTML, PS
- Terminal Dialogue Routines
If you find errors or have suggestions, please contact:
M.G. (24 Feb. 1997)