|
| template<typename T > |
| __host__ __device__ T | amrex::norm (const GpuComplex< T > &a_z) noexcept |
| | Return the norm (magnitude squared) of a complex number.
|
| |
| template<typename U > |
| std::ostream & | amrex::operator<< (std::ostream &out, const GpuComplex< U > &c) |
| |
| template<typename T > |
| __host__ __device__ GpuComplex< T > | amrex::operator+ (const GpuComplex< T > &a_x) |
| | Identity operation on a complex number.
|
| |
| template<typename T > |
| __host__ __device__ GpuComplex< T > | amrex::operator- (const GpuComplex< T > &a_x) |
| | Negate a complex number.
|
| |
| template<typename T > |
| __host__ __device__ GpuComplex< T > | amrex::operator- (const GpuComplex< T > &a_x, const GpuComplex< T > &a_y) noexcept |
| | Subtract two complex numbers.
|
| |
| template<typename T > |
| __host__ __device__ GpuComplex< T > | amrex::operator- (const GpuComplex< T > &a_x, const T &a_y) noexcept |
| | Subtract a real number from a complex one.
|
| |
| template<typename T > |
| __host__ __device__ GpuComplex< T > | amrex::operator- (const T &a_x, const GpuComplex< T > &a_y) noexcept |
| | Subtract a complex number from a real one.
|
| |
| template<typename T > |
| __host__ __device__ GpuComplex< T > | amrex::operator+ (const GpuComplex< T > &a_x, const GpuComplex< T > &a_y) noexcept |
| | Add two complex numbers.
|
| |
| template<typename T > |
| __host__ __device__ GpuComplex< T > | amrex::operator+ (const GpuComplex< T > &a_x, const T &a_y) noexcept |
| | Add a real number to a complex one.
|
| |
| template<typename T > |
| __host__ __device__ GpuComplex< T > | amrex::operator+ (const T &a_x, const GpuComplex< T > &a_y) noexcept |
| | Add a complex number to a real one.
|
| |
| template<typename T , typename U > |
| __host__ __device__ GpuComplex< T > | amrex::operator* (const GpuComplex< T > &a_x, const GpuComplex< U > &a_y) noexcept |
| | Multiply two complex numbers.
|
| |
| template<typename T , typename U > |
| __host__ __device__ GpuComplex< T > | amrex::operator* (const GpuComplex< T > &a_x, const U &a_y) noexcept |
| | Multiply a complex number by a real one.
|
| |
| template<typename T > |
| __host__ __device__ GpuComplex< T > | amrex::operator* (const T &a_x, const GpuComplex< T > &a_y) noexcept |
| | Multiply a real number by a complex one.
|
| |
| template<typename T > |
| __host__ __device__ GpuComplex< T > | amrex::operator/ (const GpuComplex< T > &a_x, const GpuComplex< T > &a_y) noexcept |
| | Divide a complex number by another one.
|
| |
| template<typename T > |
| __host__ __device__ GpuComplex< T > | amrex::operator/ (const GpuComplex< T > &a_x, const T &a_y) noexcept |
| | Divide a complex number by a real.
|
| |
| template<typename T > |
| __host__ __device__ GpuComplex< T > | amrex::operator/ (const T &a_x, const GpuComplex< T > &a_y) noexcept |
| | Divide a real number by a complex one.
|
| |
| template<typename T > |
| __host__ __device__ GpuComplex< T > | amrex::polar (const T &a_r, const T &a_theta) noexcept |
| | Return a complex number given its polar representation.
|
| |
| template<typename T > |
| __host__ __device__ GpuComplex< T > | amrex::exp (const GpuComplex< T > &a_z) noexcept |
| | Complex expotential function.
|
| |
| template<typename T > |
| __host__ __device__ T | amrex::abs (const GpuComplex< T > &a_z) noexcept |
| | Return the absolute value of a complex number.
|
| |
| template<typename T > |
| __host__ __device__ GpuComplex< T > | amrex::sqrt (const GpuComplex< T > &a_z) noexcept |
| | Return the square root of a complex number.
|
| |
| template<typename T > |
| __host__ __device__ T | amrex::arg (const GpuComplex< T > &a_z) noexcept |
| | Return the angle of a complex number's polar representation.
|
| |
| template<typename T > |
| __host__ __device__ GpuComplex< T > | amrex::log (const GpuComplex< T > &a_z) noexcept |
| | Complex natural logarithm function.
|
| |
| template<typename T > |
| __host__ __device__ GpuComplex< T > | amrex::pow (const GpuComplex< T > &a_z, const T &a_y) noexcept |
| | Raise a complex number to a (real) power.
|
| |
| template<typename T > |
| __host__ __device__ GpuComplex< T > | amrex::detail::complex_pow_unsigned (GpuComplex< T > a_z, unsigned a_n) |
| |
| template<typename T > |
| __host__ __device__ GpuComplex< T > | amrex::pow (const GpuComplex< T > &a_z, int a_n) noexcept |
| | Raise a complex number to an integer power.
|
| |