C/Math Toolchest
Technical Specifications:
The C/Math Toolchest (TM) library contains over 135 of the most often used
functions in science and engineering. hlso included is GRAFIX (TM), a graphical
data analysis program. Prebuilt libraries are included for the DOS versions of
the C and C++ compilers from Mix ®, Borland ®, and Microsoft ®. For
other compilers or operating systems, you must purchase the C/Math Library
Source to build the library. You may also purchase the source code for the GRAFIX
(TM) program. The C/Math GRAFIX Source is approximately 5000 lines of C code,
60% of which is a general purpose text and graphics library that can be used by
your own programs.
Mathematics Functions
Complex Arithmetic
- Cadd................add two complex numbers
- Cdiv................divide two complex numbers
- Cmag................magnitude of complex
numbers
- Complx..............form complex from
real/imaginary
- Conjg...............conjugate of complex number
- CscalR..............scale complex by real
- Csqrt...............square root of complex
number
- Csub................subtract two complex
numbers
Matrix and Vector Arithmetic
- Cmxconjg............compute conjugate of
complex matrix
- Cmxmag..............compute magnitude of
complex matrix
- CmxscalC............scale matrix by complex
number
- Cvconjg.............compute conjugate of
complex vector
- CvscalC.............scale vector by a complex
number
- lineqn/Clineqn......solve system of linear
equations
- mxadd/Cmxadd........add two matrices
- mxcopy/Cmxcopy......copy matrix
- mxdeterm/Cmxdeter...compute determinant of
matrix
- mxdup/Cmxdup........duplicate matrix
- mxident.............create identity matrix
- mxinit/Cmxinit......initialize matrix
- mxinv/Cmxinv........invert matrix
- mxinv22/Cmxinv22....invert 2 by 2 matrix
- mxinv33/Cmxinv33....invert 3 by 3 matrix
- mxmaxval/Cmxmaxvl...find maximum value in
matrix
- mxminval/Cmxminvl...find minimum value in
matrix
- mxmul/Cmxmul........multiply two matrices
- mxmul1/Cmxmul1......multiply transpose by matrix
- mxmul2/Cmxmul2......multiply matrix by
transpose
- mxscale/CmxscalR....scale matrix by real number
- mxsub/Cmxsub........subtract two matrices
- mxtrace/Cmxtrace....compute matrix trace
- mxtransp/Cmxtrans...create matrix transpose
- pseudinv............solve equations by
pseudo-inverse
- vadd/Cvadd..........add two vectors
- vcopy/Cvcopy........copy vector
- vcross..............compute vector cross
product
- vdot/Cvdot..........compute vector dot product
- vdup/Cvdup..........duplicate vector
- vectomat/Cvectomx...multiply two vectors
- vinit/Cvinit........initialize vector
- vmag/Cvmag..........compute magnitude of vector
- vmaxval/Cvmaxval....find maximum value in
vector
- vminval/Cvminval....find minimum value in
vector
- vmxmul/Cvmxmul......multiply matrix by vector
- vmxmul1/Cvmxmul1....multiply matrix transpose
by vector
- vscale/CvscalR......scale vector by a real
number
- vsub/Cvsub..........subtract two vectors
Probability and Statistics
- binomdst............binomial distribution
probability
- curvreg.............polynomial curve regression
- hyperdst............hypergeometric distribution
probability
- invprob.............inverse normal probability
- least_sq............least-squares regression
- linreg..............linear regression
- normal..............normal random number
generator
- nprob...............normal distribution
probability
- poissdst............Poisson distribution
probability
- poisson.............Poisson random number
generator
- stats...............compute mean and variance
- urand...............uniform random number
generator
Numerical Analysis
- conjgrad............find minimum of function
- deriv...............differentiate data
- deriv1..............differentiate function
- integrat............integrate data
- interp..............interpolate data
- interp1.............interpolate function
- newton..............find zeros of function
- romberg.............integrate function
- spline/spline0......cubic spline interpolation
Signal Processing
- bandpass............design bandpass filter
- convolve............filter data by convolution
- Cpowspec............compute complex power
spectrum
- downsamp............lower data sampling rate
- fftrad2.............Cooley-Tukey radix-2 FFT
- fft42...............Cooley-Tukey
radix-"4+2" FFT
- highpass............design highpass filter
- lowpass.............design lowpass filter
- powspec.............compute real power spectrum
- smooth..............smooth data with lowpass
filter
- tdwindow............create time domain window
Input and Output
- vread/Cvread........read vector from file
- vwrite/Cvwrite......write vector to file
- xyinfo..............read x-y data file header
- xyread..............read x-y data from file
- xywrite.............write x-y data to file
Miscellaneous
- acosh...............inverse hyperbolic cosine
- asinh...............inverse hyperbolic sine
- atanh...............inverse hyperbolic tangent
- besi0/besk0.........0th order modified bessel
- besi1/besk1.........1st order modified bessel
- besin/beskn.........nth order modified bessel
- besj0/besy0.........0th order bessel function
- besj1/besy1.........1st order bessel function
- besjn/besyn.........nth order bessel function
- chebser.............compute Chebyshev series
- combin..............compute combinations
- fact................compute factorial
- logn................base n logarithm
- permut..............comute permutations
- pseries.............compute power series
C/Math Toolchest description
Product List