Icepool

Latest version: v1.4.0

Safety actively analyzes 641134 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 3 of 14

0.28.1

Fix mathematical bug in `Die.reroll` for limited depth.

0.28.0

Retired implicit elementwise operations on tuples. This is now handled by a new explicit `Vector` container.
`cartesian_product()` is replaced by two new functions: `tupleize()` and `vectorize()`.
These compute the Cartesian product and produce a `tuple` or `Vector` respectively (or a die/deck thereof).

The `Again` symbol is now used without parentheses. The name of the underlying type is now `AgainExpression`.

`die.zero()` now multiplies all outcomes by `0` to determine the zero-outcome rather than using the default constructor.
This allows it to work with `Vector`'s elementwise operations while still producing the expected result for
tuples, strings, etc.

Retired the linear algorithm for comparators for `Die`. While the quadratic algorithm is slower, it allows for non-bool outputs.

`die.tuple_len()` renamed to `common_outcome_length`. Now applies to all sized outcome types.

0.27.1

* Counts type `Qs` is now invariant with more detailed typing in `Deal`.

0.27.0

Incremented two versions because I messed up the last version number.

* `commonize_denominator` visible at top level.

0.25.6

* Rename `from_cumulative_quantities` to `from_cumulative` and allow die inputs.
* Mark `multiset_function` experimental again and note more caveats in the docstring.

0.25.5

* Add missing variants of `nearest` and `quantities` methods.
* Add optional `outcomes` argument to `quantities` and `probabilities` methods.

Page 3 of 14

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.