﻿ f06db Method
f06db broadcasts an integer scalar into an integer vector.

# Syntax

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

#### Parameters

n
Type: System..::..Int32
On entry: $n$, the number of elements in $x$.
con
Type: System..::..Int32
On entry: the scalar $\alpha$.
x
Type: array<System..::..Int32>[]()[][]
An array of size [dim1]
Note: the dimension of the array x must be at least $\mathrm{max}\phantom{\rule{0.125em}{0ex}}\left(1,1+\left({\mathbf{n}}-1\right)×{\mathbf{incx}}\right)$.
On exit: the vector $x$. ${x}_{\mathit{i}}$ will be stored in ${\mathbf{x}}\left[1+\left(\mathit{i}-1\right)×{\mathbf{incx}}\right]$, for $\mathit{i}=1,2,\dots ,{\mathbf{n}}$.
Intermediate elements of x are unchanged.
incx
Type: System..::..Int32
On entry: the increment in the subscripts of x between successive elements of $x$.
Constraint: ${\mathbf{incx}}>0$.
ifail
Type: System..::..Int32%
On exit: $\mathbf{ifail}=0$ unless the method detects an error (see [Error Indicators and Warnings]).

# Description

f06db performs the operation
 $x←α,α,…,αT,$
where $x$ is an $n$-element integer vector scattered with stride incx.

None.

# Error Indicators and Warnings

${\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}}〉$
${\mathbf{ifail}}=-6000$
Invalid Parameters $〈\mathit{\text{value}}〉$

Not applicable.

None.