Interestingly, even though I use(d) the 3-output `unique` in Matlab on an almost daily basis, in Julia I never find I need/want it---I didn't even realize we didn't have it. I confess to not being sure what the difference is, but I suspect it's because there must be better approaches in julia for the problems for which I would have used `unique`.
--Tim On Wednesday, April 22, 2015 05:13:00 AM Steven G. Johnson wrote: > On Tuesday, April 21, 2015 at 5:16:12 AM UTC-4, Stephan Buchert wrote: > > In Matlab I can do, for example, with "daynum" fractional day numbers: > > > > idaynum = floor(daynum); > > [umjd, im, iu] = unique(idaynum); % <= how do I get the "iu" in Julia? > > This is not implemented yet; see: > > https://github.com/JuliaLang/julia/issues/1845
