diff --git a/src/Numerics/LinearAlgebra/Generic/Vector.cs b/src/Numerics/LinearAlgebra/Generic/Vector.cs
index 0572e618..6f9bd692 100644
--- a/src/Numerics/LinearAlgebra/Generic/Vector.cs
+++ b/src/Numerics/LinearAlgebra/Generic/Vector.cs
@@ -810,21 +810,11 @@ namespace MathNet.Numerics.LinearAlgebra.Generic
/// If or is .
public static Vector operator +(Vector leftSide, Vector rightSide)
{
- if (rightSide == null)
- {
- throw new ArgumentNullException("rightSide");
- }
-
if (leftSide == null)
{
throw new ArgumentNullException("leftSide");
}
- if (leftSide.Count != rightSide.Count)
- {
- throw new ArgumentException(Resources.ArgumentVectorsSameLength, "rightSide");
- }
-
return leftSide.Add(rightSide);
}
@@ -854,21 +844,11 @@ namespace MathNet.Numerics.LinearAlgebra.Generic
/// If or is .
public static Vector operator -(Vector leftSide, Vector rightSide)
{
- if (rightSide == null)
- {
- throw new ArgumentNullException("rightSide");
- }
-
if (leftSide == null)
{
throw new ArgumentNullException("leftSide");
}
- if (leftSide.Count != rightSide.Count)
- {
- throw new ArgumentException(Resources.ArgumentVectorsSameLength, "rightSide");
- }
-
return leftSide.Subtract(rightSide);
}
@@ -916,21 +896,11 @@ namespace MathNet.Numerics.LinearAlgebra.Generic
/// If or is .
public static T operator *(Vector leftSide, Vector rightSide)
{
- if (rightSide == null)
- {
- throw new ArgumentNullException("rightSide");
- }
-
if (leftSide == null)
{
throw new ArgumentNullException("leftSide");
}
- if (leftSide.Count != rightSide.Count)
- {
- throw new ArgumentException(Resources.ArgumentVectorsSameLength, "rightSide");
- }
-
return leftSide.DotProduct(rightSide);
}