flexiblesusy is hosted by Hepforge, IPPP Durham
FlexibleSUSY
flexiblesusy::Complex< T > Struct Template Reference

Class representing complex a number. More...

#include <complex.hpp>

Collaboration diagram for flexiblesusy::Complex< T >:
Collaboration graph

Public Member Functions

constexpr Complex (T re_=T{}, T im_=T{})
 
 operator std::complex< T > () const noexcept
 

Public Attributes

im {}
 
re {}
 

Detailed Description

template<typename T>
struct flexiblesusy::Complex< T >

Class representing complex a number.

Using complex numeric operations based on this class leads to higher performance.

Definition at line 34 of file complex.hpp.

Constructor & Destructor Documentation

◆ Complex()

template<typename T >
constexpr flexiblesusy::Complex< T >::Complex ( re_ = T{},
im_ = T{} 
)
inlineconstexpr

Definition at line 35 of file complex.hpp.

Member Function Documentation

◆ operator std::complex< T >()

template<typename T >
flexiblesusy::Complex< T >::operator std::complex< T > ( ) const
inlinenoexcept

Definition at line 36 of file complex.hpp.

References flexiblesusy::Complex< T >::im, and flexiblesusy::Complex< T >::re.

Member Data Documentation

◆ im

◆ re


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