Managed Linear Algebra Operations Of Single.Dot Product Method
Definition
Namespace: Extreme.Mathematics.LinearAlgebra.Implementation
Assembly: Extreme.Numerics.SinglePrecision (in Extreme.Numerics.SinglePrecision.dll) Version: 8.1.4
Assembly: Extreme.Numerics.SinglePrecision (in Extreme.Numerics.SinglePrecision.dll) Version: 8.1.4
Overload List
Dot | Returns the inner product of two vectors. |
Dot | Returns the inner product of two vectors. |
DotProduct(Int32, ArraySlice<Complex<Single>>, ArraySlice<Complex<Single>>)
Returns the inner product of two vectors.
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.
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
SingleThe dot product of the two vectors.