示例#1
0
 public IEBS Calculate(
     IEBSResultElementFactory EBSResultElementFactory,
     IEBSFactory EBSFactory,
     IEBSResultElementCalculation EBSResultElementCalculation,
     ItΛ tΛ,
     IΩ Ω,
     IExpectedValueI ExpectedValueI,
     IVarianceI VarianceI)
 {
     return(EBSFactory.Create(
                tΛ.Value
                .Select(w => EBSResultElementCalculation.Calculate(
                            EBSResultElementFactory,
                            w.tIndexElement,
                            w.ΛIndexElement,
                            Ω,
                            ExpectedValueI,
                            VarianceI))
                .ToImmutableList()));
 }
示例#2
0
 public IEBS Calculate(
     IEBSResultElementFactory EBSResultElementFactory,
     IEBSFactory EBSFactory,
     IEBSResultElementCalculation EBSResultElementCalculation,
     Id d,
     Iw w,
     IBEDS BEDS,
     Iμ μ,
     IVariance Variance)
 {
     return(EBSFactory.Create(
                d.Value
                .Select(y => EBSResultElementCalculation.Calculate(
                            EBSResultElementFactory,
                            y,
                            w,
                            BEDS,
                            μ,
                            Variance))
                .ToImmutableList()));
 }