Comments (3)
I went with tuples automatically going element-wise for operations. This optimizes the simplest syntax case.
from icepool.
There is at least one remaining annoyance which is summing vectors inside pool evaluations.
from icepool.
Made operators act elementwise on tuples recursively, so that they behave more like a vector "type".
from icepool.
Related Issues (20)
- Single-iterable option for `highest` similar to built-in `max`
- `all_straights` HOT 2
- Naming: `keep_outcomes` or `filter_outcomes`? HOT 1
- Symbol multiset? HOT 1
- Elementwise multiset comparison HOT 1
- Revisit sort order HOT 1
- Revisit handling of negative multiplicity HOT 1
- Investigate `__slots__` HOT 2
- Change `mean` etc. to `Fraction` HOT 1
- Warn if `reroll` doesn't actually reroll anything?
- Running "sum()" on empty Pool gives a TypeError in v1.0.0 HOT 2
- Opposite of `expand()` HOT 1
- Direct example links for Icecup
- Possible expression overhaul? HOT 2
- Random pool sizes HOT 1
- Multiset ranking / "argsort"
- Option for overlapping straights HOT 1
- Options for deck overflow
- Improve error message for missing tupleize / vectorize
- Figure out denominator method for pool mixtures HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from icepool.