Summary of Math Library v3.02 for NOS 2.x1. General Math1.1 Numberse The natural number. 2.71828182846euler The Euler-Mascheroni number. 0.577215664902i The positive square root of negative one. iinfinite The largest number for NOS 2^1024.pi The circle ratio. 3.14159265359primes Table of the first 2585 prime numbers1.2 General Math RoutinesName Ability Description________________ ______ ____________________________|+| C M R P Adds two numbers|-| C M R P Subtracts a number from another|*| C M R P Multiplies two numbers|/| C M R Divides one number into another|=| C M R P Tests two numbers for equality|<>| C M R P Tests two numbers for inequalityabs C M R Magnitude of a numberacos C M R Arccosine of a numberacosh C M R Hyperbolic arccosine of a numberAirySolution C R Airy solution to Bessel's EquationArrayAve C M R Arithmetic average of arrayArrayMax M R Maximum in arrayArrayMin M R Minimum in arrayArrayRemoveDuplicates C M R Removes duplicates from arrayasin C M R Arcsine of a numberasinh C M R Hyperbolic arcsine of a numberAssocLegendre C R Associated Legendre functionsatan C M R Arctangent of a numberatan2 C M R Arctangent of a y/x in correct quadrantatanh C M R Hyperbolic arctangent of a numberBaseConv M R Converts to and from base 10BernoulliNumber Bernoulli numberBernoulliPolynomial C R Bernoulli function at a numberBessel C R Bessel FunctionBesselSolution C R Bessel and Neumann solution w/derivsBeta C M R Beta functionBinCoeff C M R Binomial CoefficientChebyshevDerivative R Derivative of Chebyshev polynomialChebyshevEval R Chebyshev polynomial evaluationChebyshevFit R Chebyshev polynomial function approximationChebyshevIntegral R Integral of Chebyshev polynomialCleanComplex C M R Returns real if z.i=0Cos C M R Cosine of a numberCosh C M R Hyperbolic cosine of a numberCross C R Cross product of three-vectorCurl Curl of vector of functionsDerivative C M P Derivative of function at valueDirichletBeta C M R Infinite power sum BetaDirichletEta C M R Infinite power sum EtaDirichletLambda C M R Infinite power sum LambdaDivergence Divergence of vector of functionsErf C M R Error function, corrects a NOS 2.0 errorErfC C M R Complimentary Error functionEulerNumber Euler numberEulerPolynomial C R Euler function at a numberExp C M R Exponential of a numberfabs C M R Magnitude of a numberFactorial C M R Factorial functionFloorMod Subtracts until in rangeGamma C M R Gamma functionGaussJordan C M R Simulataneous equations solvingGradient Gradient of a functionHankelSolution C R Hankel solution to Bessel's EquationIncompleteBeta R Incomplete Beta functionIncompleteGamma R Incomplete Gamma functionInfimum Minimum of function in rangeIntegral M P Integral of function between rangeIsComplex C M R Tests if a number is a complex typeIsHermitian C M R Tests if a matrix is HermitianIsOrthogonal C M R Tests if a matrix is orthogonalIsRational C M R Tests if a number is a fractionIsSymmetric C M R Tests if a matrix is symmetricIsSkewSymmetric C M R Tests if a matrix is skew symmetricIsUnitary C M R Tests if a matrix is UnitaryLaplacian R Laplacian differential operatorLBeta C M R Log of Beta functionLBinCoeff C M R Log of BinCoeff functionLegendrePolynomial C R Legendre polynomialsLGamma C M R Log of Gamma functionLinearRegression C M R General Linear Regression of paired dataLog C M R Natural log of a numberLUDecomp C M R Lower-Upper decomposition of matrixLUBacksub C M R LU backsubstitution equation solvingMakeComplex C M R Use this to make a complexMakePolynomial C M R Use this to initialize a polynomialMakeRational M Use this to make a rational numberModifiedBessel C R Modified Bessel FunctionModifiedNeumann C R Modified Neumann FunctionModifiedBesselSolution C R Modified Bessel,Neumann w/derivativesNegate C M R Negates a numberNeumann C R Neumann functionPFE P Polynomial fraction expansionPiDigit Pi digit extraction for various basesPolyGamma C R Derivatives of LGammaPolyLogMod C R Modulus of PolyLog functionPolyNom C M R Evaluates polynomial at a numberPolynomialFit C R Fit x and y data to any polynomialPolynomialToChebyshev R Converts polynomial to Chebyshev polynomialPolynomialZeroes C R Zeroes of a polynomialPow C M R PowerPowMod C R Modulus of Pow functionQGaussIntegral Gauss-Legendre Quadrature integrationReduceRational M R Reduce rational to smallest fractionRemQuo C R P Remainder and quotient of a divisionRiemannSiegelTheta C R Riemann-Siegel Theta functionRiemannSiegelZ C R Riemann-Siegel Z functionRiemannZeta C R Riemann Zeta functionRootSearch C Finds the anser to transcendental equationsRound C M R Rounds to the nearest integerRoundDec C M R Rounds at a decimal placeRoundSigFigs C M R Rounds to some number of significant figuresSin C M R Sine of a numberSinh C M R Hyperbolic sine of a numberSinSeries C M R sine series summationSphericalBessel C R Spherical Bessel FunctionSphericalNeumann C R Spherical Neumann FunctionSphericalBesselSolution C R Spherical Bessel,Neumann w/derivativesSqrt C M R Square root of a numberSquare C M R Square of a numberSupremum Maximum of function in rangeSVDecomp C M R Singular Value decomposition of matrixSVBacksub C M R SV backsubstitution equation solvingSymbolicDerivative M R P Symbolic derivativeSymbolicIntegral M R P Symbolic integralSymbolicEval M R P Evaluation of function objectsTan C M R Tangent of a numberTanh C M R Hyperbolic tangent of a numberUnitNormal Unit normal vector for a functionnote: Functions will handle C = Complex, M = Matrix, R = Rational, P = Polynomial2. Statistical Routines2.1 General Statistical routinesName Description_________ ____________________________SUniform standard Uniform random number generatorSNormal standard Normal random number generatorSGamma standard Gamma random number generatorChoose picks N numbers from a set of numbersArrangements finds how many arrangementsEstimateMode estimates the distibution peak from dataEstimateMedian estimates the distibution median from dataEstimateDiscreteness estimates the discreteness of the dataEstimateProbability estimates the probability at each data pointEstimateCumulation estimates the cumulation at each data point2.2 Distribution propertiesName Description_________ ____________________________name name of the distributiontype 'continuous or 'discreterange the normalized range where the distribution is valid2.3 Distribution functionsName Description_________ ____________________________Test tests data for fitnessGroupPick picks N numbers from distributionNotWithinRange tests a number if within rangeNormalize normalizes a numberUnnormalize reverses normalization of a numberCheckParameters tests parameters if validGenerator generates a random number for distributionProbability probability functionCumulation cumulative functionInverseCumulation inverse of Cumulative functionMean Expectation valueMedian median valueMode peak of distributionStandardDeviation standard deviationEstimator estimates parameters from dataHazard hazard function at a number2.4 Continuous DistributionsName Alternate Name_________ ____________________________BetaCauchyChiSquaredDelta Dirac DeltaExponentialGammaGumbel Extreme-valueLogisticLogNormalMassiveBoson Bose-Einstein (1/2)MassiveFermion Fermi-Dirac (1/2)MasslessBoson Bose-Einstein (2)MasslessFermion Fermi-Dirac (2)MaxwellNormal GaussianParetoPT5 Pearson Type V, Inverted GammaPT6 Pearson Type VIRayleighSnedecor Snedecor's FStudent Student's tUniformvonMisesWeibull2.5 Discrete DistributionsBernoulliBinomialDiscreteUniformGeometricHypergeometricLogarithmicNegativeBinomialPoisson