|
|
|
@ -472,7 +472,7 @@ namespace MathNet.Numerics.UnitTests.LinearAlgebraTests.Single |
|
|
|
} |
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
/// Subtract operator when right side has fewer columns throws ArgumentOutOfRangeException
|
|
|
|
/// Subtract operator when right side has fewer columns throws <c>ArgumentOutOfRangeException</c>
|
|
|
|
/// </summary>
|
|
|
|
[Test] |
|
|
|
public void SubtractOperatorWhenRightSideHasFewerColumnsThrowsArgumentOutOfRangeException() |
|
|
|
@ -483,7 +483,7 @@ namespace MathNet.Numerics.UnitTests.LinearAlgebraTests.Single |
|
|
|
} |
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
/// Subtract operator when right side has fewer rows throws ArgumentOutOfRangeException
|
|
|
|
/// Subtract operator when right side has fewer rows throws <c>ArgumentOutOfRangeException</c>
|
|
|
|
/// </summary>
|
|
|
|
[Test] |
|
|
|
public void SubtractOperatorWhenRightSideHasFewerRowsThrowsArgumentOutOfRangeException() |
|
|
|
@ -685,7 +685,7 @@ namespace MathNet.Numerics.UnitTests.LinearAlgebraTests.Single |
|
|
|
public void CanTransposeThisAndMultiplyWithVector() |
|
|
|
{ |
|
|
|
var matrix = TestMatrices["Singular3x3"]; |
|
|
|
var x = new DenseVector(new [] { 1.0f, 2.0f, 3.0f }); |
|
|
|
var x = new DenseVector(new[] { 1.0f, 2.0f, 3.0f }); |
|
|
|
var y = matrix.TransposeThisAndMultiply(x); |
|
|
|
|
|
|
|
Assert.AreEqual(matrix.ColumnCount, y.Count); |
|
|
|
@ -957,7 +957,7 @@ namespace MathNet.Numerics.UnitTests.LinearAlgebraTests.Single |
|
|
|
} |
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
/// Can nomalize columns of a matrix.
|
|
|
|
/// Can normalize columns of a matrix.
|
|
|
|
/// </summary>
|
|
|
|
/// <param name="p">The norm under which to normalize the columns under.</param>
|
|
|
|
[Test, Sequential] |
|
|
|
@ -982,7 +982,7 @@ namespace MathNet.Numerics.UnitTests.LinearAlgebraTests.Single |
|
|
|
} |
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
/// Can nomalize rows of a matrix.
|
|
|
|
/// Can normalize rows of a matrix.
|
|
|
|
/// </summary>
|
|
|
|
/// <param name="p">The norm under which to normalize the rows under.</param>
|
|
|
|
[Test, Sequential] |
|
|
|
|