GenericLinearAlgebraOperations<T>.DotProduct Method

Definition

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

Overload List

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

Forms the dot product of two vectors.

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

Forms the dot product of two vectors.

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

Forms the dot product of two vectors.

C#
public override T DotProduct(
	int n,
	ArraySlice<T> dx,
	ArraySlice<T> dy
)

Parameters

n  Int32
 
dx  ArraySlice<T>
 
dy  ArraySlice<T>
 

Return Value

T

Implements

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

Remarks

            uses unrolled loops for increments equal to one.
            

Further Details:

            jack dongarra, linpack, 3/11/78.
            modified 12/3/93, array(1) declarations changed to array(*)
            

Authors: Univ. of Tennessee, Univ. of California Berkeley, Univ. of Colorado Denver, NAG Ltd.

Date: November 2011

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

Forms the dot product of two vectors.

C#
public override Complex<T> DotProduct(
	int n,
	ArraySlice<Complex<T>> zx,
	ArraySlice<Complex<T>> zy
)

Parameters

n  Int32
 
zx  ArraySlice<Complex<T>>
 
zy  ArraySlice<Complex<T>>
 

Return Value

Complex<T>

Implements

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

Remarks

Further Details:

            jack dongarra, 3/11/78.
            modified 12/3/93, array(1) declarations changed to array(*)
            

Authors: Univ. of Tennessee, Univ. of California Berkeley, Univ. of Colorado Denver, NAG Ltd.

Date: November 2011

See Also