C Library Mark 5 Documentation
Introduction
Chapter a00 - Library Identification
Chapter a02 - Complex Number Functions
Chapter c02 - Zeros of Polynomials
Chapter c05 - Roots of One or More Transcendental Equations
Chapter c06 - Fourier Transforms
Chapter d01 - Quadrature
-
d01ajc (nag_1d_quad_gen) - 1-D adaptive quadrature,
allowing for badly-behaved integrands
-
d01akc (nag_1d_quad_osc) - 1-D adaptive quadrature,
suitable for oscillating functions
-
d01alc (nag_1d_quad_brkpts) - 1-D adaptive
quadrature, allowing for singularities at specified points
-
d01amc (nag_1d_quad_inf) - 1-D adaptive quadrature
over infinite or semi-infinite interval
-
d01anc (nag_1d_quad_wt_trig) - 1-D adaptive
quadrature, finite interval, sine or cosine weight functions
-
d01apc (nag_1d_quad_wt_alglog) - 1-D adaptive
quadrature, weight with end-point singularities of algebraic-logarithmic
type
-
d01aqc (nag_1d_quad_wt_cauchy) - 1-D adaptive
quadrature, Hilbert transform weight function
-
d01asc (nag_1d_quad_inf_wt_trig) - 1-D adaptive
quadrature, semi-infinite interval, sine or cosine weight function
-
d01bac (nag_1d_quad_gauss) - 1-D Gaussian quadrature
rule evaluation
-
d01fcc (nag_multid_quad_adapt) - Multi-dimensional
adaptive quadrature
-
d01gac (nag_1d_quad_vals) - 1-D integration
of a function defined by data values only
-
d01gbc (nag_multid_quad_monte_carlo) - Multi-dimensional
quadrature, using Monte Carlo method
-
d01sjc (nag_1d_quad_gen_1) - 1-D adaptive quadrature,
allowing for badly-behaved integrands, thread-safe
-
d01skc (nag_1d_quad_osc_1) - 1-D adaptive quadrature,
suitable for oscillating functions, thread-safe
-
d01slc (nag_1d_quad_brkpts_1) - 1-D adaptive
quadrature, allowing for singularities at specified points, thread-safe
-
d01smc (nag_1d_quad_inf_1) - 1-D adaptive quadrature
over infinite or semi-infinite interval, thread-safe
-
d01snc (nag_1d_quad_wt_trig_1) - 1-D adaptive
quadrature, finite interval, sine or cosine weight functions, thread-safe
-
d01spc (nag_1d_quad_wt_alglog_1) - 1-D adaptive
quadrature, weight function with end-point singularities of algebraic-logarithmic
type, thread-safe
-
d01sqc (nag_1d_quad_wt_cauchy_1) - 1-D adaptive
quadrature, weight function 1/(x-c), Cauchy principal value,
thread-safe
-
d01ssc (nag_1d_quad_inf_wt_trig_1) - 1-D adaptive
quadrature, semi-infinite interval, sine or cosine weight function, thread-safe
-
d01tac (nag_1d_quad_gauss_1) - 1-D Gaussian
quadrature rule evaluation, thread-safe
-
d01wcc (nag_multid_quad_adapt_1) - Multi-dimensional
adaptive quadrature, thread-safe
-
d01xbc (nag_multid_quad_monte_carlo_1) - Multi-dimensional
quadrature, using Monte Carlo method, thread-safe
Chapter d02 - Ordinary Differential Equations
-
d02cjc (nag_ode_ivp_adams_gen) - Ordinary differential
equation solver using a variable-order variable-step Adams method (black
box)
-
d02ejc (nag_ode_ivp_bdf_gen) - Ordinary differential
equations solver, stiff, initial value problems using the Backward Differentiation
Formulae
-
d02gac (nag_ode_bvp_fd_nonlin_fixedbc) - Ordinary
differential equations solver, for simple nonlinear two-point boundary
value problems, using a finite difference technique with deferred correction
-
d02gbc (nag_ode_bvp_fd_lin_gen) - Ordinary
differential equations solver, for general linear two-point boundary value
problems, using a finite difference technique with deferred correction
-
d02pcc (nag_ode_ivp_rk_range) - Ordinary differential
equations solver, initial value problems over a range using Runge-Kutta
methods
-
d02pdc (nag_ode_ivp_rk_onestep) - Ordinary
differential equations solver, initial value problems, one time step using
Runge-Kutta methods
-
d02ppc (nag_ode_ivp_rk_free) - Freeing function
for use with the Runge-Kutta suite (d02p functions)
-
d02pvc (nag_ode_ivp_rk_setup) - Set-up function
for use with nag_ode_ivp_rk_range (d02pcc) and/or nag_ode_ivp_rk_onestep
(d02pdc)
-
d02pwc (nag_ode_ivp_rk_reset_tend) - A function
to re-set the end point following a call to nag_ode_ivp_rk_onestep (d02pdc)
-
d02pxc (nag_ode_ivp_rk_interp) - Ordinary differential
equations solver, computes the solution by interpolation anywhere on an
integration step taken by nag_ode_ivp_rk_onestep (d02pdc)
-
d02pzc (nag_ode_ivp_rk_errass) - A function
to provide global error assessment during an integration with either nag_ode_ivp_rk_range
(d02pcc) or nag_ode_ivp_rk_onestep (d02pdc)
-
d02qfc (nag_ode_ivp_adams_roots) - Ordinary
differential equation solver using Adams method (sophisticated use)
-
d02qwc (nag_ode_ivp_adams_setup) - Set-up function
for nag_ode_ivp_adams_roots (d02qfc)
-
d02qyc (nag_ode_ivp_adams_free) - Freeing function
for use with nag_ode_ivp_adams_roots (d02qfc)
-
d02qzc (nag_ode_ivp_adams_interp) - Interpolation
function for use with nag_ode_ivp_adams_roots (d02qfc)
-
d02rac (nag_ode_bvp_fd_nonlin_gen) - Ordinary
differential equations solver, for general non-linear two-point boundary
value problems, using a finite difference technique with deferred correction
Chapter e01 - Interpolation
-
e01bac (nag_1d_spline_interpolant) - Interpolating
function, cubic spline interpolant, one variable
-
e01bec (nag_monotonic_interpolant) - Interpolating
function, monotonicity-preserving, piecewise cubic Hermite, one variable
-
e01bfc (nag_monotonic_evaluate) - Evaluation
of interpolant computed by nag_monotonic_interpolant (e01bec), function
only
-
e01bgc (nag_monotonic_deriv) - Evaluation of
interpolant computed by nag_monotonic_interpolant (e01bec), function and
first derivative
-
e01bhc (nag_monotonic_intg) - Evaluation of
interpolant computed by nag_monotonic_interpolant (e01bec), definite integral
-
e01dac (nag_2d_spline_interpolant) - Interpolating
function, bicubic spline interpolant, two variables
-
e01sac (nag_2d_scat_interpolant) - A function
to generate a two-dimensional surface interpolating a set of data points,
using either the method of Renka and Cline or using the modified Shepard's
method
-
e01sbc (nag_2d_scat_eval) - A function to evaluate
at a set of points, the two-dimensional interpolant function generated
by nag_2d_scat_interpolant (e01sac)
-
e01szc (nag_2d_scat_free) - Freeing function
for use with nag_2d_scat_eval (e01sbc)
Chapter e02 - Curve and Surface Fitting
-
e02adc (nag_1d_cheb_fit) - Computes the coefficients
of a Chebyshev series polynomial for arbitrary data
-
e02aec (nag_1d_cheb_eval) - Evaluates the coefficients
of a Chebyshev series polynomial
-
e02afc (nag_1d_cheb_interp_fit) - Computes
the coefficients of a Chebyshev series polynomial for interpolated data
-
e02bac (nag_1d_spline_fit_knots) - Least-squares
curve cubic spline fit (including interpolation), one variable
-
e02bbc (nag_1d_spline_evaluate) - Evaluation
of fitted cubic spline, function only
-
e02bcc (nag_1d_spline_deriv) - Evaluation of
fitted cubic spline, function and derivatives
-
e02bdc (nag_1d_spline_intg) - Evaluation of
fitted cubic spline, definite integral
-
e02bec (nag_1d_spline_fit) - Least-squares
cubic spline curve fit, automatic knot placement, one variable
-
e02dcc (nag_2d_spline_fit_grid) - Least-squares
bicubic spline fit with automatic knot placement, two variables (rectangular
grid)
-
e02ddc (nag_2d_spline_fit_scat) - Least-squares
bicubic spline fit with automatic knot placement, two variables (scattered
data)
-
e02dec (nag_2d_spline_eval) - Evaluation of
bicubic spline, at a set of points
-
e02dfc (nag_2d_spline_eval_rect) - Evaluation
of bicubic spline, at a mesh of points
Chapter e04 - Minimizing or Maximizing a Function
Chapter f - Linear Algebra
Chapter f06 - Linear Algebra
-
f06pac (dgemv) - Matrix-vector product, real
rectangular matrix
-
f06pbc (dgbmv) - Matrix-vector product, real
rectangular band matrix
-
f06pcc (dsymv) - Matrix-vector product, real
symmetric matrix
-
f06pdc (dsbmv) - Matrix-vector product, real
symmetric band matrix
-
f06pec (dspmv) - Matrix-vector product, real
symmetric packed matrix
-
f06pfc (dtrmv) - Matrix-vector product, real
triangular matrix
-
f06pgc (dtbmv) - Matrix-vector product, real
triangular band matrix
-
f06phc (dtpmv) - Matrix-vector product, real
triangular packed matrix
-
f06pjc (dtrsv) - System of equations, real
triangular matrix
-
f06pkc (dtbsv) - System of equations, real
triangular band matrix
-
f06plc (dtpsv) - System of equations, real
triangular packed matrix
-
f06pmc (dger) - Rank-1 update, real rectangular
matrix
-
f06ppc (dsyr) - Rank-1 update, real symmetric
matrix
-
f06pqc (dspr) - Rank-1 update, real symmetric
packed matrix
-
f06prc (dsyr2) - Rank-2 update, real symmetric
matrix
-
f06psc (dspr2) - Rank-2 update, real symmetric
packed matrix
-
f06sac (zgemv) - Matrix-vector product, complex
rectangular matrix
-
f06sbc (zgbmv) - Matrix-vector product, complex
rectangular band matrix
-
f06scc (zhemv) - Matrix-vector product, complex
Hermitian matrix
-
f06sdc (zhbmv) - Matrix-vector product, complex
Hermitian band matrix
-
f06sec (zhpmv) - Matrix-vector product, complex
Hermitian packed matrix
-
f06sfc (ztrmv) - Matrix-vector product, complex
triangular matrix
-
f06sgc (ztbmv) - Matrix-vector product, complex
triangular band matrix
-
f06shc (ztpmv) - Matrix-vector product, complex
triangular packed matrix
-
f06sjc (ztrsv) - System of equations, complex
triangular matrix
-
f06skc (ztbsv) - System of equations, complex
triangular band matrix
-
f06slc (ztpsv) - System of equations, complex
triangular packed matrix
-
f06smc (zgeru) - Rank-1 update, complex rectangular
matrix, unconjugated vector
-
f06snc (zgerc) - Rank-1 update, complex rectangular
matrix, conjugated vector
-
f06spc (zher) - Rank-1 update, complex Hermitian
matrix
-
f06sqc (zhpr) - Rank-1 update, complex Hermitian
packed matrix
-
f06src (zher2) - Rank-2 update, complex Hermitian
matrix
-
f06ssc (zhpr2) - Rank-2 update, complex Hermitian
packed matrix
-
f06yac (dgemm) - Matrix-matrix product, two
real rectangular matrices
-
f06ycc (dsymm) - Matrix-matrix product, one
real symmetric matrix, one real rectangular matrix
-
f06yfc (dtrmm) - Matrix-matrix product, one
real triangular matrix, one real rectangular matrix
-
f06yjc (dtrsm) - Solves a system of equations
with multiple right-hand sides, real triangular coefficient matrix
-
f06ypc (dsyrk) - Rank-k update of a
real symmetric matrix
-
f06yrc (dsyr2k) - Rank-2k update of
a real symmetric matrix
-
f06zac (zgemm) - Matrix-matrix product, two
complex rectangular matrices
-
f06zcc (zhemm) - Matrix-matrix product, one
complex Hermitian matrix, one complex rectangular matrix
-
f06zfc (ztrmm) - Matrix-matrix product, one
complex triangular matrix, one complex rectangular matrix
-
f06zjc (ztrsm) - Solves system of equations
with multiple right-hand sides, complex triangular coefficient matrix
-
f06zpc (zherk) - Rank-k update of a
complex Hermitian matrix
-
f06zrc (zher2k) - Rank-2k update of
a complex Hermitian matrix
-
f06ztc (zsymm) - Matrix-matrix product, one
complex symmetric matrix, one complex rectangular matrix
-
f06zuc (zsyrk) - Rank-k update of a
complex symmetric matrix
-
f06zwc (zsyr2k) - Rank-2k update of
a complex symmetric matrix
Chapter f11 - Sparse Linear Algebra
Chapter g01 - Simple Calculations on Statistical Data
Chapter g02 - Regression Analysis
Chapter g03 - Multivariate Methods
Chapter g04 - Analysis of Variance
Chapter g05 - Random Number Generators
Chapter g07 - Univariate Estimation
Chapter g10 - Smoothing in Statistics
Chapter g11 - Contingency Table Analysis
Chapter g12 - Survival Analysis
Chapter g13 - Time Series Analysis
-
g13abc (nag_tsa_auto_corr) - Sample autocorrelation
function
-
g13acc (nag_tsa_auto_corr_part) - Partial autocorrelation
function
-
g13bec (nag_tsa_multi_inp_model_estim) - Estimation
for time series models
-
g13bjc (nag_tsa_multi_inp_model_forecast) -
Forecasting function
-
g13bxc (nag_tsa_options_init) - Initialisation
function for option setting
-
g13byc (nag_tsa_transf_orders) - Function to
allocate memory to transfer function model orders
-
g13bzc (nag_tsa_transf_free) - Freeing function
for the structure holding the transfer function model orders
-
g13cbc (nag_tsa_spectrum_univar) - Univariate
time series, smoothed sample spectrum using spectral smoothing by the trapezium
frequency (Daniell) window
-
g13cdc (nag_tsa_spectrum_bivar) - Multivariate
time series, smoothed sample cross spectrum using spectral smoothing by
the trapezium frequency (Daniell) window
-
g13cec (nag_tsa_cross_spectrum_bivar) - Multivariate
time series, cross amplitude spectrum, squared coherency, bounds, univariate
and bivariate (cross) spectra
-
g13cfc (nag_tsa_gain_phase_bivar) - Multivariate
time series, gain, phase, bounds, univariate and bivariate (cross) spectra
-
g13cgc (nag_tsa_noise_spectrum_bivar) - Multivariate
time series, noise spectrum, bounds, impulse response function and its
standard error
-
g13eac (nag_kalman_sqrt_filt_cov_var) - One
iteration step of the time-varying Kalman filter recursion using the square
root covariance implementation
-
g13ebc (nag_kalman_sqrt_filt_cov_invar) - One
iteration step of the time-invariant Kalman filter recursion using the
square root covariance implementation with (A,C) in lower
observer Hessenberg form
-
g13ecc (nag_kalman_sqrt_filt_info_var) - One
iteration step of the time-varying Kalman filter recursion using the square
root information implementation
-
g13edc (nag_kalman_sqrt_filt_info_invar) -
One iteration step of the time-invariant Kalman filter recursion using
the square root information implementation with (A**-1,A**-1
B) in upper controller Hessenberg form
-
g13ewc (nag_trans_hessenberg_observer) - Unitary
state-space transformation to reduce (A,C) to lower or upper
observer Hessenberg form
-
g13exc (nag_trans_hessenberg_controller) -
Unitary state-space transformation to reduce (B,A) to lower
or upper controller Hessenberg form
-
g13xzc (nag_tsa_free) - Freeing function for
use with g13 option setting
Chapter h - Operations Research
Chapter m01 - Sorting
Chapter s - Approximations of Special Functions
-
s10aac (nag_tanh) - Hyperbolic tangent, tanh
x
-
s10abc (nag_sinh) - Hyperbolic sine, sinh x
-
s10acc (nag_cosh) - Hyperbolic cosine, cosh
x
-
s11aac (nag_arctanh) - Inverse hyperbolic tangent,
arctanh x
-
s11abc (nag_arcsinh) - Inverse hyperbolic sine,
arcsinh x
-
s11acc (nag_arccosh) - Inverse hyperbolic cosine,
arccosh x
-
s13aac (nag_exp_integral) - Exponential integral
E_1(x)
-
s13acc (nag_cos_integral) - Cosine integral
Ci(x)
-
s13adc (nag_sin_integral) - Sine integral Si(x)
-
s14aac (nag_gamma) - Gamma function
-
s14abc (nag_log_gamma) - Log Gamma function
-
s14bac (nag_incomplete_gamma) - Incomplete
gamma functions P(a,x) and Q(a,x)
-
s15abc (nag_cumul_normal) - Cumulative normal
distribution function, P(x)
-
s15acc (nag_cumul_normal_complem) - Complement
of cumulative normal distribution function, Q(x)
-
s15adc (nag_erfc) - Complement of error function
erfc x
-
s15aec (nag_erf) - Error function erf x
-
s17acc (nag_bessel_y0) - Bessel function Y_0(x)
-
s17adc (nag_bessel_y1) - Bessel function Y_1(x)
-
s17aec (nag_bessel_j0) - Bessel function J_0(x)
-
s17afc (nag_bessel_j1) - Bessel function J_1(x)
-
s17agc (nag_airy_ai) - Airy function Ai(x)
-
s17ahc (nag_airy_bi) - Airy function Bi(x)
-
s17ajc (nag_airy_ai_deriv) - Airy function
Ai'(x)
-
s17akc (nag_airy_bi_deriv) - Airy function
Bi'(x)
-
s18acc (nag_bessel_k0) - Modified Bessel function
K_0(x)
-
s18adc (nag_bessel_k1) - Modified Bessel function
K_1(x)
-
s18aec (nag_bessel_i0) - Modified Bessel function
I_0(x)
-
s18afc (nag_bessel_i1) - Modified Bessel function
I_1(x)
-
s18ccc (nag_bessel_k0_scaled) - Scaled modified
Bessel function e**x K_0(x)
-
s18cdc (nag_bessel_k1_scaled) - Scaled modified
Bessel function e**x K_1(x)
-
s18cec (nag_bessel_i0_scaled) - Scaled modified
Bessel function e**-|x| I_0(x)
-
s18cfc (nag_bessel_i1_scaled) - Scaled modified
Bessel function e**-|x| I_1(x)
-
s19aac (nag_kelvin_ber) - Kelvin function ber
x
-
s19abc (nag_kelvin_bei) - Kelvin function bei
x
-
s19acc (nag_kelvin_ker) - Kelvin function ker
x
-
s19adc (nag_kelvin_kei) - Kelvin function kei
x
-
s20acc (nag_fresnel_s) - Fresnel integral S(x)
-
s20adc (nag_fresnel_c) - Fresnel integral C(x)
-
s21bac (nag_elliptic_integral_rc) - Degenerate
symmetrised elliptic integral of 1st kind R_c(x,y)
-
s21bbc (nag_elliptic_integral_rf) - Symmetrised
elliptic integral of 1st kind R_f(x,y,z)
-
s21bcc (nag_elliptic_integral_rd) - Symmetrised
elliptic integral of 2nd kind R_d(x,y,z)
-
s21bdc (nag_elliptic_integral_rj) - Symmetrised
elliptic integral of 3rd kind R_j(x,y,z,r)
Chapter x01 - Mathematical Constants
Chapter x02 - Machine Constants
© The Numerical Algorithms Group Ltd, Oxford UK, 1998