pub type OneSeedBatch<const K: usize> = OneSeedLane<f64x4, K>;Expand description
The 4-rows-per-pass batched one-seed scalar (wide::f64x4 lanes).
Aliased Type§
pub struct OneSeedBatch<const K: usize> {
pub base: Order2Lane<f64x4, K>,
pub eps: Order2Lane<f64x4, K>,
}Fields§
§base: Order2Lane<f64x4, K>The ε⁰ part (lane-batched value / gradient / Hessian of ℓ).
eps: Order2Lane<f64x4, K>The ε¹ part. After a seed_direction(u) evaluation,
eps.h[a][b] lane i is row i’s Σ_c ℓ_{abc} u_c.
Implementations§
Source§impl<const K: usize> OneSeedBatch<K>
impl<const K: usize> OneSeedBatch<K>
Sourcepub fn lane(&self, i: usize) -> OneSeed<K>
pub fn lane(&self, i: usize) -> OneSeed<K>
Extract lane i’s parts as a production OneSeed<K>. Lane i is
to_bits-identical to evaluating the same program at OneSeed<K> on
row i (see batch_tests).