MatrixInnerProduct Method (Double, Double) |
Note: This API is now obsolete.
Namespace: Accord.Math
[ObsoleteAttribute("Please use Dot instead.")] public static double InnerProduct( this double[] a, double[] b )
In mathematics, the dot product is an algebraic operation that takes two equal-length sequences of numbers (usually coordinate vectors) and returns a single number obtained by multiplying corresponding entries and adding up those products. The name is derived from the dot that is often used to designate this operation; the alternative name scalar product emphasizes the scalar (rather than vector) nature of the result.
The principal use of this product is the inner product in a Euclidean vector space: when two vectors are expressed on an orthonormal basis, the dot product of their coordinate vectors gives their inner product.