diff --git a/src/FSharp/LinearAlgebra.Double.Vector.fs b/src/FSharp/LinearAlgebra.Double.Vector.fs index a314ef58..f0e23856 100644 --- a/src/FSharp/LinearAlgebra.Double.Vector.fs +++ b/src/FSharp/LinearAlgebra.Double.Vector.fs @@ -215,7 +215,7 @@ module DenseVector = /// Initialize a random vector with the given dimension and distribution. let inline randomCreate (n: int) dist = DenseVector.CreateRandom(n, dist) - /// Initialize an all-zero vector with the given dimension. + /// Initialize an x-valued vector with the given dimension. let inline create (n: int) x = DenseVector.Create(n, fun i -> x) /// Initialize a vector by calling a construction function for every element. diff --git a/src/Numerics/LinearAlgebra/Generic/Matrix.cs b/src/Numerics/LinearAlgebra/Generic/Matrix.cs index 96217271..beaec8f5 100644 --- a/src/Numerics/LinearAlgebra/Generic/Matrix.cs +++ b/src/Numerics/LinearAlgebra/Generic/Matrix.cs @@ -1388,7 +1388,7 @@ namespace MathNet.Numerics.LinearAlgebra.Generic } /// - /// Iterates throw each element in the matrix (row-wise). + /// Iterates through each element in the matrix (row-wise). /// /// The value at the current iteration along with its position (row, column, value). public virtual IEnumerable> IndexedEnumerator()