|
|
constexpr | cmplx_t (real_t vre=0, real_t vim=0) |
| |
|
constexpr | cmplx_t (const cmplx_t &)=default |
| |
|
template<typename T , std::enable_if_t< std::is_arithmetic_v< std::remove_reference_t< T > > > * = nullptr> |
| constexpr | cmplx_t (const T &v) |
| |
|
template<typename T , std::enable_if_t< std::is_arithmetic_v< std::remove_reference_t< T > > > * = nullptr> |
| constexpr | cmplx_t (const std::complex< T > &v) |
| |
|
template<typename T , std::enable_if_t< std::is_arithmetic_v< std::remove_reference_t< T > > > * = nullptr> |
| | operator std::complex< T > () const |
| |
|
cmplx_t & | operator= (const cmplx_t &)=default |
| |
|
const cmplx_t & | operator+ () const noexcept |
| |
|
cmplx_t | operator- () const noexcept |
| |
|
cmplx_t & | operator+= (const cmplx_t &rhs) noexcept |
| |
|
cmplx_t & | operator-= (const cmplx_t &rhs) noexcept |
| |
|
cmplx_t & | operator*= (const cmplx_t &rhs) noexcept |
| |
|
cmplx_t & | operator/= (const cmplx_t &rhs) noexcept |
| |
|
constexpr cmplx_t | operator+ (const cmplx_t &rhs) const noexcept |
| |
|
constexpr cmplx_t | operator- (const cmplx_t &rhs) const noexcept |
| |
|
constexpr cmplx_t | operator* (const cmplx_t &rhs) const noexcept |
| |
|
constexpr cmplx_t | operator/ (const cmplx_t &rhs) const noexcept |
| |
|
cmplx_t & | operator+= (const real_t &rhs) noexcept |
| |
|
constexpr cmplx_t | operator+ (const real_t &rhs) const noexcept |
| |
|
cmplx_t & | operator-= (const real_t &rhs) noexcept |
| |
|
constexpr cmplx_t | operator- (const real_t &rhs) const noexcept |
| |
|
cmplx_t & | operator*= (const real_t &rhs) noexcept |
| |
|
constexpr cmplx_t | operator* (const real_t &rhs) const noexcept |
| |
|
cmplx_t & | operator/= (const real_t &rhs) noexcept |
| |
|
constexpr cmplx_t | operator/ (const real_t &rhs) const noexcept |
| |
|
constexpr bool | operator> (const cmplx_t &rhs) const noexcept |
| |
|
constexpr bool | operator< (const cmplx_t &rhs) const noexcept |
| |
|
constexpr bool | operator== (const cmplx_t &rhs) const noexcept |
| |
|
constexpr bool | operator!= (const cmplx_t &rhs) const noexcept |
| |
|
constexpr cmplx_t | conj () const noexcept |
| |
|
constexpr real_t | abs2 () const noexcept |
| |