|
NAG[f16fbc] NAG[nag_dload] - Broadcast scalar into real vector
|
|
Calling Sequence
f16fbc(n, alpha, x, incx, 'fail'=fail)
nag_dload(. . .)
Parameters
|
n - integer;
|
|
|
On entry: , the number of elements in .
|
|
Constraint: . .
|
|
|
alpha - float;
|
|
|
On entry: the scalar .
|
|
|
x - Vector(1..dim, datatype=float[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_dload (f16fbc) broadcasts a scalar into a real vector.
|
|
Description
|
|
nag_dload (f16fbc) performs the operation
where is an element real vector and is a real 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 := 2.0:
incx := 1:
x := Vector([1,2,3,4,5], datatype=float[8]):
NAG:-f16fbc(n, alpha, x, incx):
|
|
|
Download Help Document
Was this information helpful?