complex¶
compound_type_traits class¶
template <typename T> compound_type_traits
c32 typedef¶
c32 = complex<f32>
Alias for complex<f32>
c64 typedef¶
c64 = complex<f64>
Alias for complex<f64>
cbase typedef¶
cbase = complex<fbase>
Alias for complex<fbase>
compoundcast class (generic::internal::compoundcast)¶
template <typename T> compoundcast
template <typename T, size_t N> compoundcast
cdupreal function (generic::cdupreal)¶
template <typename T, size_t N>
vec<complex<T>, N> cdupreal(const vec<complex<T>, N> &x)
Returns vector of complex values with real part duplicated
cdupreal class (generic::fn::cdupreal)¶
cdupreal
cdupimag function (generic::cdupimag)¶
template <typename T, size_t N>
vec<complex<T>, N> cdupimag(const vec<complex<T>, N> &x)
Returns vector of complex values with imaginary part duplicated
cdupimag class (generic::fn::cdupimag)¶
cdupimag
cswapreim function (generic::cswapreim)¶
template <typename T, size_t N>
vec<complex<T>, N> cswapreim(const vec<complex<T>, N> &x)
Returns vector of complex values with real and imaginary parts swapped
cswapreim class (generic::fn::cswapreim)¶
cswapreim
cnegreal function (generic::cnegreal)¶
template <typename T, size_t N>
vec<complex<T>, N> cnegreal(const vec<complex<T>, N> &x)
Returns vector of complex values with real part negated
cnegreal class (generic::fn::cnegreal)¶
cnegreal
cnegimag function (generic::cnegimag)¶
template <typename T, size_t N>
vec<complex<T>, N> cnegimag(const vec<complex<T>, N> &x)
Returns vector of complex values with imaginary part negated
cnegimag class (generic::fn::cnegimag)¶
cnegimag
isreal function (generic::isreal)¶
template <typename T> bool isreal(const complex<T> &x)
Returns mask with true for real elements
isreal class (generic::fn::isreal)¶
isreal
is_complex_impl class (generic::internal::is_complex_impl)¶
template <typename T> is_complex_impl
template <typename T> is_complex_impl
conversion class (generic::internal::conversion)¶
template <typename To, typename From, size_t N, conv_t conv>
conversion
template <typename To, typename From, size_t N, conv_t conv>
conversion
real function (generic::real)¶
template <numeric T> constexpr T real(const T &value)
Returns the real part of the complex value
template <typename T>
constexpr T real(const complex<T> &value)
Returns the real part of the complex value
template <typename T, size_t N>
constexpr vec<T, N> real(const vec<complex<T>, N> &value)
Returns the real part of the complex value
real class (generic::fn::real)¶
real
imag function (generic::imag)¶
template <typename T>
constexpr T imag(const complex<T> &value)
Returns the imaginary part of the complex value
template <typename T, size_t N>
constexpr vec<T, N> imag(const vec<complex<T>, N> &value)
Returns the imaginary part of the complex value
imag class (generic::fn::imag)¶
imag
make_complex function (generic::make_complex)¶
template <typename T1, typename T2 = T1, size_t N,
          typename T = std::common_type_t<T1, T2>>
constexpr vec<complex<T>, N>
make_complex(const vec<T1, N> &real,
             const vec<T2, N> &imag = T2(0))
Constructs complex value from real and imaginary parts
template <numeric T1, numeric T2 = T1,
          typename T = std::common_type_t<T1, T2>>
