Module tool::core::matrix[][src]

Collection of functions for matrix usage.

Functions

clip

Clip all elements of a list between min and max. If min or max are None there is no limit.

dot_products

Dot product vectorized between two list of vectors.

linspace

Create a vector from start to end with step. The last step might be smaller than step just to include end in the vector.

number_vectors

Number of vectors.

pows

Compute the element-wise power of a list.

size_range_with_step

Compute the required size for vector to go from start to end with step.

slice

Slice whole matrix