f01vl copies a real triangular matrix, stored in a Rectangular Full Packed (RFP) format, to packed format.
Syntax
C# |
---|
public static void f01vl( string transr, string uplo, int n, double[] arf, double[] ap, out int info ) |
Visual Basic |
---|
Public Shared Sub f01vl ( _ transr As String, _ uplo As String, _ n As Integer, _ arf As Double(), _ ap As Double(), _ <OutAttribute> ByRef info As Integer _ ) |
Visual C++ |
---|
public: static void f01vl( String^ transr, String^ uplo, int n, array<double>^ arf, array<double>^ ap, [OutAttribute] int% info ) |
F# |
---|
static member f01vl : transr : string * uplo : string * n : int * arf : float[] * ap : 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>[]()[][]
[Missing <param name="arf"/> documentation for "M:NagLibrary.F01.f01vl(System.String,System.String,System.Int32,System.Double[],System.Double[],System.Int32@)"]
- ap
- Type: array<System..::..Double>[]()[][]An array of size []On exit: the by triangular matrix .
- info
- Type: System..::..Int32%On exit: unless the method detects an error (see [Error Indicators and Warnings]).
Description
f01vl packs a real by triangular matrix , stored in RFP format, to packed format. This method is intended for possible use in conjunction with methods from f06 f07 f16 where some methods that use triangular matrices store them in RFP format.
The RFP storage format is described in recomm_32a in f07 and the packed storage format is described in recomm_32 in f07.
References
Gustavson F G, Waśniewski J, Dongarra J J and Langou J (2010) Rectangular full packed format for Cholesky's algorithm: factorization, solution, and inversion ACM Trans. Math. Software 37, 2
Error Indicators and Warnings
- 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 copies it to packed format.
Example program (C#): f01vle.cs