Imsl.Math namespace contains a wide range of mathematical classes, beginning with basic data types such as complex numbers and matrices and progressing to advanced numerical analysis.

Classes

ClassDescription
AllConstraintsNotSatisfiedException
All constraints are not satisfied.
BadInitialGuessException
Penalty function point infeasible for original problem. Try new initial guess.
Bessel
Collection of Bessel functions.
BoundaryInconsistentException
The boundary conditions are inconsistent.
BoundedLeastSquares
Solves a nonlinear least-squares problem subject to bounds on the variables using a modified Levenberg-Marquardt algorithm.
BoundedVariableLeastSquares
Solve a linear least-squares problem with bounds on the variables.
BoundsInconsistentException
The bounds given are inconsistent.
BsInterpolate
Extension of the BSpline class to interpolate data points.
BsLeastSquares
Extension of the BSpline class to compute a least squares spline approximation to data points.
BSpline
Spline represents and evaluates univariate B-splines.
Cholesky
Cholesky factorization of a matrix of type double.
ComplexFFT
Complex FFT.
ComplexLU
LU factorization of a matrix of type Complex.
ComplexMatrix
Complex matrix manipulation functions.
ComplexSparseCholesky
Sparse Cholesky factorization of a matrix of type ComplexSparseMatrix.
ComplexSparseCholesky..::.NumericFactor
Data structures and functions for the numeric Cholesky factor.
ComplexSparseCholesky..::.SymbolicFactor
Data structures and functions for the symbolic Cholesky factor.
ComplexSparseMatrix
A general complex sparse matrix which is intended to be efficiently and easily updated.
ComplexSparseMatrix..::.SparseArray
The SparseArray class uses public fields to hold the data for a sparse matrix in the Sparse Array format.
ComplexSuperLU
Computes the LU factorization of a general sparse matrix of type ComplexSparseMatrix by a column method and solves a sparse linear system of equations Ax=b.
ConjugateGradient
Solves a real symmetric definite linear system using the conjugate gradient method with optional preconditioning.
ConstraintEvaluationException
Constraint evaluation returns an error with current point.
ConstraintsInconsistentException
The equality constraints are inconsistent.
ConstraintsNotSatisfiedException
No vector x satisfies all of the constraints.
CorrectorConvergenceException
Corrector failed to converge.
CsAkima
Extension of the Spline class to handle the Akima cubic spline.
CsInterpolate
Extension of the Spline class to interpolate data points.
CsPeriodic
Extension of the Spline class to interpolate data points with periodic boundary conditions.
CsShape
Extension of the Spline class to interpolate data points consistent with the concavity of the data.
CsSmooth
Extension of the Spline class to construct a smooth cubic spline from noisy data points.
CsSmoothC2
Extension of the Spline class used to construct a spline for noisy data points using an alternate method.
CsTCB
Extension of the Spline class to handle a tension-continuity-bias (TCB) cubic spline, also known as a Kochanek-Bartels spline and is a generalization of the Catmull-Rom spline.
CyclingOccurringException
The algorithm appears to be cycling. Using refinement may help.
DenseLP
Solves a linear programming problem using an active set strategy.
DidNotConvergeException
Maximum number of iterations exceeded.
Eigen
Collection of Eigen System functions.
EpsilonAlgorithm
The class is used to determine the limit of a sequence of approximations, by means of the Epsilon algorithm of P. Wynn.
EqualityConstraintsException
The variables are determined by the equality constraints.
ErrorTestException
Error test failure detected.
FalseConvergenceException
False convergence, the iterates appear to be converging to a noncritical point.
FeynmanKac
Solves the generalized Feynman-Kac PDE.
FFT
FFT functions.
GenMinRes
Linear system solver using the restarted Generalized Minimum Residual (GMRES) method.
HyperRectangleQuadrature
HyperRectangleQuadrature integrates a function over a hypercube.
IllConditionedException
Problem is singular or ill-conditioned.
InconsistentSystemException
Inconsistent system.
InitialConstraintsException
The constraints at the initial point are inconsistent.
InvalidMPSFileException
Invalid MPS file.
IterationMatrixSingularException
Iteration matrix is singular.
LimitingAccuracyException
Limiting accuracy reached for a singular problem.
LinearlyDependentGradientsException
Working set gradients are linearly dependent.
LU
LU factorization of a matrix of type double.
Matrix
Matrix manipulation functions.
MaxFcnEvalsExceededException
Maximum function evaluations exceeded.
MaxIterationsException
Maximum number of iterations exceeded.
MaxNumberStepsAllowedException
Maximum number of steps allowed exceeded.
MinConGenLin
Minimizes a general objective function subject to linear equality/inequality constraints.
MinConNLP
General nonlinear programming solver.
MinUncon
Finds the minimum point for a smooth univariate function using function and optionally first derivative evaluations.
MinUnconMultiVar
Minimizes a multivariate function using a quasi-Newton method.
MPSReader
Reads a linear programming problem from an MPS file.
MPSReader..::.Element
An element in the sparse contraint matrix.
MPSReader..::.Row
A row either in the constraint matrix or a free row.
MultipleSolutionsException
The problem has multiple solutions producing essentially the same minimum.
NoAcceptablePivotException
An acceptable pivot could not be found.
NoAcceptableStepsizeException
No acceptable stepsize in [SIGMA,SIGLA].
NoConvergenceException
The conjugate gradient method did not converge within the allowed maximum number of iterations.
NoLPSolutionException
No solution for the LP problem with h = 0 was found by DenseLP.
NonlinLeastSquares
Solves a nonlinear least squares problem using a modified Levenberg-Marquardt algorithm.
NonNegativeLeastSquares
Solves a linear least squares problem with nonnegativity constraints.
NoProgressException
The algorithm is not making any progress. Try a new initial guess.
NotDefiniteAMatrixException
The input matrix A is indefinite, that is the matrix is not positive or negative definite.
NotDefiniteJacobiPreconditionerException
The Jacobi preconditioner is not strictly positive or negative definite.
NotDefinitePreconditionMatrixException
The Precondition matrix is indefinite.
NotSPDException
The matrix is not symmetric, positive definite.
NumericalDerivatives
Compute the Jacobian matrix for a function f(y) with m components in n independent variables.
NumericDifficultyException
Numerical difficulty occurred.
ObjectiveEvaluationException
Objective evaluation returns an error with current point.
ODE
ODE represents and solves an initial-value problem for ordinary differential equations.
OdeAdamsGear
Extension of the ODE class to solve a stiff initial-value problem for ordinary differential equations using the Adams-Gear methods.
OdeRungeKutta
Solves an initial-value problem for ordinary differential equations using the Runge-Kutta-Verner fifth-order and sixth-order method.
PenaltyFunctionPointInfeasibleException
Penalty function point infeasible.
PrintMatrix
Matrix printing utilities.
PrintMatrixFormat
This class can be used to customize the actions of PrintMatrix.
PrintMatrixFormat..::.ParsePosition
Tracks the current position during parsing.
PrintMatrixString
This is an internal class to conveniently use PrintMatrix in logging operations. The requirement is to get the output from PrintMatrix.print() into a String that can be passed to the logging framework. This class uses a StringBuffer object to collect all print() calls made internally in PrintMatrix. Once the call completes, use the method getOutput() to return what would have been printed as a String that includes proper spacing and line breaks. Working this into the PrintMatrix class would have involved extra overhead in all the cases where a string wouldn't be required, so it's best to include this as a separate undocumented class. Public access is required to use from the packages outside of Imsl.Math.
ProblemInfeasibleException
The problem is not feasible. The constraints are inconsistent.
ProblemUnboundedException
The problem is unbounded.
ProblemVacuousException
The problem is vacuous.
QPInfeasibleException
QP problem seemingly infeasible.
QPProblemUnboundedException
The object value for the problem is unbounded.
QR
QR Decomposition of a matrix.
QuadraticProgramming
Solves the convex quadratic programming problem subject to equality or inequality constraints.
Quadrature
Quadrature is a general-purpose integrator that uses a globally adaptive scheme in order to reduce the absolute error.
RadialBasis
RadialBasis computes a least-squares fit to scattered data in {\bf R}^d, where d is the dimension.
RadialBasis..::.Gaussian
The Gaussian basis function, e^{-ax^2}.
RadialBasis..::.HardyMultiquadric
The Hardy multiquadric basis function, \sqrt{r^2+\delta^2}.
Sfun
Collection of special functions.
SingularException
Problem is singular.
SingularMatrixException
The matrix is singular.
SingularPreconditionMatrixException
The Precondition matrix is singular.
SolutionNotFoundException
A solution was not found. Try using DenseLP.
SomeConstraintsDiscardedException
Some constraints were discarded because they were too linearly dependent on other active constraints.
SparseCholesky
Sparse Cholesky factorization of a matrix of type SparseMatrix.
SparseCholesky..::.NumericFactor
The numeric Cholesky factorization of a matrix.
SparseCholesky..::.SymbolicFactor
The symbolic Cholesky factorization of a matrix.
SparseMatrix
A general real sparse matrix intended to be efficiently and easily updated.
SparseMatrix..::.SparseArray
The SparseArray class uses public fields to hold the data for a sparse matrix in the Sparse Array format.
Spline
Spline represents and evaluates univariate piecewise polynomial splines.
Spline2D
Represents and evaluates tensor-product splines.
Spline2DInterpolate
Computes a two-dimensional, tensor-product spline interpolant from two-dimensional, tensor-product data.
Spline2DLeastSquares
Computes a two-dimensional, tensor-product spline approximant using least squares.
SuperLU
Computes the LU factorization of a general sparse matrix of type SparseMatrix by a column method and solves the real sparse linear system of equations Ax=b.
SVD
Singular Value Decomposition (SVD) of a rectangular matrix of type double.
SymEigen
Computes the eigenvalues and eigenvectors of a real symmetric matrix.
TcurrentTstopInconsistentException
The end value for the integration in time, tout, is not consistent with the current time value, t.
TEqualsToutException
The current integration point in time and the end point are equal.
TerminationCriteriaNotSatisfiedException
Termination criteria are not satisfied.
TimeIntervalTooSmallException
Distance between starting time point and end point for the integration is too small.
ToleranceTooSmallException
Tolerance is too small.
TooManyIterationsException
Maximum number of iterations exceeded.
TooManyStepsException
Too many steps were taken between two consecutive time steps.
TooMuchTimeException
Maximum time allowed for solve is exceeded.
UnboundedBelowException
Five consecutive steps of the maximum allowable stepsize have been taken, either the function is unbounded below, or has a finite asymptote in some directionor the maximum allowable step size is too small.
VarBoundsInconsistentException
The equality constraints and the bounds on the variables are found to be inconsistent.
WorkingSetSingularException
Working set is singular in dual extended QP.
ZeroPolynomial
The ZeroPolynomial class computes the zeros of a polynomial with complex coefficients, Aberth's method.
ZerosFunction
Finds the real zeros of a real, continuous, univariate function, f(x).
ZeroSystem
Solves a system of n nonlinear equations f(x) = 0 using a modified Powell hybrid algorithm.

