Skip to content

hsugawa8651/GroupNumbers.jl

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

53 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

GroupNumbers

Build Status Stable Dev

Provides iterators for grouping the given iterator of possibly numbers.

Quick start

julia> for g in groupby_numbers([ 16e-4, 17e-4, 19e-4, 20e-4 ] .+ 1; rtol=2e-4)
           @show g
       end
g = [1.0016, 1.0017]
g = [1.0019, 1.002]

Please refer to the documentation for comprehensive guides and examples.