Namespace: DotNumerics.LinearAlgebra.CSEispackAssembly: DWSIM.MathOps.DotNumerics (in DWSIM.MathOps.DotNumerics.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax public void Run(
int NM,
int N,
int LOW,
int IGH,
ref double[] ORTR,
int offset_ortr,
ref double[] ORTI,
int offset_orti,
ref double[] HR,
int offset_hr,
ref double[] HI,
int offset_hi,
ref double[] WR,
int offset_wr,
ref double[] WI,
int offset_wi,
ref double[] ZR,
int offset_zr,
ref double[] ZI,
int offset_zi,
ref int IERR
)
Public Sub Run (
NM As Integer,
N As Integer,
LOW As Integer,
IGH As Integer,
ByRef ORTR As Double(),
offset_ortr As Integer,
ByRef ORTI As Double(),
offset_orti As Integer,
ByRef HR As Double(),
offset_hr As Integer,
ByRef HI As Double(),
offset_hi As Integer,
ByRef WR As Double(),
offset_wr As Integer,
ByRef WI As Double(),
offset_wi As Integer,
ByRef ZR As Double(),
offset_zr As Integer,
ByRef ZI As Double(),
offset_zi As Integer,
ByRef IERR As Integer
)
Request Example
View SourceParameters
- NM Int32
-
must be set to the row dimension of two-dimensional
array parameters as declared in the calling program
dimension statement.
- N Int32
-
is the order of the matrix.
- LOW Int32
-
and igh are integers determined by the balancing
subroutine cbal. if cbal has not been used,
set low=1, igh=n.
- IGH Int32
-
- ORTR Double
-
and orti contain information about the unitary trans-
formations used in the reduction by corth, if performed.
only elements low through igh are used. if the eigenvectors
of the hessenberg matrix are desired, set ortr(j) and
orti(j) to 0.0d0 for these elements.
- offset_ortr Int32
-
- ORTI Double
-
- offset_orti Int32
-
- HR Double
-
and hi contain the real and imaginary parts,
respectively, of the complex upper hessenberg matrix.
their lower triangles below the subdiagonal contain further
information about the transformations which were used in the
reduction by corth, if performed. if the eigenvectors of
the hessenberg matrix are desired, these elements may be
arbitrary.
- offset_hr Int32
-
- HI Double
-
- offset_hi Int32
-
- WR Double
-
and wi contain the real and imaginary parts,
respectively, of the eigenvalues. if an error
exit is made, the eigenvalues should be correct
for indices ierr+1,...,n.
- offset_wr Int32
-
- WI Double
-
- offset_wi Int32
-
- ZR Double
-
and zi contain the real and imaginary parts,
respectively, of the eigenvectors. the eigenvectors
are unnormalized. if an error exit is made, none of
the eigenvectors has been found.
- offset_zr Int32
-
- ZI Double
-
- offset_zi Int32
-
- IERR Int32
-
is set to
zero for normal return,
j if the limit of 30*n iterations is exhausted
while the j-th eigenvalue is being sought.
See Also