Chi2fit.Matrix.dotproduct
You're seeing just the function
dotproduct
, go back to Chi2fit.Matrix module for more information.
Calculates the inner product of two vectors.
Examples
iex> dotproduct [1,2], [3,4]
11
iex> dotproduct [], []
0
iex> dotproduct [1,2], []
** (ArgumentError) Vectors of unequal length
iex> dotproduct [1,2], [1]
** (ArgumentError) Vectors of unequal length