Template Function treeweave::guru::eval_leaf_aos

Function Documentation

template<class F, class K = default_kernel_policy>
void treeweave::guru::eval_leaf_aos(const F &f, std::uint32_t id, const typename F::value_type *x, typename F::value_type *out, std::size_t n, const K &k = {})

Evaluate leaf id of f at n points into interleaved AoS output (out[q * output_dim + d]). Same canonicalisation as the public tile pipeline: tuple-spelled inputs reinterpret the scalar buffer as array<T,1> (layout-compatible); scalar fits call the Leaf1D run. id must be a real leaf — the out_of_domain_id() sentinel has no coefficients (fill_out_of_domain owns that bucket).