LinearAlgebraOperations<T>.DotProduct Method

Definition

Namespace: Numerics.NET.LinearAlgebra.Implementation
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 9.0.4

Overload List

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

Forms the dot product of two vectors.

C#
public T DotProduct(
	int n,
	ArraySlice<T> x,
	ArraySlice<T> y
)

Parameters

n  Int32
 
x  ArraySlice<T>
 
y  ArraySlice<T>
 

Return Value

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 Complex<T> DotProduct(
	int n,
	ArraySlice<Complex<T>> x,
	ArraySlice<Complex<T>> y
)

Parameters

n  Int32
 
x  ArraySlice<Complex<T>>
 
y  ArraySlice<Complex<T>>
 

Return Value

Complex<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

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

Forms the dot product of two vectors.

C#
public Complex<T> DotProduct(
	int n,
	ReadOnlySpanSlice<Complex<T>> x,
	ReadOnlySpanSlice<Complex<T>> y
)

Parameters

n  Int32
 
x  ReadOnlySpanSlice<Complex<T>>
 
y  ReadOnlySpanSlice<Complex<T>>
 

Return Value

Complex<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

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

Forms the dot product of two vectors.

C#
public abstract T DotProduct(
	int n,
	ReadOnlySpan<T> x,
	int incx,
	ReadOnlySpan<T> y,
	int incy
)

Parameters

n  Int32
 
x  ReadOnlySpan<T>
 
incx  Int32
 
y  ReadOnlySpan<T>
 
incy  Int32
 

Return Value

T

Implements

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

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, ReadOnlySpan<Complex<T>>, Int32, ReadOnlySpan<Complex<T>>, Int32)

Forms the dot product of two vectors.

C#
public abstract Complex<T> DotProduct(
	int n,
	ReadOnlySpan<Complex<T>> zx,
	int incx,
	ReadOnlySpan<Complex<T>> zy,
	int incy
)

Parameters

n  Int32
 
zx  ReadOnlySpan<Complex<T>>
 
incx  Int32
 
zy  ReadOnlySpan<Complex<T>>
 
incy  Int32
 

Return Value

Complex<T>

Implements

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

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