c06gs takes Hermitian sequences, each containing data values, and forms the real and imaginary parts of the corresponding complex sequences.
Syntax
C# |
---|
public static void c06gs( int m, int n, double[] x, double[] u, double[] v, out int ifail ) |
Visual Basic |
---|
Public Shared Sub c06gs ( _ m As Integer, _ n As Integer, _ x As Double(), _ u As Double(), _ v As Double(), _ <OutAttribute> ByRef ifail As Integer _ ) |
Visual C++ |
---|
public: static void c06gs( int m, int n, array<double>^ x, array<double>^ u, array<double>^ v, [OutAttribute] int% ifail ) |
F# |
---|
static member c06gs : m : int * n : int * x : float[] * u : float[] * v : float[] * ifail : int byref -> unit |
Parameters
- m
- Type: System..::..Int32On entry: , the number of Hermitian sequences to be converted into complex form.Constraint: .
- n
- Type: System..::..Int32On entry: , the number of data values in each Hermitian sequence.Constraint: .
- x
- Type: array<System..::..Double>[]()[][]An array of size []On entry: the data must be stored in x as if in a two-dimensional array of dimension ; each of the sequences is stored in a row of the array in Hermitian form. If the data values are written as , then for , is contained in , and for , is contained in . (See also [] in the C06 class Chapter Introduction.)
- u
- Type: array<System..::..Double>[]()[][]An array of size []On exit: the real and imaginary parts of the sequences of length , are stored in u and v respectively, as if in two-dimensional arrays of dimension ; each of the sequences is stored as if in a row of each array. In other words, if the real parts of the th sequence are denoted by , for then the elements of the array u contain the values
- v
- Type: array<System..::..Double>[]()[][]An array of size []On exit: the real and imaginary parts of the sequences of length , are stored in u and v respectively, as if in two-dimensional arrays of dimension ; each of the sequences is stored as if in a row of each array. In other words, if the real parts of the th sequence are denoted by , for then the elements of the array u contain the values
- ifail
- Type: System..::..Int32%On exit: unless the method detects an error or a warning has been flagged (see [Error Indicators and Warnings]).
Description
References
None.
Error Indicators and Warnings
Errors or warnings detected by the method:
On entry, .
On entry, .
Accuracy
Exact.
Parallelism and Performance
None.
Further Comments
None.
Example
This example reads in sequences of real data values which are assumed to be Hermitian sequences of complex data stored in Hermitian form. The sequences are then expanded into full complex form using c06gs and printed.
Example program (C#): c06gse.cs