Skip to content

Function addsub

function addsub(const vec<T, N> &, const vec<T, N> &) simd

template <typename T, size_t N>
    requires(N >= 2)
KFR_INTRINSIC vec<T, N> addsub(const vec<T, N>& a, const vec<T, N>& b)

Returns a vector with a+b in the low half and a-b in the high half.

Fully qualified name: kfr::addsub(const vec<T, N> &, const vec<T, N> &)

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