ILinear Algebra Operations<T>.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.2
C#
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 9.0.2
T DotProduct(
int n,
ReadOnlySpan<T> x,
int incx,
ReadOnlySpan<T> y,
int incy
)
Parameters
- n Int32
- The number of elements in the vectors x and y.
- x ReadOnlySpan<T>
- A span containing the elements of the vector x.
- incx Int32
- The distance between elements in x.
- y ReadOnlySpan<T>
- A span containing the elements of the vector y.
- incy Int32
- The distance between elements in y.