public static void cublasDswap(int n, Pointer x, int incx, Pointer y, int incy) {
    """
	<pre>
	void
	cublasDswap (int n, double *x, int incx, double *y, int incy)
	
	interchanges the double-precision vector x with the double-precision vector y.
	For i = 0 to n-1, interchanges x[lx + i * incx] with 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
	------
	x      contains double precision vector y
	y      contains double precision vector x
	
	Reference: http://www.netlib.org/blas/dswap.f
	
	Error status for this function can be retrieved via cublasGetError().
	
	Error Status
	------------
	CUBLAS_STATUS_NOT_INITIALIZED  if CUBLAS library has not been initialized
	CUBLAS_STATUS_ARCH_MISMATCH    if invoked on device without DP support
	CUBLAS_STATUS_EXECUTION_FAILED if function failed to launch on GPU
	</pre>
    """
        cublasDswapNative(n, x, incx, y, incy);
        checkResultBLAS();
    }
public static void cublasDswap(int n, Pointer x, int incx, Pointer y, int incy)
    {
        cublasDswapNative(n, x, incx, y, incy);
        checkResultBLAS();
    }
public static void cublasDswap ( int n , Pointer x , int incx , Pointer y , int incy ) { cublasDswapNative ( n , x , incx , y , incy ) ; checkResultBLAS ( ) ; }
<pre>
void
cublasDswap (int n, double *x, int incx, double *y, int incy)

interchanges the double-precision vector x with the double-precision vector y.
For i = 0 to n-1, interchanges x[lx + i * incx] with 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
------
x      contains double precision vector y
y      contains double precision vector x

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

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

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