x04da is an easy-to-use method to print a
complex
matrix stored in a two-dimensional array.
Syntax
C# |
---|
public static void x04da( string matrix, string diag, int m, int n, Complex[,] a, string title, out int ifail ) |
Visual Basic |
---|
Public Shared Sub x04da ( _ matrix As String, _ diag As String, _ m As Integer, _ n As Integer, _ a As Complex(,), _ title As String, _ <OutAttribute> ByRef ifail As Integer _ ) |
Visual C++ |
---|
public: static void x04da( String^ matrix, String^ diag, int m, int n, array<Complex,2>^ a, String^ title, [OutAttribute] int% ifail ) |
F# |
---|
static member x04da : matrix : string * diag : string * m : int * n : int * a : Complex[,] * title : string * ifail : int byref -> unit |
Parameters
- matrix
- Type: System..::..StringOn entry: indicates the part of the matrix to be printed.
- The whole of the rectangular matrix.
- The lower triangle of the matrix, or the lower trapezium if the matrix has more rows than columns.
- The upper triangle of the matrix, or the upper trapezium if the matrix has more columns than rows.
Constraint: , or .
- diag
- Type: System..::..StringOn entry: unless , diag must specify whether the diagonal elements of the matrix are to be printed.
- The diagonal elements of the matrix are not referenced and not printed.
- The diagonal elements of the matrix are not referenced, but are assumed all to be unity, and are printed as such.
- The diagonal elements of the matrix are referenced and printed.
If , then diag need not be set.Constraint: if , , or .
- m
- Type: System..::..Int32
- n
- Type: System..::..Int32
- a
- Type: array<NagLibrary..::..Complex,2>[,](,)[,][,]An array of size [dim1, dim2]Note: dim1 must satisfy the constraint:Note: the second dimension of the array a must be at least .
- title
- Type: System..::..String
- ifail
- Type: System..::..Int32%On exit: unless the method detects an error or a warning has been flagged (see [Error Indicators and Warnings]).
Description
x04da prints a
complex
matrix. It is an easy-to-use driver for x04db. The method uses default values for the format in which numbers are printed, for labelling the rows and columns, and for output record length.
x04da will choose a format code such that numbers will be printed with
an , an or a format.
The
code is chosen if the sizes of all the matrix elements to be printed lie between and . The
code is chosen if the sizes of all the matrix elements to be printed lie between and . Otherwise the
code is chosen. The chosen code is used to print each complex element of the matrix with the real part above the imaginary part.
The matrix is printed with integer row and column labels, and with a maximum record length of .
The matrix is output to the unit defined by (X04ABF not in this release).
References
None.
Error Indicators and Warnings
Errors or warnings detected by the method:
Some error messages may refer to parameters that are dropped from this interface
(LDA) In these
cases, an error in another parameter has usually caused an incorrect value to be inferred.
On entry, , or .
On entry, or , but , or .
Accuracy
Not applicable.
Parallelism and Performance
None.