|
NAG[f16qfc] NAG[nag_dge_copy] - Matrix copy, real rectangular matrix
|
|
Calling Sequence
f16qfc(trans, a, b, 'm'=m, 'n'=n, 'fail'=fail)
nag_dge_copy(. . .)
Parameters
|
trans - String;
|
|
|
On entry: specifies the operation to be performed.
|
|
.
|
|
Constraint: "Nag_NoTrans", "Nag_Trans" or "Nag_ConjTrans". .
|
|
|
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.
|
|
|
b - 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 and the second dimension of the array athe array b.
|
|
On entry: , the number of rows of the matrix .
|
|
Constraint: . .
|
|
|
'n'=n - integer; (optional)
|
|
|
Default value: the first dimension of the array b and the second dimension of the array athe array b.
|
|
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_copy (f16qfc) copies a real general matrix.
|
|
Description
|
|
nag_dge_copy (f16qfc) performs the matrix-copy operation
where and are by real rectangular matrices.
|
|
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.
|
|
Accuracy
|
|
The BLAS standard requires accurate implementations which avoid unnecessary over/underflow (see Section 2.7 of The BLAS Technical Forum Standard (2001)).
|
|
|
Examples
|
|
>
|
trans := "Nag_NoTrans":
a := Matrix([[1,2,3],[5,4,5],[1,7,6]],datatype=float[8]):
b := Matrix(3,3,datatype=float[8]):
NAG:-f16qfc(trans, a, b):
|
|
|