Package | Description |
---|---|
jcuda |
Contains common classes for all JCuda libraries.
|
Modifier and Type | Method and Description |
---|---|
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.
|
Modifier and Type | Method and Description |
---|---|
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.
|
Copyright © 2020. All rights reserved.