constexpr complex<T> make_complex(T1 real, T2 imag = T2(0))
Constructs complex value from real and imaginary parts
make_complex class (generic::fn::make_complex)¶
make_complex
cconj class (generic::fn::cconj)¶
cconj
cconj function (generic::cconj)¶
template <numeric T1> T1 cconj(const T1 &x)
Returns the complex conjugate of the complex number x
vec_of_complex class (generic::vec_of_complex)¶
template <size_t N> vec_of_complex
common_type class (std::common_type)¶
template <typename T1, typename T2> common_type
template <typename T1, typename T2> common_type
template <typename T1, typename T2> common_type
template <typename T1, typename T2, size_t N> common_type
template <typename T1, typename T2, size_t N> common_type
representation class¶
template <typename T> representation
template <char t, int width, int prec, typename T>
representation
csin class (generic::fn::csin)¶
csin
csinh class (generic::fn::csinh)¶
csinh
ccos class (generic::fn::ccos)¶
ccos
ccosh class (generic::fn::ccosh)¶
ccosh
cabssqr class (generic::fn::cabssqr)¶
cabssqr
cabs class (generic::fn::cabs)¶
cabs
carg class (generic::fn::carg)¶
carg
clog class (generic::fn::clog)¶
clog
clog2 class (generic::fn::clog2)¶
clog2
clog10 class (generic::fn::clog10)¶
clog10
cexp class (generic::fn::cexp)¶
cexp
cexp2 class (generic::fn::cexp2)¶
cexp2
cexp10 class (generic::fn::cexp10)¶
cexp10
polar class (generic::fn::polar)¶
polar
cartesian class (generic::fn::cartesian)¶
cartesian
csqrt class (generic::fn::csqrt)¶
csqrt
csqr class (generic::fn::csqr)¶
csqr
csin function (generic::csin)¶
template <numeric T1> T1 csin(const T1 &x)
Returns the sine of the complex number x
csinh function (generic::csinh)¶
template <numeric T1> T1 csinh(const T1 &x)
Returns the hyperbolic sine of the complex number x
ccos function (generic::ccos)¶
template <numeric T1> T1 ccos(const T1 &x)
Returns the cosine of the complex number x
ccosh function (generic::ccosh)¶
template <numeric T1> T1 ccosh(const T1 &x)
Returns the hyperbolic cosine of the complex number x
cabssqr function (generic::cabssqr)¶
template <numeric T1> realtype<T1> cabssqr(const T1 &x)
Returns the squared absolute value (magnitude squared) of the complex number x
cabs function (generic::cabs)¶
template <numeric T1> realtype<T1> cabs(const T1 &x)
Returns the absolute value (magnitude) of the complex number x
carg function (generic::carg)¶
template <numeric T1> realtype<T1> carg(const T1 &x)
Returns the phase angle (argument) of the complex number x
clog function (generic::clog)¶
template <numeric T1> T1 clog(const T1 &x)
Returns the natural logarithm of the complex number x
clog2 function (generic::clog2)¶
template <numeric T1> T1 clog2(const T1 &x)
Returns the binary (base-2) logarithm of the complex number x
clog10 function (generic::clog10)¶
template <numeric T1> T1 clog10(const T1 &x)
Returns the common (base-10) logarithm of the complex number x
cexp function (generic::cexp)¶
template <numeric T1> T1 cexp(const T1 &x)
Returns \(e\) raised to the complex number x
cexp2 function (generic::cexp2)¶
template <numeric T1> T1 cexp2(const T1 &x)
Returns 2 raised to the complex number x
cexp10 function (generic::cexp10)¶
template <numeric T1> T1 cexp10(const T1 &x)
Returns 10 raised to the complex number x
polar function (generic::polar)¶
template <numeric T1> T1 polar(const T1 &x)
Converts complex number to polar
cartesian function (generic::cartesian)¶
template <numeric T1> T1 cartesian(const T1 &x)
Converts complex number to cartesian
csqrt function (generic::csqrt)¶
template <numeric T1> T1 csqrt(const T1 &x)
Returns square root of the complex number x
csqr function (generic::csqr)¶
template <numeric T1> T1 csqr(const T1 &x)
Returns square of the complex number x
Auto-generated from sources, Revision , https://github.com/kfrlib/kfr/blob//include/kfr/