forcedotcom/distributions — pull request #39 by fritzo (2014-04-27 20:52:08+00:00)
Title: Aligned array

- Fix bug in `PitmanYor::CachedMixture` and add regression test
- Add `ArrayFloat` to allow passing numpy.ndarray through to lp scoring functions
- Add `.packed_add()` and `.packed_remove(id)` methods to `VectorFloat` to simplify mixture logic
- Add `DIST_ASSERT_ALIGNED` and similar macros