|
NAG[f16dbc] NAG[nag_iload] - Broadcast scalar into integer vector
|
|
Calling Sequence
f16dbc(n, alpha, x, incx, 'fail'=fail)
nag_iload(. . .)
Parameters
|
n - integer;
|
|
|
On entry: , the number of elements in .
|
|
Constraint: . .
|
|
|
alpha - integer;
|
|
|
On entry: the scalar .
|
|
|
x - Vector(1..dim, datatype=integer[kernelopts('wordsize')/8]);
|
|
|
Note: the dimension, dim, of the array x must be at least .
|
|
On exit: the scalar is scattered with a stride of incx in x. Intermediate elements of x are unchanged.
|
|
|
incx - integer;
|
|
|
On entry: the increment in the subscripts of x between successive elements of .
|
|
Constraint: . .
|
|
|
'fail'=fail - table; (optional)
|
|
|
The NAG error argument, see the documentation for NagError.
|
|
|
|
Description
|
|
|
Purpose
|
|
nag_iload (f16dbc) broadcasts a scalar into an integer vector.
|
|
Description
|
|
nag_iload (f16dbc) performs the operation
where is an element integer vector and is an integer scalar.
|
|
Error Indicators and Warnings
|
|
"NE_BAD_PARAM"
On entry, argument had an illegal value.
"NE_INT"
On entry, . Constraint: .
On entry, . Constraint: .
|
|
|
Examples
|
|
>
|
n := 5:
alpha := 0:
incx := 1:
x := Vector(5, datatype=integer[kernelopts('wordsize')/8]):
NAG:-f16dbc(n, alpha, x, incx):
|
|
|
Download Help Document
Was this information helpful?