Numerix v0.4.2 Numerix.LinearAlgebra

Linear algebra functions used for vector operations, matrix factorization and matrix transformation.

Summary

Functions

The sum of the products of two vectors

The L1 norm of a vector, also known as Manhattan norm

The L2 norm of a vector, also known as Euclidean norm

Multiplies a vector with another. Returns a stream of the products

The p-norm of a vector

Subtracts a vector from another. Returns a stream of the differences

Functions

dot_product(vector1, vector2)
dot_product([number], [number]) :: Numerix.Common.maybe_float

The sum of the products of two vectors.

The L1 norm of a vector, also known as Manhattan norm.

The L2 norm of a vector, also known as Euclidean norm.

multiply(vector1, vector2)
multiply([number], [number]) :: Numerix.Common.maybe_vector

Multiplies a vector with another. Returns a stream of the products.

The p-norm of a vector.

subtract(vector1, vector2)
subtract([number], [number]) :: Numerix.Common.maybe_vector

Subtracts a vector from another. Returns a stream of the differences.