x04ce is an easy-to-use method to print a real band matrix
stored in a packed two-dimensional array.
Syntax
C# |
---|
public static void x04ce( int m, int n, int kl, int ku, double[,] a, string title, out int ifail ) |
Visual Basic |
---|
Public Shared Sub x04ce ( _ m As Integer, _ n As Integer, _ kl As Integer, _ ku As Integer, _ a As Double(,), _ title As String, _ <OutAttribute> ByRef ifail As Integer _ ) |
Visual C++ |
---|
public: static void x04ce( int m, int n, int kl, int ku, array<double,2>^ a, String^ title, [OutAttribute] int% ifail ) |
F# |
---|
static member x04ce : m : int * n : int * kl : int * ku : int * a : float[,] * title : string * ifail : int byref -> unit |
Parameters
- m
- Type: System..::..Int32
- n
- Type: System..::..Int32
- kl
- Type: System..::..Int32On entry: the number of subdiagonals of the band matrix .Constraint: .
- ku
- Type: System..::..Int32On entry: the number of superdiagonals of the band matrix .Constraint: .
- a
- Type: array<System..::..Double,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 .On entry: the band matrix to be printed.The matrix is stored in rows to , more precisely, the element must be stored in
- 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
x04ce prints a real band matrix stored in
a
packed
two-dimensional array.
It is an easy-to-use driver for (X04CFF not in this release). The method uses default values for the format in which numbers are printed, for labelling the rows and columns, and for output record length.
x04ce 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 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, .
On entry, .
Accuracy
Not applicable.
Parallelism and Performance
None.
Further Comments
A call to x04ce is equivalent to a call to (X04CFF not in this release) with the following argument values:
Example
The example program calls x04ce to print a by band matrix with one subdiagonal and one superdiagonal.