MathLib
Loading...
Searching...
No Matches
Complex Algebra

Operators

constexpr BasicComplex< T > operator* (const BasicComplex< T > &left, const BasicComplex< T > &right)
 
template<std::floating_point OT>
constexpr BasicComplex< T > operator* (const BasicComplex< T > &complex, OT scalar)
 
constexpr BasicComplex< T > operator/ (const BasicComplex< T > &left, const BasicComplex< T > &right)
 
template<std::floating_point OT>
constexpr BasicComplex< T > operator/ (const BasicComplex< T > &complex, OT scalar)
 
constexpr BasicComplex< T > operator+ (const BasicComplex< T > &left, const BasicComplex< T > &right)
 
template<std::floating_point OT>
constexpr BasicComplex< T > operator+ (const BasicComplex< T > &complex, OT scalar)
 
constexpr BasicComplex< T > operator- (const BasicComplex< T > &left, const BasicComplex< T > &right)
 
template<std::floating_point OT>
constexpr BasicComplex< T > operator- (const BasicComplex< T > &complex, OT scalar)
 
constexpr BasicComplex< T > operator- (const BasicComplex< T > &q)
 

Detailed Description

Friends

◆ operator* [1/2]

template<std::floating_point T>
template<std::floating_point OT>
constexpr BasicComplex< T > operator* ( const BasicComplex< T > &  complex,
OT  scalar 
)
friend

#include <lib/include/Math/math/Complex.hpp>

Definition at line 273 of file Complex.hpp.

◆ operator* [2/2]

template<std::floating_point T>
constexpr BasicComplex< T > operator* ( const BasicComplex< T > &  left,
const BasicComplex< T > &  right 
)
friend

#include <lib/include/Math/math/Complex.hpp>

Definition at line 266 of file Complex.hpp.

◆ operator+ [1/2]

template<std::floating_point T>
template<std::floating_point OT>
constexpr BasicComplex< T > operator+ ( const BasicComplex< T > &  complex,
OT  scalar 
)
friend

#include <lib/include/Math/math/Complex.hpp>

Definition at line 297 of file Complex.hpp.

◆ operator+ [2/2]

template<std::floating_point T>
constexpr BasicComplex< T > operator+ ( const BasicComplex< T > &  left,
const BasicComplex< T > &  right 
)
friend

#include <lib/include/Math/math/Complex.hpp>

Definition at line 290 of file Complex.hpp.

◆ operator- [1/3]

template<std::floating_point T>
template<std::floating_point OT>
constexpr BasicComplex< T > operator- ( const BasicComplex< T > &  complex,
OT  scalar 
)
friend

#include <lib/include/Math/math/Complex.hpp>

Definition at line 309 of file Complex.hpp.

◆ operator- [2/3]

template<std::floating_point T>
constexpr BasicComplex< T > operator- ( const BasicComplex< T > &  left,
const BasicComplex< T > &  right 
)
friend

#include <lib/include/Math/math/Complex.hpp>

Definition at line 302 of file Complex.hpp.

◆ operator- [3/3]

template<std::floating_point T>
constexpr BasicComplex< T > operator- ( const BasicComplex< T > &  q)
friend

#include <lib/include/Math/math/Complex.hpp>

Definition at line 314 of file Complex.hpp.

◆ operator/ [1/2]

template<std::floating_point T>
template<std::floating_point OT>
constexpr BasicComplex< T > operator/ ( const BasicComplex< T > &  complex,
OT  scalar 
)
friend

#include <lib/include/Math/math/Complex.hpp>

Definition at line 284 of file Complex.hpp.

◆ operator/ [2/2]

template<std::floating_point T>
constexpr BasicComplex< T > operator/ ( const BasicComplex< T > &  left,
const BasicComplex< T > &  right 
)
friend

#include <lib/include/Math/math/Complex.hpp>

Definition at line 278 of file Complex.hpp.