Module beagle::scalar_array::vec_array [] [src]

Helpers for 1d arrays

Functions

cross

Fold all the elements in a 1d array. The first element is mapped with f0, then folding continues with f for other elements.

dot

Multiply two Vectors component-wise, summing the results. Known as a dot product.

fold

Fold all the elements in a 1d array. The first element is mapped with f0, then folding continues with f for other elements.

fold2

Fold all the elements of two 1d arrays. The first elements are mapped with f0, then folding continues with f for other elements.

mul_vector_transpose