Purpose
=======
DLANV2 computes the Schur factorization of a real 2-by-2 nonsymmetric
matrix in standard form:
[ A B ] = [ CS -SN ] [ AA BB ] [ CS SN ]
[ C D ] [ SN CS ] [ CC DD ] [-SN CS ]
where either
1) CC = 0 so that AA and DD are real eigenvalues of the matrix, or
2) AA = DD and BB*CC .LT. 0, so that AA + or - sqrt(BB*CC) are complex
conjugate eigenvalues.
Namespace: DotNumerics.LinearAlgebra.CSLapackAssembly: DWSIM.MathOps.DotNumerics (in DWSIM.MathOps.DotNumerics.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax public void Run(
ref double A,
ref double B,
ref double C,
ref double D,
ref double RT1R,
ref double RT1I,
ref double RT2R,
ref double RT2I,
ref double CS,
ref double SN
)
Public Sub Run (
ByRef A As Double,
ByRef B As Double,
ByRef C As Double,
ByRef D As Double,
ByRef RT1R As Double,
ByRef RT1I As Double,
ByRef RT2R As Double,
ByRef RT2I As Double,
ByRef CS As Double,
ByRef SN As Double
)
Request Example
View SourceParameters
- A Double
-
(input/output) DOUBLE PRECISION
- B Double
-
(input/output) DOUBLE PRECISION
- C Double
-
(input/output) DOUBLE PRECISION
- D Double
-
(input/output) DOUBLE PRECISION
On entry, the elements of the input matrix.
On exit, they are overwritten by the elements of the
standardised Schur form.
- RT1R Double
-
(output) DOUBLE PRECISION
- RT1I Double
-
(output) DOUBLE PRECISION
- RT2R Double
-
(output) DOUBLE PRECISION
- RT2I Double
-
(output) DOUBLE PRECISION
The real and imaginary parts of the eigenvalues. If the
eigenvalues are a complex conjugate pair, RT1I .GT. 0.
- CS Double
-
(output) DOUBLE PRECISION
- SN Double
-
(output) DOUBLE PRECISION
Parameters of the rotation matrix.
See Also