pub fn scatter_prod_single(
a: impl AsRef<Array>,
indices: impl AsRef<Array>,
updates: impl AsRef<Array>,
axis: i32,
) -> Result<Array>Expand description
Scatter-prod updates to the array at the given indices along a single axis.
Multiplies the update values with existing values at the specified indices.
ยงParams
a: Input arrayindices: Indices array specifying positions to scatter intoupdates: Values to multiplyaxis: The axis along which to scatter