It's great that you are making a collection of these. I see that you have a vectorized searchsortedfirst (findInterval). I also felt the need for that one and have a version in RLEVectors.jl. I'll have a look at VectorizedRoutines.jl to see what I can contribute.
Pete ____________________ Peter M. Haverty, Ph.D. Genentech, Inc. phave...@gene.com On Mon, Oct 31, 2016 at 8:06 PM, Chris Rackauckas <rackd...@gmail.com> wrote: > For reference I've been gathering these kinds of "vectorized" functions > in, well, VectorizedRoutines.jl > <https://github.com/ChrisRackauckas/VectorizedRoutines.jl>. I am just > trying to get an implementation of all of those vectorized routines you > know and love since, in some cases, they lead to slick code. You can find > an accumarray there. Feel free to add a PR that has more. > > On Monday, October 31, 2016 at 12:38:06 PM UTC-7, phav...@gene.com wrote: >> >> RLEVectors.jl <http://phaverty.github.io/RLEVectors.jl/latest/> now has >> a tapply function where an RLE is used as the factor. >> >> >> On Thursday, March 20, 2014 at 10:46:33 AM UTC-7, James Johndrow wrote: >>> >>> I cannot seem to find a built-in julia function that performs the >>> function of tapply in R or accumarray in matlab. Anyone know of one? >>> >>