pjgaudre / DESincEig.jl

Computes the eigenvalues of Sturm-Liouville problems
MIT License
4 stars 2 forks source link

Use a Julia type Range? #9

Open MikaelSlevinsky opened 8 years ago

MikaelSlevinsky commented 8 years ago

This line declares that Range is a Vector{Int64}, which is odd. Depending on the use, is Range better used as a Julia Range?

typeof(1:100)
subtypes(Range)
super(Range)
pjgaudre commented 8 years ago

Reading over the description of the StepRange in https://github.com/JuliaLang/julia/blob/master/base/range.jl, It seems like it might be applicable in this algorithm. Although I'm not quite sure what I would have to change in our code to adapt to it.