public IVarianceIResultElementCalculation Create() { IVarianceIResultElementCalculation calculation = null; try { calculation = new VarianceIResultElementCalculation(); } catch (Exception exception) { this.Log.Error("Exception message: " + exception.Message + " and stacktrace " + exception.StackTrace); } return(calculation); }
public IVarianceIResultElementCalculation Create() { IVarianceIResultElementCalculation calculation = null; try { calculation = new VarianceIResultElementCalculation(); } catch (Exception exception) { this.Log.Error( exception.Message, exception); } return(calculation); }
public IVarianceI Calculate( IVarianceIResultElementFactory varianceIResultElementFactory, IVarianceIFactory varianceIFactory, IVarianceIResultElementCalculation varianceIResultElementCalculation, Il l, It t, Ist st, ItΛ tΛ, IVarianceΦ varianceΦ, Iz z) { return(varianceIFactory.Create( tΛ.Value .Select(i => varianceIResultElementCalculation.Calculate( varianceIResultElementFactory, i.tIndexElement, i.ΛIndexElement, l, t, st, varianceΦ, z)) .ToImmutableList())); }