diff --git a/src/Numerics/LinearAlgebra/Generic/Matrix.Arithmetic.cs b/src/Numerics/LinearAlgebra/Generic/Matrix.Arithmetic.cs
index 9e24dd12..66cef3a1 100644
--- a/src/Numerics/LinearAlgebra/Generic/Matrix.Arithmetic.cs
+++ b/src/Numerics/LinearAlgebra/Generic/Matrix.Arithmetic.cs
@@ -183,7 +183,7 @@ namespace MathNet.Numerics.LinearAlgebra.Generic
///
/// The scalar to multiply with.
/// The result of the multiplication.
- public virtual Matrix Multiply(T scalar)
+ public Matrix Multiply(T scalar)
{
if (scalar.Equals(One))
{
@@ -207,7 +207,7 @@ namespace MathNet.Numerics.LinearAlgebra.Generic
/// The matrix to store the result of the multiplication.
/// If the result matrix is .
/// If the result matrix's dimensions are not the same as this matrix.
- public virtual void Multiply(T scalar, Matrix result)
+ public void Multiply(T scalar, Matrix result)
{
if (result == null)
{
@@ -244,7 +244,7 @@ namespace MathNet.Numerics.LinearAlgebra.Generic
///
/// The scalar to divide with.
/// The result of the division.
- public virtual Matrix Divide(T scalar)
+ public Matrix Divide(T scalar)
{
if (scalar.Equals(One))
{
@@ -268,7 +268,7 @@ namespace MathNet.Numerics.LinearAlgebra.Generic
/// The matrix to store the result of the division.
/// If the result matrix is .
/// If the result matrix's dimensions are not the same as this matrix.
- public virtual void Divide(T scalar, Matrix result)
+ public void Divide(T scalar, Matrix result)
{
if (result == null)
{
@@ -320,7 +320,7 @@ namespace MathNet.Numerics.LinearAlgebra.Generic
/// The result of the multiplication.
/// If is .
/// If this.ColumnCount != rightSide.Count.
- public virtual Vector Multiply(Vector rightSide)
+ public Vector Multiply(Vector rightSide)
{
var ret = CreateVector(RowCount);
Multiply(rightSide, ret);
@@ -384,7 +384,7 @@ namespace MathNet.Numerics.LinearAlgebra.Generic
/// The result of the multiplication.
/// If is .
/// If this.RowCount != .Count.
- public virtual Vector LeftMultiply(Vector leftSide)
+ public Vector LeftMultiply(Vector leftSide)
{
var ret = CreateVector(ColumnCount);
LeftMultiply(leftSide, ret);
@@ -588,10 +588,10 @@ namespace MathNet.Numerics.LinearAlgebra.Generic
/// The result of the multiplication.
/// If is .
/// If this.RowCount != rightSide.Count.
- public virtual Vector TransposeThisAndMultiply(Vector rightSide)
+ public Vector TransposeThisAndMultiply(Vector rightSide)
{
var ret = CreateVector(ColumnCount);
- TransposeThisAndMultiply(rightSide, ret);
+ DoTransposeThisAndMultiply(rightSide, ret);
return ret;
}
@@ -604,7 +604,7 @@ namespace MathNet.Numerics.LinearAlgebra.Generic
/// If is .
/// If result.Count != this.ColumnCount.
/// If this.RowCount != .Count.
- public virtual void TransposeThisAndMultiply(Vector rightSide, Vector result)
+ public void TransposeThisAndMultiply(Vector rightSide, Vector result)
{
if (rightSide == null)
{
@@ -629,7 +629,7 @@ namespace MathNet.Numerics.LinearAlgebra.Generic
if (ReferenceEquals(rightSide, result))
{
var tmp = result.CreateVector(result.Count);
- TransposeThisAndMultiply(rightSide, tmp);
+ DoTransposeThisAndMultiply(rightSide, tmp);
tmp.CopyTo(result);
}
else
@@ -654,7 +654,7 @@ namespace MathNet.Numerics.LinearAlgebra.Generic
/// If the result matrix is .
/// If this.Rows != other.RowCount.
/// If the result matrix's dimensions are not the this.ColumnCount x other.ColumnCount.
- public virtual void TransposeThisAndMultiply(Matrix other, Matrix result)
+ public void TransposeThisAndMultiply(Matrix other, Matrix result)
{
if (other == null)
{
@@ -674,7 +674,7 @@ namespace MathNet.Numerics.LinearAlgebra.Generic
if (ReferenceEquals(this, result) || ReferenceEquals(other, result))
{
var tmp = result.CreateMatrix(result.RowCount, result.ColumnCount);
- TransposeThisAndMultiply(other, tmp);
+ DoTransposeThisAndMultiply(other, tmp);
tmp.CopyTo(result);
}
else
@@ -690,7 +690,7 @@ namespace MathNet.Numerics.LinearAlgebra.Generic
/// If this.Rows != other.RowCount.
/// If the other matrix is .
/// The result of the multiplication.
- public virtual Matrix TransposeThisAndMultiply(Matrix other)
+ public Matrix TransposeThisAndMultiply(Matrix other)
{
if (other == null)
{
@@ -703,7 +703,7 @@ namespace MathNet.Numerics.LinearAlgebra.Generic
}
var result = CreateMatrix(ColumnCount, other.ColumnCount);
- TransposeThisAndMultiply(other, result);
+ DoTransposeThisAndMultiply(other, result);
return result;
}
@@ -718,7 +718,7 @@ namespace MathNet.Numerics.LinearAlgebra.Generic
/// Negate each element of this matrix.
///
/// A matrix containing the negated values.
- public virtual Matrix Negate()
+ public Matrix Negate()
{
var result = CreateMatrix(RowCount, ColumnCount);
DoNegate(result);
@@ -731,7 +731,7 @@ namespace MathNet.Numerics.LinearAlgebra.Generic
/// The result of the negation.
/// If the result matrix is .
/// if the result matrix's dimensions are not the same as this matrix.
- public virtual void Negate(Matrix result)
+ public void Negate(Matrix result)
{
if (result == null)
{
@@ -952,7 +952,7 @@ namespace MathNet.Numerics.LinearAlgebra.Generic
/// If the other matrix is .
/// If this matrix and are not the same size.
/// A new matrix that is the pointwise multiplication of this matrix and .
- public virtual Matrix PointwiseMultiply(Matrix other)
+ public Matrix PointwiseMultiply(Matrix other)
{
if (other == null)
{
@@ -965,7 +965,7 @@ namespace MathNet.Numerics.LinearAlgebra.Generic
}
var result = CreateMatrix(RowCount, ColumnCount);
- PointwiseMultiply(other, result);
+ DoPointwiseMultiply(other, result);
return result;
}
@@ -978,7 +978,7 @@ namespace MathNet.Numerics.LinearAlgebra.Generic
/// If the result matrix is .
/// If this matrix and are not the same size.
/// If this matrix and are not the same size.
- public virtual void PointwiseMultiply(Matrix other, Matrix result)
+ public void PointwiseMultiply(Matrix other, Matrix result)
{
if (other == null)
{
@@ -1005,7 +1005,7 @@ namespace MathNet.Numerics.LinearAlgebra.Generic
/// If the other matrix is .
/// If this matrix and are not the same size.
/// A new matrix that is the pointwise division of this matrix and .
- public virtual Matrix PointwiseDivide(Matrix other)
+ public Matrix PointwiseDivide(Matrix other)
{
if (other == null)
{
@@ -1018,7 +1018,7 @@ namespace MathNet.Numerics.LinearAlgebra.Generic
}
var result = CreateMatrix(RowCount, ColumnCount);
- PointwiseDivide(other, result);
+ DoPointwiseDivide(other, result);
return result;
}
@@ -1038,7 +1038,7 @@ namespace MathNet.Numerics.LinearAlgebra.Generic
/// If the result matrix is .
/// If this matrix and are not the same size.
/// If this matrix and are not the same size.
- public virtual void PointwiseDivide(Matrix other, Matrix result)
+ public void PointwiseDivide(Matrix other, Matrix result)
{
if (other == null)
{