Contains extension methods for the
IDistribution<TResult>
interface.- Namespace
- RandN
.Extensions - Base Types
- object
Syntax
public static class DistributionExtensions
Methods
Name | Return Value | Summary |
---|---|---|
Select | IDistribution | Transforms a distribution by mapping its values using the selector provided. This method implements the "map" operator from functional programming principles. static |
SelectMany | IDistribution | Transforms a distribution by mapping values using the selector provided to produce a new distribution, which is then sampled from. static |
SelectMany | IDistribution | Transforms a distribution by mapping values using the selector provided to produce a new distribution, which is then sampled from. This method implements the "bind" operator from functional programming principles. static |