The SDL Component Suite is an industry leading collection of components supporting scientific and engineering computing. Please visit the SDL Web site for more information....


Declaration:function SingValEquSolve (MatAU, MatV: TMatrix; VecW, VecB, VecX, VecdX: TVector): boolean;

The function SingValEquSolv solves a system of linear equations which is determined by the matrix equation A *X = B. The matrix A must be stored in MatAU and decomposed into MatAU, MatV and VecW by calling SingValDecomp prior to calling SingValEquSolve. The vector VecB contains the constants B of the equation system.

The solution of the equation system is returned in parameter VecX, the estimated errors of the x values in VecdX. Please note that the values of the vector VecdX must be multiplied by the standard deviation of the residuals in order to obtain the standard error of the x values. SingValEquSolve returns a TRUE value if the results are valid.

Hint: The vector VecdX may be undefined (VecdX = nil ) if the error estimates are not needed.

Last Update: 2012-Oct-20