Cutlass CUDA Templates for Linear Algebra Subroutines and Solvers

Classes | Namespaces | Functions
complex.h File Reference
`#include <cuComplex.h>`
`#include "cutlass/cutlass.h"`
`#include <iosfwd>`

Go to the source code of this file.

## Classes
class | cutlass::platform::complex< T >

## Namespaces
| cutlass
| cutlass::platform

## Functions
CUTLASS_HOST_DEVICE float const & | cutlass::platform::real (cuFloatComplex const &z)
| Returns the real part of the complex number. More...
CUTLASS_HOST_DEVICE float & | cutlass::platform::real (cuFloatComplex &z)
| Returns the real part of the complex number. More...
CUTLASS_HOST_DEVICE double const & | cutlass::platform::real (cuDoubleComplex const &z)
| Returns the real part of the complex number. More...
CUTLASS_HOST_DEVICE double & | cutlass::platform::real (cuDoubleComplex &z)
| Returns the real part of the complex number. More...
CUTLASS_HOST_DEVICE float const & | cutlass::platform::imag (cuFloatComplex const &z)
| Returns the imaginary part of the complex number. More...
CUTLASS_HOST_DEVICE float & | cutlass::platform::imag (cuFloatComplex &z)
| Returns the imaginary part of the complex number. More...
CUTLASS_HOST_DEVICE double const & | cutlass::platform::imag (cuDoubleComplex const &z)
| Returns the imaginary part of the complex number. More...
CUTLASS_HOST_DEVICE double & | cutlass::platform::imag (cuDoubleComplex &z)
| Returns the imaginary part of the complex number. More...
template<typename T >
CUTLASS_HOST_DEVICE T const & | cutlass::platform::real (complex< T > const &z)
| Returns the real part of the complex number. More...
template<typename T >
CUTLASS_HOST_DEVICE T & | cutlass::platform::real (complex< T > &z)
| Returns the real part of the complex number. More...
template<typename T >
CUTLASS_HOST_DEVICE T const & | cutlass::platform::imag (complex< T > const &z)
| Returns the imaginary part of the complex number. More...
template<typename T >
CUTLASS_HOST_DEVICE T & | cutlass::platform::imag (complex< T > &z)
| Returns the imaginary part of the complex number. More...
template<typename T >
std::ostream & | cutlass::platform::operator<< (std::ostream &out, complex< T > const &z)
template<typename T >
CUTLASS_HOST_DEVICE bool | cutlass::platform::operator== (complex< T > const &lhs, complex< T > const &rhs)
| Equality operator. More...
template<typename T >
CUTLASS_HOST_DEVICE bool | cutlass::platform::operator!= (complex< T > const &lhs, complex< T > const &rhs)
| Inequality operator. More...
template<typename T >
CUTLASS_HOST_DEVICE complex< T > | cutlass::platform::operator+ (complex< T > const &lhs, complex< T > const &rhs)
| Addition. More...
template<typename T >
CUTLASS_HOST_DEVICE complex< T > | cutlass::platform::operator- (complex< T > const &lhs, complex< T > const &rhs)
| Subtraction. More...
template<typename T >
CUTLASS_HOST_DEVICE complex< T > | cutlass::platform::operator* (complex< T > const &lhs, complex< T > const &rhs)
| Multiplication. More...
template<typename T >
CUTLASS_HOST_DEVICE complex< T > | cutlass::platform::operator* (complex< T > const &lhs, T const &s)
| Scalar Multiplication. More...
template<typename T >
CUTLASS_HOST_DEVICE complex< T > | cutlass::platform::operator* (T const &s, complex< T > const &rhs)
| Scalar Multiplication. More...
template<typename T >
CUTLASS_HOST_DEVICE complex< T > | cutlass::platform::operator/ (complex< T > const &lhs, complex< T > const &rhs)
| Division. More...
template<typename T >
CUTLASS_HOST_DEVICE complex< T > | cutlass::platform::operator/ (complex< T > const &lhs, T const &s)
| Scalar Division. More...
template<typename T >
CUTLASS_HOST_DEVICE complex< T > | cutlass::platform::operator/ (T const &s, complex< T > const &rhs)
| Scalar divided by complex. More...
template<typename T >
CUTLASS_HOST_DEVICE complex< T > & | cutlass::platform::operator+= (complex< T > &lhs, complex< T > const &rhs)
| Addition. More...
template<typename T >
CUTLASS_HOST_DEVICE complex< T > & | cutlass::platform::operator-= (complex< T > &lhs, complex< T > const &rhs)
| Subtraction. More...
template<typename T >
CUTLASS_HOST_DEVICE complex< T > & | cutlass::platform::operator*= (complex< T > &lhs, complex< T > const &rhs)
| Multiplication. More...
template<typename T >
CUTLASS_HOST_DEVICE complex< T > & | cutlass::platform::operator*= (complex< T > &lhs, T s)
| Scalar multiplication. More...
template<typename T >
CUTLASS_HOST_DEVICE complex< T > & | cutlass::platform::operator/= (complex< T > &lhs, complex< T > const &rhs)
| Division. More...
template<typename T >
CUTLASS_HOST_DEVICE T | cutlass::platform::abs (complex< T > const &z)
| Returns the magnitude of the complex number. More...
template<typename T >
CUTLASS_HOST_DEVICE T | cutlass::platform::arg (complex< T > const &z)
| Returns the magnitude of the complex number. More...
template<typename T >
CUTLASS_HOST_DEVICE T | cutlass::platform::norm (complex< T > const &z)
| Returns the squared magnitude. More...
template<typename T >
CUTLASS_HOST_DEVICE complex< T > | cutlass::platform::conj (complex< T > const &z)
| Returns the complex conjugate. More...
template<typename T >
CUTLASS_HOST_DEVICE complex< T > | cutlass::platform::proj (complex< T > const &z)
| Projects the complex number z onto the Riemann sphere. More...
template<typename T >
CUTLASS_HOST_DEVICE complex< T > | cutlass::platform::polar (T const &r, T const &theta=T())
| Returns a complex number with magnitude r and phase theta. More...
template<typename T >
CUTLASS_HOST_DEVICE complex< T > | cutlass::platform::exp (complex< T > const &z)
| Computes the complex exponential of z. More...
template<typename T >
CUTLASS_HOST_DEVICE complex< T > | cutlass::platform::log (complex< T > const &z)
| Computes the complex exponential of z. More...
template<typename T >
CUTLASS_HOST_DEVICE complex< T > | cutlass::platform::log10 (complex< T > const &z)
| Computes the complex exponential of z. More...
template<typename T >
CUTLASS_HOST_DEVICE complex< T > | cutlass::platform::sqrt (complex< T > const &z)
| Computes the square root of complex number z. More...
template<typename T >
CUTLASS_HOST_DEVICE complex< T > | cutlass::platform::cos (complex< T > const &z)
| Computes the cosine of complex z. More...
template<typename T >
CUTLASS_HOST_DEVICE complex< T > | cutlass::platform::sin (complex< T > const &z)
| Computes the sin of complex z. More...