ForTS_Dsitribution, proxies for DistributionOperation.Constructors

This commit is contained in:
Umur Ozkul 2022-08-27 20:12:36 +02:00
parent 934144fce8
commit eaa1f60555

View File

@ -55,3 +55,21 @@ let getSymbolic = (variant: distribution): option<symbolicDistribution> =>
| Symbolic(dist) => dist->Some
| _ => None
}
@genType
let mean = DistributionOperation.Constructors.mean
@genType
let stdev = DistributionOperation.Constructors.stdev
@genType
let variance = DistributionOperation.Constructors.variance
@genType
let sample = DistributionOperation.Constructors.sample
@genType
let cdf = DistributionOperation.Constructors.cdf
@genType
let inv = DistributionOperation.Constructors.inv
@genType
let pdf = DistributionOperation.Constructors.pdf
@genType
let normalize = DistributionOperation.Constructors.normalize