Package | Description |
---|---|
jcuda |
Modifier and Type | Method and Description |
---|---|
static cuDoubleComplex |
cuDoubleComplex.cuCadd(cuDoubleComplex x,
cuDoubleComplex y)
Returns a new complex number that is the sum of the given
complex numbers.
|
static cuDoubleComplex |
cuDoubleComplex.cuCdiv(cuDoubleComplex x,
cuDoubleComplex y)
Returns the quotient of the given complex numbers.
Original comment: This implementation guards against intermediate underflow and overflow by scaling. |
static cuDoubleComplex |
cuDoubleComplex.cuCmplx(double r,
double i)
Creates a new complex number consisting of the given real and
imaginary part.
|
static cuDoubleComplex |
cuDoubleComplex.cuCmul(cuDoubleComplex x,
cuDoubleComplex y)
Returns the product of the given complex numbers.
Original comment: This implementation could suffer from intermediate overflow even though the final result would be in range. |
static cuDoubleComplex |
cuDoubleComplex.cuConj(cuDoubleComplex x)
Returns the complex conjugate of the given complex number.
|
Modifier and Type | Method and Description |
---|---|
static double |
cuDoubleComplex.cuCabs(cuDoubleComplex x)
Returns the absolute value of the given complex number.
Original comment: This implementation guards against intermediate underflow and overflow by scaling. |
static cuDoubleComplex |
cuDoubleComplex.cuCadd(cuDoubleComplex x,
cuDoubleComplex y)
Returns a new complex number that is the sum of the given
complex numbers.
|
static cuDoubleComplex |
cuDoubleComplex.cuCdiv(cuDoubleComplex x,
cuDoubleComplex y)
Returns the quotient of the given complex numbers.
Original comment: This implementation guards against intermediate underflow and overflow by scaling. |
static double |
cuDoubleComplex.cuCimag(cuDoubleComplex x)
Returns the imaginary part of the given complex number.
|
static cuDoubleComplex |
cuDoubleComplex.cuCmul(cuDoubleComplex x,
cuDoubleComplex y)
Returns the product of the given complex numbers.
Original comment: This implementation could suffer from intermediate overflow even though the final result would be in range. |
static cuDoubleComplex |
cuDoubleComplex.cuConj(cuDoubleComplex x)
Returns the complex conjugate of the given complex number.
|
static double |
cuDoubleComplex.cuCreal(cuDoubleComplex x)
Returns the real part of the given complex number.
|
Copyright © 2014. All Rights Reserved.