Skip to main content

Module ops

Module ops 

Source
Expand description

Arithmetic operator implementations for vectors.

§Arithmetic operations for vectors

Implementation of basic arithmetic operations for vector types.

Functions§

add_scalar_slice
Add a scalar to a slice
add_slices
Element-wise addition of two slices, storing the result in a third
div_slices
Element-wise division of two slices
mul_scalar_slice
Multiply a slice by a scalar
mul_slices
Element-wise multiplication of two slices
sub_slices
Element-wise subtraction of two slices