#geometry #2d #3d #4d #array

lowdim

Library for two- to four-dimensional integer geometry

9 releases

0.3.3 Nov 22, 2021
0.3.2 Nov 19, 2021
0.2.4 Oct 6, 2021
0.2.3 Sep 21, 2021

#147 in Math

Download history 42/week @ 2021-09-13 24/week @ 2021-09-20 4/week @ 2021-09-27 24/week @ 2021-10-04 16/week @ 2021-10-11 4/week @ 2021-10-18 3/week @ 2021-10-25 2/week @ 2021-11-01 5/week @ 2021-11-08 60/week @ 2021-11-15 25/week @ 2021-11-22

62 downloads per month

MIT/Apache

145KB
4K SLoC

lowdim

github Crate Docs Test Status

A library for two-, three- or four-dimensional coordinates and arrays.

Applications

This is intended for discrete geometry, both for operations with discrete coordinates and arrays accessed by these. Operations include iterating over neighbours. This is useful for example in

  • cellular automata
  • game boards
  • Santa's base at the north pole (Advent of Code).

License

Licensed under either of

at your option.

Contribution

Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.

Dependencies

~74KB

a