|  | CUTLASS
    CUDA Templates for Linear Algebra Subroutines and Solvers | 
#include <complex.h>
| Public Member Functions | |
| CUTLASS_HOST_DEVICE | complex (T r=T(0)) | 
| Constructor.  More... | |
| CUTLASS_HOST_DEVICE | complex (T r, T i) | 
| Constructor.  More... | |
| template<typename A > | |
| CUTLASS_HOST_DEVICE | complex (complex< A > const &z) | 
| Constructor.  More... | |
| CUTLASS_HOST_DEVICE | complex (cuFloatComplex const &z) | 
| Conversion from cuFloatComplex.  More... | |
| CUTLASS_HOST_DEVICE | complex (cuDoubleComplex const &z) | 
| Conversion from cuDoubleComplex.  More... | |
| template<typename A > | |
| CUTLASS_HOST_DEVICE complex< T > & | operator= (complex< A > const &z) | 
| Assignment.  More... | |
| CUTLASS_HOST_DEVICE bool | operator== (complex< T > const &rhs) const | 
| Equality operator.  More... | |
| CUTLASS_HOST_DEVICE bool | operator!= (complex< T > const &rhs) const | 
| Inequality operator.  More... | |
| template<typename A > | |
| CUTLASS_HOST_DEVICE complex< T > | operator+ (complex< A > const &rhs) const | 
| Addition.  More... | |
| template<typename A > | |
| CUTLASS_HOST_DEVICE complex< T > | operator- (complex< A > const &rhs) const | 
| Subtraction.  More... | |
| template<typename A > | |
| CUTLASS_HOST_DEVICE complex< T > | operator* (complex< A > const &rhs) const | 
| Multiplication.  More... | |
| template<typename A > | |
| CUTLASS_HOST_DEVICE complex< T > | operator* (A const &s) const | 
| Scalar Multiplication.  More... | |
| template<typename A > | |
| CUTLASS_HOST_DEVICE complex< T > | operator/ (complex< A > const &rhs) const | 
| Division.  More... | |
| template<typename A > | |
| CUTLASS_HOST_DEVICE complex< T > | operator/ (A const &s) const | 
| Scalar Division.  More... | |
| template<typename A > | |
| CUTLASS_HOST_DEVICE complex< T > & | operator+= (complex< A > const &rhs) | 
| Addition.  More... | |
| template<typename A > | |
| CUTLASS_HOST_DEVICE complex< T > & | operator-= (complex< A > const &rhs) | 
| Subtraction.  More... | |
| template<typename A > | |
| CUTLASS_HOST_DEVICE complex< T > & | operator*= (complex< A > const &rhs) | 
| Multiplication.  More... | |
| template<typename A > | |
| CUTLASS_HOST_DEVICE complex< T > & | operator*= (A s) | 
| Scalar multiplication.  More... | |
| template<typename A > | |
| CUTLASS_HOST_DEVICE complex< T > & | operator/= (complex< A > const &rhs) | 
| Division.  More... | |
| CUTLASS_HOST_DEVICE T const & | real () const | 
| Accesses the real part of the complex number.  More... | |
| CUTLASS_HOST_DEVICE T & | real () | 
| Accesses the real part of the complex number.  More... | |
| CUTLASS_HOST_DEVICE T const & | imag () const | 
| Accesses the imaginary part of the complex number.  More... | |
| CUTLASS_HOST_DEVICE T & | imag () | 
| Accesses the imaginary part of the complex number.  More... | |
| CUTLASS_HOST_DEVICE | operator cuFloatComplex () const | 
| Converts to cuFloatComplex.  More... | |
| CUTLASS_HOST_DEVICE | operator cuDoubleComplex () const | 
| Converts to cuDoubleComplex.  More... | |
Class for representing and manipulating complex numbers with conversions from built-in CUDA complex types.
| 
 | inline | 
| 
 | inline | 
| 
 | inline | 
| 
 | inline | 
| 
 | inline | 
| 
 | inline | 
| 
 | inline | 
| 
 | inlineexplicit | 
| 
 | inlineexplicit | 
| 
 | inline | 
| 
 | inline | 
| 
 | inline | 
| 
 | inline | 
| 
 | inline | 
| 
 | inline | 
| 
 | inline | 
| 
 | inline | 
| 
 | inline | 
| 
 | inline | 
| 
 | inline | 
| 
 | inline | 
| 
 | inline | 
| 
 | inline | 
| 
 | inline | 
| 
 | inline | 
 1.8.11
 1.8.11