JCublasJava/src/main/java/jcuda/jcublas/JCublas.java
public static void cublasCscal(int n, cuComplex alpha, Pointer x, int incx)
    {
        cublasCscalNative(n, alpha, x, incx);
        checkResultBLAS();
    }
public static void cublasCscal(int n, cuComplex alpha, Pointer x, int incx)
    {
        cublasCscalNative(n, alpha, x, incx);
        checkResultBLAS();
    }
<pre>
void
cublasCscal (int n, cuComplex alpha, cuComplex *x, int incx)

replaces single-complex vector x with single-complex alpha * x. For i
= 0 to n - 1, it replaces x[ix + i * incx] with alpha * x[ix + i * incx],
where ix = 1 if incx >= 0, else ix = 1 + (1 - n) * incx.

Input
-----
n      number of elements in input vectors
alpha  single-complex scalar multiplier
x      single-complex vector with n elements
incx   storage spacing between elements of x

Output
------
x      single-complex result (unchanged if n <= 0 or incx <= 0)

Reference: http://www.netlib.org/blas/cscal.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_EXECUTION_FAILED if function failed to launch on GPU
</pre>