Returns the dot product of this vector with another
vector.
Namespace: Extreme.Mathematics.LinearAlgebra
Assembly: Extreme.Numerics (Extreme.Numerics)
Syntax
| Visual Basic (Declaration) |
|---|
Public Overrides Function DotProduct ( _ vector As Vector _ ) As Double |
| C# |
|---|
public override double DotProduct ( Vector vector ) |
| C++ |
|---|
public: virtual double DotProduct ( Vector^ vector ) override |
Parameters
- vector (Extreme.Mathematics.LinearAlgebra.Vector)
- The second Vector.
Return Value
The dot product of the two vectors.
Exceptions
| Exception | Condition |
|---|---|
| ArgumentNullException | vector is nullNothingnullptr. |