Structures

StructureDescription
Complex
Set of mathematical functions for complex numbers. It provides the basic operations (addition, subtraction, multiplication, division) as well as a set of complex functions.
Physical
Return the value of various mathematical and physical constants.

Interfaces

InterfaceDescription
BoundedLeastSquares..::.IFunction
Public interface for the user-supplied function to evaluate the function that defines the least-squares problem.
BoundedLeastSquares..::.IJacobian
Public interface for the user-supplied function to compute the Jacobian.
ConjugateGradient..::.IFunction
Public interface for the user supplied function to ConjugateGradient.
ConjugateGradient..::.IPreconditioner
Public interface for the user supplied function to ConjugateGradient used for preconditioning.
FeynmanKac..::.IBoundaries
Public interface for user supplied boundary coefficients and terminal condition the PDE must satisfy.
FeynmanKac..::.IForcingTerm
Public interface for non-zero forcing term in the Feynman-Kac equation.
FeynmanKac..::.IInitialData
Public interface for adjustment of initial data or as an opportunity for output during the integration steps.
FeynmanKac..::.IPdeCoefficients
Interface for computation of coefficients of the Feynman-Kac PDE.
GenMinRes..::.IFunction
Public interface for the user supplied function to GenMinRes.
GenMinRes..::.INorm
Public interface for the user supplied function to the GenMinRes object used for the norm  \Vert X \Vert when the Gram-Schmidt implementation is used.
GenMinRes..::.IPreconditioner
Public interface for the user supplied function to GenMinRes used for preconditioning.
GenMinRes..::.IVectorProducts
Public interface for the user supplied function to the GenMinRes object used for the inner product when the Gram-Schmidt implementation is used.
HyperRectangleQuadrature..::.IFunction
Interface for the HyperRectangleQuadrature function.
MinConGenLin..::.IFunction
Public interface for the user-supplied function to evaluate the function to be minimized.
MinConGenLin..::.IGradient
Public interface for the user-supplied function to compute the gradient.
MinConNLP..::.IFunction
Public interface for the user supplied function to the MinConNLP object.
MinConNLP..::.IGradient
Public interface for the user supplied function to compute the gradient for MinConNLP object.
MinUncon..::.IDerivative
Interface for the smooth function of a single variable to be minimized and its derivative.
MinUncon..::.IFunction
Interface for the user supplied function for the smooth function of a single variable to be minimized.
MinUnconMultiVar..::.IFunction
Interface for the user supplied multivariate function to be minimized.
MinUnconMultiVar..::.IGradient
Interface for the user supplied multivariate function to be minimized and its gradient.
NonlinLeastSquares..::.IFunction
Interface for the user supplied nonlinear least-squares function.
NonlinLeastSquares..::.IJacobian
Interface for the user supplied nonlinear least squares function and its Jacobian.
NumericalDerivatives..::.IFunction
Public interface function.
NumericalDerivatives..::.IJacobian
Public interface for the user-supplied function to compute the Jacobian.
OdeAdamsGear..::.IFunction
Public interface for user supplied function to OdeAdamsGear object.
OdeAdamsGear..::.IJacobian
Public interface for the user supplied function to evaluate the Jacobian matrix.
OdeRungeKutta..::.IFunction
Public interface for user supplied function to OdeRungeKutta object.
Quadrature..::.IFunction
Interface defining function for the Quadrature class.
RadialBasis..::.IFunction
Public interface for the user supplied function to the RadialBasis object.
ZerosFunction..::.IFunction
Public interface for the user supplied function to ZerosFunction.
ZeroSystem..::.IFunction
Public interface for user supplied function to ZeroSystem object.
ZeroSystem..::.IJacobian
Public interface for user supplied function to ZeroSystem object.

