f06qf performs the matrix-copy operation
BA
where A and B are m by n real general or trapezoidal matrices.

Syntax

C#
public static void f06qf(
	string matrix,
	int m,
	int n,
	double[,] a,
	double[,] b,
	out int ifail
)
Visual Basic
Public Shared Sub f06qf ( _
	matrix As String, _
	m As Integer, _
	n As Integer, _
	a As Double(,), _
	b As Double(,), _
	<OutAttribute> ByRef ifail As Integer _
)
Visual C++
public:
static void f06qf(
	String^ matrix, 
	int m, 
	int n, 
	array<double,2>^ a, 
	array<double,2>^ b, 
	[OutAttribute] int% ifail
)
F#
static member f06qf : 
        matrix : string * 
        m : int * 
        n : int * 
        a : float[,] * 
        b : float[,] * 
        ifail : int byref -> unit 

Parameters

matrix
Type: System..::..String
On entry: the matrix type.
matrix="G"
General matrix.
matrix="U"
Upper trapezoidal matrix (upper triangular if m=n).
matrix="L"
Lower trapezoidal matrix (lower triangular if m=n).
Constraint: matrix="G", "U" or "L".
m
Type: System..::..Int32
On entry: m, the number of rows of the matrices A and B.
Constraint: m0.
n
Type: System..::..Int32
On entry: n, the number of columns of the matrices A and B.
Constraint: n0.
a
Type: array<System..::..Double,2>[,](,)[,][,]
An array of size [dim1, dim2]
Note: dim1 must satisfy the constraint: dim1max1,m
Note: the second dimension of the array a must be at least n.
On entry: the m by n general or trapezoidal matrix A.
  • If matrix="U", A is upper trapezoidal and the elements of the array below the diagonal are not referenced.
  • If matrix="L", A is lower trapezoidal and the elements of the array above the diagonal are not referenced.
b
Type: array<System..::..Double,2>[,](,)[,][,]
An array of size [dim1, dim2]
Note: dim1 must satisfy the constraint: dim1max1,m
Note: the second dimension of the array b must be at least n.
On exit: the m by n general or trapezoidal matrix B.
  • If matrix="U", B is upper trapezoidal and the elements of the array below the diagonal are not referenced.
  • If matrix="L", B is lower trapezoidal and the elements of the array above the diagonal are not referenced.
ifail
Type: System..::..Int32%
On exit: ifail=0 unless the method detects an error (see [Error Indicators and Warnings]).

Description

None.

References

None.

Error Indicators and Warnings

ifail=-9000
An error occured, see message report.
ifail=-6000
Invalid Parameters value
ifail=-4000
Invalid dimension for array value
ifail=-8000
Negative dimension for array value
ifail=-6000
Invalid Parameters value
ifail=-6000
Invalid Parameters value

Accuracy

Not applicable.

Parallelism and Performance

None.

Further Comments

None.

Example

See Also