Skip to content

Function mul

function mul(const T1 &) simd

template <typename T1>
constexpr KFR_INTRINSIC T1 mul(const T1& x) { … }

Identity mul (single argument).

Fully qualified name: kfr::mul(const T1 &)

Function mul

function mul(const T1 &, const T2 &, const Ts &...) simd

template <typename T1, typename T2, typename... Ts>
constexpr KFR_INTRINSIC std::common_type_t<T1, T2, Ts...> mul(const T1& x, const T2& y, const Ts&... rest) { … }

Returns product of all the arguments passed to a function.

Fully qualified name: kfr::mul(const T1 &, const T2 &, const Ts &...)

Function mul

function mul(initialvalue<T>) simd

template <typename T>
constexpr KFR_INTRINSIC T mul(initialvalue<T>) { … }

Identity element for mul (returns one).

Fully qualified name: kfr::mul(initialvalue<T>)

This file was generated by cxxdox, a C++ documentation generator based on MkDocs Material and libclang.