Enumerations

EnumerationDescription
ComplexSparseCholesky..::.NumericFactorization
Numeric Factorization methods.
ComplexSuperLU..::.ColumnOrdering
The column permutation method to be used.
ComplexSuperLU..::.PerformanceParameters
Performance tuning parameters which can be adjusted via method SetPerformanceTuningParameters.
ComplexSuperLU..::.Scaling
Equilibration method before factorization, this setting is returned from GetEquilibrationMethod.
CsInterpolate..::.Condition
Denotes the type of condition at an endpoint.
FeynmanKac..::.PDEStepControlMethod
Indicates which step control method is used in the integration of the Feynman-Kac PDE.
GenMinRes..::.ImplementationMethod
Implementation methods.
GenMinRes..::.ResidualMethod
Residual updating methods.
NumericalDerivatives..::.DifferencingMethod
Specifies the differencing method.
ODE..::.ErrorNormOptions
ErrorNorm options
ODE..::.ExamineStepOptions
ExamineStep options
OdeAdamsGear..::.IntegrationType
Integration type.
OdeAdamsGear..::.SolveOption
Solve option.
PrintMatrix..::.MatrixType
MatrixType indicates what part of the matrix is to be printed.
PrintMatrixFormat..::.ColumnLabelType
Type for column labels.
PrintMatrixFormat..::.FormatType
FormatType specifies the argument to format.
PrintMatrixFormat..::.RowLabelType
Type for row labels.
SparseCholesky..::.NumericFactorization
Numeric factorization methods.
SuperLU..::.ColumnOrdering
The column permutation method to be used.
SuperLU..::.PerformanceParameters
Performance tuning parameters which can be adjusted via method SetPerformanceTuningParameters.
SuperLU..::.Scaling
One of several possible equilibration option return values for property EquilibrationMethod.