Skip to content

Commit

Permalink
Improvements to tools.g3c and its tests (#310)
Browse files Browse the repository at this point in the history
* Tests now use `allclose` where possible to make them more tolerant to floating point error.
* Fix `sphere_behind_plane` and `sphere_beyond_plane`.
* Add a line-circle algorithm from Andreas thesis and tests for it
* Rename existing functions to be obviously iterative
* Simplify iterative matrix multiplication to use `np.linalg.matrix power`.
* Add type annotations for a couple of functions.
  • Loading branch information
hugohadfield committed May 28, 2020
1 parent 2c0374d commit 5e61fc2
Show file tree
Hide file tree
Showing 2 changed files with 291 additions and 78 deletions.

0 comments on commit 5e61fc2

Please sign in to comment.