﻿ c06gq Method
c06gq forms the complex conjugates of $m$ Hermitian sequences, each containing $n$ data values.

# Syntax

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

#### Parameters

m
Type: System..::..Int32
On entry: $m$, the number of Hermitian sequences to be conjugated.
Constraint: ${\mathbf{m}}\ge 1$.
n
Type: System..::..Int32
On entry: $n$, the number of data values in each Hermitian sequence.
Constraint: ${\mathbf{n}}\ge 1$.
x
Type: array<System..::..Double>[]()[][]
An array of size [${\mathbf{m}}×{\mathbf{n}}$]
On entry: the data must be stored in x as if in a two-dimensional array of dimension $\left(1:{\mathbf{m}},0:{\mathbf{n}}-1\right)$; each of the $m$ sequences is stored in a row of the array in Hermitian form. If the $n$ data values ${z}_{j}^{p}$ are written as ${x}_{j}^{p}+i{y}_{j}^{p}$, then for $0\le j\le n/2$, ${x}_{j}^{p}$ is contained in ${\mathbf{x}}\left[p-1,j\right]$, and for $1\le j\le \left(n-1\right)/2$, ${y}_{j}^{p}$ is contained in ${\mathbf{x}}\left[p,n-j\right]$. (See also [] in the C06 class Chapter Introduction.)
On exit: the imaginary parts ${y}_{j}^{p}$ are negated. The real parts ${x}_{j}^{p}$ are not referenced.
ifail
Type: System..::..Int32%
On exit: ${\mathbf{ifail}}={0}$ unless the method detects an error or a warning has been flagged (see [Error Indicators and Warnings]).

# Description

This is a utility method for use in conjunction with c06fp and c06fq to calculate inverse discrete Fourier transforms (see the C06 class).

None.

# Error Indicators and Warnings

Errors or warnings detected by the method:
${\mathbf{ifail}}=1$
 On entry, ${\mathbf{m}}<1$.
${\mathbf{ifail}}=2$
 On entry, ${\mathbf{n}}<1$.
${\mathbf{ifail}}=-9000$
An error occured, see message report.
${\mathbf{ifail}}=-8000$
Negative dimension for array $〈\mathit{\text{value}}〉$
${\mathbf{ifail}}=-6000$
Invalid Parameters $〈\mathit{\text{value}}〉$

Exact.

None.