|
NAG[f16hbc] NAG[nag_zload] - Broadcast scalar into complex vector
|
|
Calling Sequence
f16hbc(n, alpha, x, incx, 'fail'=fail)
nag_zload(. . .)
Parameters
|
n - integer;
|
|
|
On entry: , the number of elements in .
|
|
Constraint: . .
|
|
|
alpha - complex;
|
|
|
On entry: the scalar .
|
|
|
x - Vector(1..dim, datatype=complex[8]);
|
|
|
Note: the dimension, dim, of the array x must be at least .
|
|
On exit: the scalar scattered with a stride of incx. 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_zload (f16hbc) broadcasts a scalar into a complex vector.
|
|
Description
|
|
nag_zload (f16hbc) performs the operation
where is an element complex vector and is a complex 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 := 1.0 + 3.0*I:
incx := 1:
x := Vector(5, datatype=complex[8]):
NAG:-f16hbc(n, alpha, x, incx):
|
|
|
Download Help Document
Was this information helpful?