Exemplo n.º 1
0
 /// <include file='FactorDocs.xml' path='factor_docs/message_op_class[@name="SparseBernoulliFromBetaOp"]/message_doc[@name="SampleAverageLogarithm(SparseBetaList, SparseBernoulliList)"]/*'/>
 public static SparseBernoulliList SampleAverageLogarithm([SkipIfUniform] SparseBetaList probTrue, SparseBernoulliList result)
 {
     result.SetToFunction(probTrue, pt => BernoulliFromBetaOp.SampleAverageLogarithm(pt));
     return(result);
 }
Exemplo n.º 2
0
 /// <include file='FactorDocs.xml' path='factor_docs/message_op_class[@name="SparseBernoulliFromBetaOp"]/message_doc[@name="SampleAverageLogarithm(ISparseList{double}, SparseBernoulliList)"]/*'/>
 public static SparseBernoulliList SampleAverageLogarithm(ISparseList <double> probTrue, SparseBernoulliList result)
 {
     result.SetToFunction(probTrue, pt => BernoulliFromBetaOp.SampleAverageLogarithm(pt));
     return(result);
 }