Exemplo n.º 1
0
 public IDistributedParameter CreateFor(IReadOnlyList <ParameterDistributionMetaData> distributions, OriginData originData)
 {
     return(create(closestDistributionMetaDataFor(distributions, originData), p => _formulaFactory.DistributionFor(distributions, p, originData)));
 }
Exemplo n.º 2
0
        public IDistributedParameter CreateFor(IEnumerable <ParameterDistributionMetaData> distributions, OriginData originData)
        {
            var dist = distributions.ToList();

            return(create(dist.First(), p => _formulaFactory.DistributionFor(dist, p, originData)));
        }