Browse Source

Fixed incorrectly implemented row reducing

uap-experimental
kayan 7 years ago
parent
commit
9948874f73
  1. 2
      src/FSharp/LinearAlgebra.Matrix.fs

2
src/FSharp/LinearAlgebra.Matrix.fs

@ -159,7 +159,7 @@ module Matrix =
let inline reduceCols f (m: #Matrix<_>) = m |> toColSeq |> Seq.reduce f
/// Reduce all rows of a matrix.
let inline reduceRows f (m: #Matrix<_>) = m |> toColSeq |> Seq.reduce f
let inline reduceRows f (m: #Matrix<_>) = m |> toRowSeq |> Seq.reduce f
/// Checks whether there is an entry in the matrix that satisfies a predicate.

Loading…
Cancel
Save