xcal
基于 C++23 的现代图形渲染引擎
|
Complex number class template 更多...
#include <complex.hpp>
Public 成员函数 | |
complex (const T &real, const T &imag) | |
complex (const T &real) | |
complex () | |
template<typename Vtp2 > requires std::convertible_to<Vtp2, T> | |
complex (const T &real, const Vtp2 &imag) | |
template<typename Vtp1 > requires std::convertible_to<Vtp1, T> | |
complex (const Vtp1 &real, const T &imag) | |
complex | operator+ (const complex &other) const |
complex | operator- (const complex &other) const |
complex | operator- () const |
complex | operator* (const complex &other) const |
complex | operator/ (const complex &other) const |
template<typename Res = double> requires concepts::Sqrt<T> | |
Res | mod () |
complex< T > | inv () |
template<class V > requires std::convertible_to<T, V> | |
operator complex< V > () | |
Public 属性 | |
T | real |
T | imag |
静态 Public 属性 | |
static constexpr auto | Type = TypeName<T> |
Complex number class template
T | Type of elements in the complex number |
在文件 complex.hpp 第 15 行定义.
|
inline |
在文件 complex.hpp 第 21 行定义.
|
inline |
在文件 complex.hpp 第 22 行定义.
|
inline |
|
inline |
在文件 complex.hpp 第 31 行定义.
|
inline |
在文件 complex.hpp 第 35 行定义.
|
inline |
在文件 complex.hpp 第 69 行定义.
引用了 xcmath::complex< T >::complex(), xcmath::complex< T >::imag , 以及 xcmath::complex< T >::real.
|
inline |
在文件 complex.hpp 第 64 行定义.
引用了 xcmath::complex< T >::imag , 以及 xcmath::complex< T >::real.
|
inline |
在文件 complex.hpp 第 77 行定义.
引用了 xcmath::complex< T >::imag , 以及 xcmath::complex< T >::real.
|
inline |
在文件 complex.hpp 第 52 行定义.
引用了 xcmath::complex< T >::complex(), xcmath::complex< T >::imag , 以及 xcmath::complex< T >::real.
|
inline |
在文件 complex.hpp 第 37 行定义.
引用了 xcmath::complex< T >::complex(), xcmath::complex< T >::imag , 以及 xcmath::complex< T >::real.
|
inline |
在文件 complex.hpp 第 47 行定义.
引用了 xcmath::complex< T >::complex(), xcmath::complex< T >::imag , 以及 xcmath::complex< T >::real.
|
inline |
在文件 complex.hpp 第 42 行定义.
引用了 xcmath::complex< T >::complex(), xcmath::complex< T >::imag , 以及 xcmath::complex< T >::real.
|
inline |
在文件 complex.hpp 第 58 行定义.
T xcmath::complex< T >::imag |
在文件 complex.hpp 第 18 行定义.
被这些函数引用 xcmath::complex< T >::inv(), xcmath::complex< T >::mod(), xcmath::complex< T >::operator complex< V >(), xcmath::complex< T >::operator*(), xcmath::complex< T >::operator+(), xcmath::complex< T >::operator-(), xcmath::complex< T >::operator-() , 以及 xcmath::operator<<().
T xcmath::complex< T >::real |
在文件 complex.hpp 第 17 行定义.
被这些函数引用 xcmath::complex< T >::inv(), xcmath::complex< T >::mod(), xcmath::complex< T >::operator complex< V >(), xcmath::complex< T >::operator*(), xcmath::complex< T >::operator+(), xcmath::complex< T >::operator-(), xcmath::complex< T >::operator-() , 以及 xcmath::operator<<().
|
staticconstexpr |
在文件 complex.hpp 第 19 行定义.