MCPcopy Create free account
hub / github.com/VcDevel/Vc / data0

Method data0

Vc/common/simdarray.h:726–729  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

724 template <class G, class = decltype(std::declval<G>()(std::size_t())),
725 class = enable_if<!Traits::is_simd_vector<G>::value>>
726 Vc_INTRINSIC SimdArray(const G &gen)
727 : data0(gen), data1([&](std::size_t i) { return gen(i + storage_type0::size()); })
728 {
729 }
730
731 ///\copybrief Vector::generate
732 template <typename G> static Vc_INTRINSIC fixed_size_simd<T, N> generate(const G &gen) // {{{2

Callers

nothing calls this directly

Calls 1

sizeFunction · 0.70

Tested by

no test coverage detected