PyTorch
Loading...
Searching...
No Matches
Public Member Functions | Public Attributes | List of all members
c10::complex< Half > Struct Reference

#include <Half.h>

Public Member Functions

 complex ()=default
 
 complex (const Half &real, const Half &imag)
 
 complex (const c10::complex< float > &value)
 
 operator c10::complex< float > () const
 
constexpr Half real () const
 
constexpr Half imag () const
 
complex< Half > & operator+= (const complex< Half > &other)
 
complex< Half > & operator-= (const complex< Half > &other)
 
complex< Half > & operator*= (const complex< Half > &other)
 

Public Attributes

Half real_
 
Half imag_
 

Constructor & Destructor Documentation

◆ complex() [1/3]

c10::complex< Half >::complex ( )
default

◆ complex() [2/3]

c10::complex< Half >::complex ( const Half real,
const Half imag 
)
inlineexplicit

◆ complex() [3/3]

c10::complex< Half >::complex ( const c10::complex< float > &  value)
inline

Member Function Documentation

◆ imag()

constexpr Half c10::complex< Half >::imag ( ) const
inlineconstexpr

◆ operator c10::complex< float >()

c10::complex< Half >::operator c10::complex< float > ( ) const
inline

◆ operator*=()

complex< Half > & c10::complex< Half >::operator*= ( const complex< Half > &  other)
inline

◆ operator+=()

complex< Half > & c10::complex< Half >::operator+= ( const complex< Half > &  other)
inline

◆ operator-=()

complex< Half > & c10::complex< Half >::operator-= ( const complex< Half > &  other)
inline

◆ real()

constexpr Half c10::complex< Half >::real ( ) const
inlineconstexpr

Member Data Documentation

◆ imag_

Half c10::complex< Half >::imag_

◆ real_

Half c10::complex< Half >::real_

The documentation for this struct was generated from the following file: