f06fd multiplies a real vector by a scalar, preserving the input vector.
Syntax
C# |
---|
public static void f06fd( int n, double alpha, double[] x, int incx, double[] y, int incy, out int ifail ) |
Visual Basic |
---|
Public Shared Sub f06fd ( _ n As Integer, _ alpha As Double, _ x As Double(), _ incx As Integer, _ y As Double(), _ incy As Integer, _ <OutAttribute> ByRef ifail As Integer _ ) |
Visual C++ |
---|
public: static void f06fd( int n, double alpha, array<double>^ x, int incx, array<double>^ y, int incy, [OutAttribute] int% ifail ) |
F# |
---|
static member f06fd : n : int * alpha : float * x : float[] * incx : int * y : float[] * incy : int * ifail : int byref -> unit |
Parameters
- n
- Type: System..::..Int32On entry: , the number of elements in and .
- alpha
- Type: System..::..DoubleOn entry: the scalar .
- x
- Type: array<System..::..Double>[]()[][]An array of size [dim1]Note: the dimension of the array x must be at least .On entry: the -element vector .If , must be stored in , for .If , must be stored in , for .Intermediate elements of x are not referenced.
- incx
- Type: System..::..Int32On entry: the increment in the subscripts of x between successive elements of .
- y
- Type: array<System..::..Double>[]()[][]An array of size [dim1]Note: the dimension of the array y must be at least .On exit: the vector .If , will be stored in , for .If , will be stored in , for .Intermediate elements of y are unchanged.
- incy
- Type: System..::..Int32On entry: the increment in the subscripts of y between successive elements of .
- ifail
- Type: System..::..Int32%On exit: unless the method detects an error (see [Error Indicators and Warnings]).
Description
References
None.
Error Indicators and Warnings
Accuracy
Not applicable.
Parallelism and Performance
None.
Further Comments
None.