|
NAG[f16qhc] NAG[nag_dge_load] - Matrix initialization, real rectangular matrix
|
|
Calling Sequence
f16qhc(alpha, diag, a, 'm'=m, 'n'=n, 'fail'=fail)
nag_dge_load(. . .)
Parameters
|
alpha - float;
|
|
|
On entry: the value, , to be assigned to the off-diagonal elements of .
|
|
|
diag - float;
|
|
|
On entry: the value, , to be assigned to the diagonal elements of .
|
|
|
a - Matrix(1..dim1, 1..dim2, datatype=float[8], order=order);
|
|
|
Note: this array may be supplied in Fortran_order or C_order , as specified by order. All array parameters must use a consistent order.
|
|
|
'm'=m - integer; (optional)
|
|
|
Default value: the first dimension of the array a.
|
|
On entry: , the number of rows of the matrix .
|
|
Constraint: . .
|
|
|
'n'=n - integer; (optional)
|
|
|
Default value: the second dimension of the array a.
|
|
On entry: , the number of columns of the matrix .
|
|
Constraint: . .
|
|
|
'fail'=fail - table; (optional)
|
|
|
The NAG error argument, see the documentation for NagError.
|
|
|
|
Description
|
|
|
Purpose
|
|
nag_dge_load (f16qhc) initializes a real general matrix.
|
|
Description
|
|
nag_dge_load (f16qhc) forms the real by general matrix given by
|
|
Error Indicators and Warnings
|
|
"NE_BAD_PARAM"
On entry, argument had an illegal value.
"NE_INT"
On entry, . Constraint: .
On entry, . Constraint: .
"NE_INTERNAL_ERROR"
An internal error has occurred in this function. Check the function call and any array sizes. If the call is correct then please consult NAG for assistance.
|
|
|
Examples
|
|
>
|
alpha := 1.0:
diag := 0.1:
a := Matrix(3,3,datatype=float[8]):
NAG:-f16qhc(alpha, diag, a):
|
|
|
Download Help Document
Was this information helpful?