ILinear Algebra Operations<T, TVector, TMatrix>.Dot Product Method
Returns the inner product of two vectors.
Definition
Namespace: Numerics.NET.LinearAlgebra.Implementation
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 9.0.3
C#
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 9.0.3
T DotProduct(
int n,
TVector x,
TVector y
)
Parameters
- n Int32
- The number of elements in the vectors x and y.
- x TVector
- A reference to a one-dimensional array containing the elements of the vector x.
- y TVector
- A reference to a one-dimensional array containing the elements of the vector y. The elements of y are overwritten with the result.