f01vj copies a real triangular matrix stored in packed format to Rectangular Full Packed (RFP) format. The RFP storage format is described in [] in the F07 class Chapter Introduction and the packed storage format is described in [] in the F07 class Chapter Introduction.

Syntax

C#
public static void f01vj(
	string transr,
	string uplo,
	int n,
	double[] ap,
	double[] arf,
	out int info
)
Visual Basic
Public Shared Sub f01vj ( _
	transr As String, _
	uplo As String, _
	n As Integer, _
	ap As Double(), _
	arf As Double(), _
	<OutAttribute> ByRef info As Integer _
)
Visual C++
public:
static void f01vj(
	String^ transr, 
	String^ uplo, 
	int n, 
	array<double>^ ap, 
	array<double>^ arf, 
	[OutAttribute] int% info
)
F#
static member f01vj : 
        transr : string * 
        uplo : string * 
        n : int * 
        ap : float[] * 
        arf : float[] * 
        info : int byref -> unit 

Parameters

transr
Type: System..::..String
On entry: specifies whether the RFP representation of A is normal or transposed.
transr="N"
The matrix A is stored in normal RFP format.
transr="T"
The matrix A is stored in transposed RFP format.
Constraint: transr="N" or "T".
uplo
Type: System..::..String
On entry: specifies whether A is upper or lower triangular.
uplo="U"
A is upper triangular.
uplo="L"
A is lower triangular.
Constraint: uplo="U" or "L".
n
Type: System..::..Int32
On entry: n, the order of the matrix A.
Constraint: n0.
ap
Type: array<System..::..Double>[]()[][]
An array of size [n×n+1/2]
On entry: the n by n triangular matrix A, packed by columns.
More precisely,
  • if uplo="U", the upper triangle of A must be stored with element Aij in ap[i+jj-1/2] for ij;
  • if uplo="L", the lower triangle of A must be stored with element Aij in ap[i+2n-jj-1/2] for ij.
arf
Type: array<System..::..Double>[]()[][]
An array of size [n×n+1/2]
On exit: the triangular matrix A in RFP format, as described in [] in the F07 class Chapter Introduction.
info
Type: System..::..Int32%
On exit: info=0 unless the method detects an error (see [Error Indicators and Warnings]).

Description

f01vj copies a real n by n triangular matrix, A, stored packed format, to RFP format. This method is intended for possible use in conjunction with methods from F06 class F07 class where some methods that use triangular matrices store them in RFP format.

References

None.

Error Indicators and Warnings

info<0
If info=-i, argument i had an illegal value. An explanatory message is output, and execution of the program is terminated.
ifail=-9000
An error occured, see message report.
ifail=-6000
Invalid Parameters value
ifail=-8000
Negative dimension for array value
ifail=-6000
Invalid Parameters value

Accuracy

Not applicable.

Parallelism and Performance

None.

Further Comments

None.

Example

This example reads in a triangular matrix in packed format and copies it to RFP format.

Example program (C#): f01vje.cs

Example program data: f01vje.d

Example program results: f01vje.r

See Also