Main libraries

lib/github.com/athas/distance/distance

Distance functions for numeric vectors.

lib/github.com/athas/distance/has_distance

Basic concepts for distance functions.

lib/github.com/athas/distance/set_distance

Distance functions for boolean vectors (representing sets).

Supporting libraries

lib/github.com/athas/vector/vector

Efficient statically sized vectors.

prelude/array

Utility functions for arrays.

prelude/functional

Simple functional combinators.

prelude/math

Basic mathematical modules and functions.

prelude/prelude

The default prelude that is implicitly available in all Futhark files.

prelude/soacs

Various Second-Order Array Combinators that are operationally parallel in a way that can be exploited by the compiler.

prelude/zip

Transforming arrays of tuples into tuples of arrays and back again. These are generally very cheap operations, as the internal compiler representation is always tuples of arrays.