public static double cublasDdot(int n, Pointer x, int incx, Pointer y, int incy) {
    """
	<pre>
	double
	cublasDdot (int n, const double *x, int incx, const double *y, int incy)
	
	computes the dot product of two double-precision vectors. It returns the
	dot product of the double precision vectors x and y if successful, and
	0.0f otherwise. It computes the sum for i = 0 to n - 1 of x[lx + i *
	incx] * y[ly + i * incy], where lx = 1 if incx >= 0, else lx = 1 + (1 - n)
	*incx, and ly is defined in a similar way using incy.
	
	Input
	-----
	n      number of elements in input vectors
	x      double-precision vector with n elements
	incx   storage spacing between elements of x
	y      double-precision vector with n elements
	incy   storage spacing between elements of y
	
	Output
	------
	returns double-precision dot product (zero if n <= 0)
	
	Reference: http://www.netlib.org/blas/ddot.f
	
	Error status for this function can be retrieved via cublasGetError().
	
	Error Status
	------------
	CUBLAS_STATUS_NOT_INITIALIZED  if CUBLAS library has nor been initialized
	CUBLAS_STATUS_ARCH_MISMATCH    if invoked on device without DP support
	CUBLAS_STATUS_EXECUTION_FAILED if function failed to execute on GPU
	</pre>
    """
        double result = cublasDdotNative(n, x, incx, y, incy);
        checkResultBLAS();
        return result;
    }
public static double cublasDdot(int n, Pointer x, int incx, Pointer y, int incy)
    {
        double result = cublasDdotNative(n, x, incx, y, incy);
        checkResultBLAS();
        return result;
    }
public static double cublasDdot ( int n , Pointer x , int incx , Pointer y , int incy ) { double result = cublasDdotNative ( n , x , incx , y , incy ) ; checkResultBLAS ( ) ; return result ; }
<pre>
double
cublasDdot (int n, const double *x, int incx, const double *y, int incy)

computes the dot product of two double-precision vectors. It returns the
dot product of the double precision vectors x and y if successful, and
0.0f otherwise. It computes the sum for i = 0 to n - 1 of x[lx + i *
incx] * y[ly + i * incy], where lx = 1 if incx >= 0, else lx = 1 + (1 - n)
*incx, and ly is defined in a similar way using incy.

Input
-----
n      number of elements in input vectors
x      double-precision vector with n elements
incx   storage spacing between elements of x
y      double-precision vector with n elements
incy   storage spacing between elements of y

Output
------
returns double-precision dot product (zero if n <= 0)

Reference: http://www.netlib.org/blas/ddot.f

Error status for this function can be retrieved via cublasGetError().

Error Status
------------
CUBLAS_STATUS_NOT_INITIALIZED  if CUBLAS library has nor been initialized
CUBLAS_STATUS_ARCH_MISMATCH    if invoked on device without DP support
CUBLAS_STATUS_EXECUTION_FAILED if function failed to execute on GPU
</pre>
<pre > double cublasDdot ( int n const double * x int incx const double * y int incy )