|
NAG[f16tfc] NAG[nag_zge_copy] - Matrix copy, complex rectangular matrix
|
|
Calling Sequence
f16tfc(trans, a, b, 'm'=m, 'n'=n, 'fail'=fail)
nag_zge_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=complex[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=complex[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_zge_copy (f16tfc) copies a complex general matrix.
|
|
Description
|
|
nag_zge_copy (f16tfc) performs the matrix-copy operation
where and are by complex general 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+I, 2+I, 3-I ], [1-I, 2+I, 3*I], [2-I, 3+I, 3-I]],
datatype=complex[8],
order='C_order'):
b := Matrix(3, 3, datatype=complex[8], order='C_order'):
NAG:-f16tfc(trans, a, b):
|
|
|