Click or drag to resize

DLASV2Run Method

Purpose ======= DLASV2 computes the singular value decomposition of a 2-by-2 triangular matrix [ F G ] [ 0 H ]. On return, abs(SSMAX) is the larger singular value, abs(SSMIN) is the smaller singular value, and (CSL,SNL) and (CSR,SNR) are the left and right singular vectors for abs(SSMAX), giving the decomposition [ CSL SNL ] [ F G ] [ CSR -SNR ] = [ SSMAX 0 ] [-SNL CSL ] [ 0 H ] [ SNR CSR ] [ 0 SSMIN ].

Namespace: DotNumerics.LinearAlgebra.CSLapack
Assembly: DWSIM.MathOps.DotNumerics (in DWSIM.MathOps.DotNumerics.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
public void Run(
	double F,
	double G,
	double H,
	ref double SSMIN,
	ref double SSMAX,
	ref double SNR,
	ref double CSR,
	ref double SNL,
	ref double CSL
)
Request Example View Source

Parameters

F  Double
(input) DOUBLE PRECISION The (1,1) element of the 2-by-2 matrix.
G  Double
(input) DOUBLE PRECISION The (1,2) element of the 2-by-2 matrix.
H  Double
(input) DOUBLE PRECISION The (2,2) element of the 2-by-2 matrix.
SSMIN  Double
(output) DOUBLE PRECISION abs(SSMIN) is the smaller singular value.
SSMAX  Double
(output) DOUBLE PRECISION abs(SSMAX) is the larger singular value.
SNR  Double
(output) DOUBLE PRECISION
CSR  Double
(output) DOUBLE PRECISION The vector (CSR, SNR) is a unit right singular vector for the singular value abs(SSMAX).
SNL  Double
(output) DOUBLE PRECISION
CSL  Double
(output) DOUBLE PRECISION The vector (CSL, SNL) is a unit left singular vector for the singular value abs(SSMAX).
See Also