probability icon indicating copy to clipboard operation
probability copied to clipboard

Some explorations on how stochastic programming could be improved in C#

Results 2 probability issues
Sort by recently updated
recently updated
newest added

Cached the value of `result.Support()` in method `Distribution` and changed call to `.First()` to a call to `.Single()` since we know there's only one element in `support` and it better...

This is for example relevant for StandardDiscreteUniform, which changes from ``` 0|*************************************** 1|*************************************** 2|************************************** 3|*************************************** -1|*************************************** -2|*************************************** -3|**************************************** ``` to ``` -3|**************************************** -2|*************************************** -1|*************************************** 0|*************************************** 1|************************************** 2|*************************************** 3|************************************** ```