BisectPy.jl

Migrating bisect module from Python to Julia
Author singularitti
Popularity
2 Stars
Updated Last
3 Months Ago
Started In
August 2018

BisectPy: array bisection algorithm

Stable Dev Build Status Build Status Build Status Build Status Build Status Coverage Coverage Open in Visual Studio Code

This is a package that migrates Python's bisect module to Jula.

Note that since Julia's array index starts from 1 but Python starts from 0, the returned index of either bisect_left or bisect_right is always their Python's correspondence plus 1!

Also, the behavior of Python's a[:i] where a is an array is also different from Julia: Julia array includes the ith item but Python does not!

Required Packages

No packages found.

Used By Packages