Syntax
C# |
---|
public static void f01vg( string transr, string uplo, int n, double[] arf, double[,] a, out int info ) |
Visual Basic |
---|
Public Shared Sub f01vg ( _ transr As String, _ uplo As String, _ n As Integer, _ arf As Double(), _ a As Double(,), _ <OutAttribute> ByRef info As Integer _ ) |
Visual C++ |
---|
public: static void f01vg( String^ transr, String^ uplo, int n, array<double>^ arf, array<double,2>^ a, [OutAttribute] int% info ) |
F# |
---|
static member f01vg : transr : string * uplo : string * n : int * arf : float[] * a : float[,] * info : int byref -> unit |
Parameters
- transr
- Type: System..::..StringOn entry: specifies whether the RFP representation of is normal or transposed.
- The matrix is stored in normal RFP format.
- The matrix is stored in transposed RFP format.
Constraint: or .
- uplo
- Type: System..::..StringOn entry: specifies whether is upper or lower triangular.
- is upper triangular.
- is lower triangular.
Constraint: or .
- n
- Type: System..::..Int32On entry: , the order of the matrix .Constraint: .
- arf
- Type: array<System..::..Double>[]()[][]An array of size []
- a
- Type: array<System..::..Double,2>[,](,)[,][,]An array of size [dim1, dim2]Note: dim1 must satisfy the constraint:Note: the second dimension of the array a must be at least .On exit: the triangular matrix .
- If , is upper triangular and the elements of the array below the diagonal are not referenced.
- If , is lower triangular and the elements of the array above the diagonal are not referenced.
- info
- Type: System..::..Int32%On exit: unless the method detects an error (see [Error Indicators and Warnings]).
Description
f01vg unpacks a real by triangular matrix , stored in RFP format to conventional storage in a two-dimensional array. 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
Some error messages may refer to parameters that are dropped from this interface
(LDA) In these
cases, an error in another parameter has usually caused an incorrect value to be inferred.
- If , argument had an illegal value. An explanatory message is output, and execution of the program is terminated.
Accuracy
Not applicable.
Parallelism and Performance
None.
Further Comments
None.
Example
This example reads in a triangular matrix in RFP format and unpacks it to full format.
Example program (C#): f01vge.cs