ManagedLinearAlgebraOperationsOfSingle.DotProduct Method

Definition

Namespace: Extreme.Mathematics.LinearAlgebra.Implementation
Assembly: Extreme.Numerics.SinglePrecision (in Extreme.Numerics.SinglePrecision.dll) Version: 8.1.4

Overload List

DotProduct(Int32, ArraySlice<Complex<Single>>, ArraySlice<Complex<Single>>)

Returns the inner product of two vectors.
C#
public override Complex<float> DotProduct(
	int n,
	ArraySlice<Complex<float>> x,
	ArraySlice<Complex<float>> y
)

Parameters

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

Return Value

Complex<Single>

Implements

ILinearAlgebraOperations<T>.DotProduct(Int32, ArraySlice<T>, ArraySlice<T>)

DotProduct(Int32, ArraySlice<Single>, ArraySlice<Single>)

Returns the inner product of two vectors.
C#
public override float DotProduct(
	int n,
	ArraySlice<float> x,
	ArraySlice<float> y
)

Parameters

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

Return Value

Single
The dot product of the two vectors.

Implements

ILinearAlgebraOperations<T>.DotProduct(Int32, ArraySlice<T>, ArraySlice<T>)

See Also