Skip to content

Function to_vec

function to_vec(const portable_vec<T, N> &) simd

template <typename T, size_t N>
KFR_INTRINSIC vec<T, N> to_vec(const portable_vec<T, N>& pv)

Convert a portable_vec to the native vec type.

Returns
vec<T, N> with the same contents.

Fully qualified name: kfr::to_vec(const portable_vec<T, N> &)

Declared at simd/vec.hpp:2017

Function to_vec

function to_vec(const std::array<T, N> &) simd

template <typename T, size_t N>
KFR_INTRINSIC vec<T, N> to_vec(const std::array<T, N>& a)

Converts a std::array of N elements to a vector.

Template parameters
T Element type.
N Number of elements.
Parameters
a The source array.
Returns
A vector holding the elements of a.

Fully qualified name: kfr::to_vec(const std::array<T, N> &)

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