ILinearAlgebraOperations<T>.ConjugateDotProduct 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#
T ConjugateDotProduct(
	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.

Return Value

T

See Also