Trait afarray::ArrayProductTryStream
source · [−]pub trait ArrayProductTryStream<'a, T, E> where
T: HasAfEnum + HasArrayExt + Copy + Default + Send + 'a,
E: Send + 'a,
T::ProductOutType: DType + Product + Copy + Default + Send + 'a,
Self: Stream<Item = Result<ArrayExt<T>, E>> + Sized + Send + Unpin + 'a,
ArrayExt<T>: ArrayInstanceProduct<T> + From<Array<T>>, {
fn reduce_product(
self,
block_size: usize,
stride: u64
) -> Box<dyn Stream<Item = Result<ArrayExt<T::ProductOutType>, E>> + Send + Unpin + 'a> { ... }
}
Expand description
Trait to reduce the product of a [Stream
] of ArrayExt
s.