Skip to content

Commit

Permalink
Merge pull request #9 from promised-ai/cs-logsumexp
Browse files Browse the repository at this point in the history
make logsumexp take an impl Iterator<item=f64>
  • Loading branch information
cscherrer authored Aug 1, 2024
2 parents 8fc9c8d + 061fb33 commit f6afef0
Show file tree
Hide file tree
Showing 14 changed files with 253 additions and 194 deletions.
11 changes: 11 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,15 @@
# Changelog

## [0.18.0] - 2024-06-24

### Added
- Add log1pexp and logaddexp
- Add LogSumExp trait with logsumexp method. This way we can make applying it a little more generic, similar to how sum works.
- Propagate these functions across crate

### Removed
- Removed logsumexp function taking a slice argument

## [0.17.0] - 2024-06-24

### Added
Expand Down Expand Up @@ -205,6 +215,7 @@
- Remove dependency on `quadrature` crate in favor of hand-rolled adaptive
Simpson's rule, which handles multimodal distributions better.

[0.18.0]: https://github.com/promise-ai/rv/compare/v0.17.0...v0.18.0
[0.17.0]: https://github.com/promise-ai/rv/compare/v0.16.5...v0.17.0
[0.16.5]: https://github.com/promise-ai/rv/compare/v0.16.4...v0.16.5
[0.16.4]: https://github.com/promise-ai/rv/compare/v0.16.3...v0.16.4
Expand Down
120 changes: 79 additions & 41 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "rv"
version = "0.17.1"
version = "0.18.0"
authors = ["Baxter Eaves", "Michael Schmidt", "Chad Scherrer"]
description = "Random variables"
repository = "https://github.com/promised-ai/rv"
Expand Down
7 changes: 7 additions & 0 deletions proptest-regressions/misc/func.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
# Seeds for failure cases proptest has generated in the past. It is
# automatically read and these particular cases re-run before any
# novel cases are generated.
#
# It is recommended to check this file in to source control so that
# everyone who runs the test benefits from these saved cases.
cc b2c0853abfa53c6717adb519ac8b2871674f6977f57441e1f48d71c1c625c4f0 # shrinks to xs = []
Loading

0 comments on commit f6afef0

Please sign in to comment.