It seems to me that generalizing the Base.issorted function makes sense. Of course you need to be able to indicate that you want to check for sorted columns, rows, etc.
On Thu, Nov 27, 2014 at 12:43 PM, Kevin Squire <[email protected]> wrote: > issorted(A) works for vectors. I don't believe there is a version which > exists for arrays with dimension N>1. > > Cheers, > Kevin > > On Thursday, November 27, 2014, Nils Gudat <[email protected]> wrote: > >> Before I start putting something crude together myself, I thought I'd ask >> here: is there a simple function in Julia that checks monotonicity of >> vectors/arrays? >> Ideally, I would like a function that takes an Array{Float64},N and >> checks monotonicity for each of the N dimensions separately. >> >
