/// <include file='FactorDocs.xml' path='factor_docs/message_op_class[@name="BernoulliIntegerSubsetFromBeta"]/message_doc[@name="ProbTrueAverageLogarithm(BernoulliIntegerSubset, SparseBetaList)"]/*'/>
 public static SparseBetaList ProbTrueAverageLogarithm(BernoulliIntegerSubset sample, SparseBetaList result)
 {
     result.SetToFunction(sample.SparseBernoulliList, s => BernoulliFromBetaOp.ProbTrueAverageLogarithm(s));
     return(result);
 }
 /// <include file='FactorDocs.xml' path='factor_docs/message_op_class[@name="BernoulliIntegerSubsetFromBeta"]/message_doc[@name="ProbTrueAverageLogarithm(IList{int}, SparseBetaList)"]/*'/>
 public static SparseBetaList ProbTrueAverageLogarithm(IList <int> sample, SparseBetaList result)
 {
     result.SetToFunction(BernoulliIntegerSubset.SubsetToList(sample, result.Count), s => BernoulliFromBetaOp.ProbTrueAverageLogarithm(s));
     return(result);
 }