Generator expressions¶
gen_cossin
function¶
template <typename T1, typename T2,
typename TF = ftype<std::common_type_t<T1, T2>>>
generator_cossin<TF> gen_cossin(T1 start, T2 step)
Returns template expression that generates values using the following formula:
Source code
template <typename T1, typename T2, typename TF = ftype<std::common_type_t<T1, T2>>>
KFR_FUNCTION generator_cossin<TF> gen_cossin(T1 start, T2 step)
{
return generator_cossin<TF>(start, step);
}
https://github.com/kfrlib/kfr/blob//include/kfr/base/generators.hpp#L315
gen_exp
function¶
template <typename T1, typename T2,
typename TF = ftype<std::common_type_t<T1, T2>>>
generator_exp<TF> gen_exp(T1 start, T2 step)
Returns template expression that generates values using the following formula:
Source code
template <typename T1, typename T2, typename TF = ftype<std::common_type_t<T1, T2>>>
KFR_FUNCTION generator_exp<TF> gen_exp(T1 start, T2 step)
{
return generator_exp<TF>(start, step);
}
https://github.com/kfrlib/kfr/blob//include/kfr/base/generators.hpp#L275
gen_exp2
function¶
template <typename T1, typename T2,
typename TF = ftype<std::common_type_t<T1, T2>>>
generator_exp2<TF> gen_exp2(T1 start, T2 step)
Returns template expression that generates values using the following formula:
Source code
template <typename T1, typename T2, typename TF = ftype<std::common_type_t<T1, T2>>>
KFR_FUNCTION generator_exp2<TF> gen_exp2(T1 start, T2 step)
{
return generator_exp2<TF>(start, step);
}
https://github.com/kfrlib/kfr/blob//include/kfr/base/generators.hpp#L299
gen_expj
function¶
template <typename T1, typename T2,
typename TF =
complex<ftype<std::common_type_t<T1, T2>>>>
generator_expj<TF> gen_expj(T1 start, T2 step)
Returns template expression that generates values using the following formula:
Source code
template <typename T1, typename T2, typename TF = complex<ftype<std::common_type_t<T1, T2>>>>
KFR_FUNCTION generator_expj<TF> gen_expj(T1 start, T2 step)
{
return generator_expj<TF>(start, step);
}
https://github.com/kfrlib/kfr/blob//include/kfr/base/generators.hpp#L287
gen_linear
function¶
template <typename T1, typename T2,
typename TF = ftype<std::common_type_t<T1, T2>>>
generator_linear<TF> gen_linear(T1 start, T2 step)
Returns template expression that generates values starting from the start and using the step as the increment between numbers.
Source code
template <typename T1, typename T2, typename TF = ftype<std::common_type_t<T1, T2>>>
KFR_FUNCTION generator_linear<TF> gen_linear(T1 start, T2 step)
{
return generator_linear<TF>(start, step);
}
https://github.com/kfrlib/kfr/blob//include/kfr/base/generators.hpp#L263
gen_sin
function¶
template <typename T1, typename T2,
typename TF = ftype<std::common_type_t<T1, T2>>>
generator_sin<TF> gen_sin(T1 start, T2 step)
Returns template expression that generates values using the following formula:
Source code
template <typename T1, typename T2, typename TF = ftype<std::common_type_t<T1, T2>>>
KFR_FUNCTION generator_sin<TF> gen_sin(T1 start, T2 step)
{
return generator_sin<TF>(start, step);
}
https://github.com/kfrlib/kfr/blob//include/kfr/base/generators.hpp#L327
Auto-generated from sources, Revision , https://github.com/kfrlib/kfr/blob//include/kfr/