Click or drag to resize

VectorDotProduct(Vector) Method

Dot product of this vector with another vector.

Namespace: DotNumerics.LinearAlgebra
Assembly: DWSIM.MathOps.DotNumerics (in DWSIM.MathOps.DotNumerics.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
public double DotProduct(
	Vector B
)
Request Example View Source

Parameters

B  Vector
The other vector.

Return Value

Double
r = Sum(this[i]*B[i])
Remarks
The dot product is the result of multiplying all the components of two vectors together and adding the results, res= Sum(A[i]*B[i]).
See Also