Accord.NET Framework

## MatrixInnerProduct Method (Double, Double) |

**Note: This API is now obsolete.**

Gets the inner product (scalar product) between two vectors (a'*b).

Syntax

[ObsoleteAttribute("Please use Dot instead.")] public static double InnerProduct( this double[] a, double[] b )

- a
- Type: SystemDouble

A vector. - b
- Type: SystemDouble

A vector.

The inner product of the multiplication of the vectors.

Remarks

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.

See Also