f06ea computes the scalar product of two real vectors.
Syntax
C# |
---|
public static double f06ea( int n, double[] x, int incx, double[] y, int incy, out int ifail ) |
Visual Basic |
---|
Public Shared Function f06ea ( _ n As Integer, _ x As Double(), _ incx As Integer, _ y As Double(), _ incy As Integer, _ <OutAttribute> ByRef ifail As Integer _ ) As Double |
Visual C++ |
---|
public: static double f06ea( int n, array<double>^ x, int incx, array<double>^ y, int incy, [OutAttribute] int% ifail ) |
F# |
---|
static member f06ea : n : int * x : float[] * incx : int * y : float[] * incy : int * ifail : int byref -> float |
Parameters
- n
- Type: System..::..Int32On entry: , the number of elements in and .
- 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 entry: the -element vector .If , must be stored in , for .If , must be stored in , for .Intermediate elements of y are not referenced.
- 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]).
Return Value
f06ea computes the scalar product of two real vectors.
Description
References
Lawson C L, Hanson R J, Kincaid D R and Krogh F T (1979) Basic linear algebra supbrograms for Fortran usage ACM Trans. Math. Software 5 308–325
Error Indicators and Warnings
Accuracy
Not applicable.
Parallelism and Performance
None.
Further Comments
None.