LinearAlgebraOperations.ConjugateDotProduct<T, TStorage> Method

Returns the inner product of two vectors.

Definition

Namespace: Numerics.NET.LinearAlgebra
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 9.0.2
C#
public static Complex<T> ConjugateDotProduct<T, TStorage>(
	int n,
	TStorage x,
	TStorage y
)
where TStorage : Object, IStorageSlice<Complex<T>, TStorage>

Parameters

n  Int32
The number of elements in the vectors x and y.
x  TStorage
A reference to a one-dimensional array containing the elements of the vector x.
y  TStorage
A reference to a one-dimensional array containing the elements of the vector y. The elements of y are overwritten with the result.

Type Parameters

T
TStorage

Return Value

Complex<T>

See Also