Uses of Class
jcuda.jcublas.cuComplex

Uses of cuComplex in jcuda.jcublas
 

Methods in jcuda.jcublas that return cuComplex
static cuComplex cuComplex.cuCadd(cuComplex x, cuComplex y)
          Returns a new complex number that is the sum of the given complex numbers.
static cuComplex cuComplex.cuCdiv(cuComplex x, cuComplex y)
          Returns the quotient of the given complex numbers.
static cuComplex cuComplex.cuCmplx(float r, float i)
          Creates a new complex number consisting of the given real and imaginary part.
static cuComplex cuComplex.cuCmul(cuComplex x, cuComplex y)
          Returns the product of the given complex numbers.
static cuComplex cuComplex.cuConj(cuComplex x)
          Returns the complex conjugate of the given complex number.
 

Methods in jcuda.jcublas with parameters of type cuComplex
static void JCublas.cublasCaxpy(int n, cuComplex alpha, jcuda.Pointer x, int incx, jcuda.Pointer y, int incy)
           void cublasCaxpy (int n, cuComplex alpha, const cuComplex *x, int incx, cuComplex *y, int incy) multiplies single-complex vector x by single-complex scalar alpha and adds the result to single-complex vector y; that is, it overwrites single-complex y with single-complex alpha * x + y.
static void JCublas.cublasCgemm(char transa, char transb, int m, int n, int k, cuComplex alpha, jcuda.Pointer A, int lda, jcuda.Pointer B, int ldb, cuComplex beta, jcuda.Pointer C, int ldc)
           void cublasCgemm (char transa, char transb, int m, int n, int k, cuComplex alpha, const cuComplex *A, int lda, const cuComplex *B, int ldb, cuComplex beta, cuComplex *C, int ldc) performs one of the matrix-matrix operations C = alpha * op(A) * op(B) + beta*C, where op(X) is one of op(X) = X or op(X) = transpose or op(X) = conjg(transpose(X)) alpha and beta are single-complex scalars, and A, B and C are matrices consisting of single-complex elements, with op(A) an m x k matrix, op(B) a k x n matrix and C an m x n matrix.
static void JCublas.cublasCrot(int n, jcuda.Pointer x, int incx, jcuda.Pointer y, int incy, float c, cuComplex s)
           void cublasCrot (int n, cuComplex *x, int incx, cuComplex *y, int incy, float sc, cuComplex cs) multiplies a 2x2 matrix ( sc cs) with the 2xn matrix ( transpose(x) ) (-conj(cs) sc) ( transpose(y) ) The elements of x are in x[lx + i * incx], i = 0 ... n - 1, where lx = 1 if incx >= 0, else lx = 1 + (1 - n) * incx, and similarly for y using ly and incy.
static void JCublas.cublasCrotg(jcuda.Pointer pca, cuComplex cb, jcuda.Pointer psc, jcuda.Pointer pcs)
           void cublasCrotg (cuComplex *ca, cuComplex cb, float *sc, cuComplex *cs) constructs the complex Givens tranformation ( sc cs ) G = ( ) , sc^2 + cabs(cs)^2 = 1, (-cs sc ) which zeros the second entry of the complex 2-vector transpose(ca, cb).
static void JCublas.cublasCscal(int n, cuComplex alpha, jcuda.Pointer x, int incx)
           void cublasCscal (int n, cuComplex alpha, cuComplex *x, int incx) replaces single-complex vector x with single-complex alpha * x.
static int JCublas.cublasGetMatrix(int rows, int cols, jcuda.Pointer A, int lda, cuComplex[] B, int offsetB, int ldb)
          Extended wrapper for arrays of cuComplex values.
static int JCublas.cublasGetVector(int n, jcuda.Pointer x, int incx, cuComplex[] y, int offsety, int incy)
          Extended wrapper for arrays of cuComplex values.
static int JCublas.cublasSetMatrix(int rows, int cols, cuComplex[] A, int offsetA, int lda, jcuda.Pointer B, int ldb)
          Extended wrapper for arrays of cuComplex values.
static int JCublas.cublasSetVector(int n, cuComplex[] x, int offsetx, int incx, jcuda.Pointer y, int incy)
          Extended wrapper for arrays of cuComplex values.
static float cuComplex.cuCabs(cuComplex x)
          Returns the absolute value of the given complex number.
static cuComplex cuComplex.cuCadd(cuComplex x, cuComplex y)
          Returns a new complex number that is the sum of the given complex numbers.
static cuComplex cuComplex.cuCdiv(cuComplex x, cuComplex y)
          Returns the quotient of the given complex numbers.
static float cuComplex.cuCimag(cuComplex x)
          Returns the imaginary part of the given complex number.
static cuComplex cuComplex.cuCmul(cuComplex x, cuComplex y)
          Returns the product of the given complex numbers.
static cuComplex cuComplex.cuConj(cuComplex x)
          Returns the complex conjugate of the given complex number.
static float cuComplex.cuCreal(cuComplex x)
          Returns the real part of the given complex number.