/// <include file='FactorDocs.xml' path='factor_docs/message_op_class[@name="CharFromProbabilitiesOp"]/message_doc[@name="LogEvidenceRatio(Dirichlet, Char)"]/*'/> public static double LogEvidenceRatio(Dirichlet probabilities, char character) { return(DiscreteFromDirichletOp.LogEvidenceRatio(character, probabilities)); }
/// <include file='FactorDocs.xml' path='factor_docs/message_op_class[@name="CharFromProbabilitiesOp"]/message_doc[@name="ProbabilitiesAverageConditional(DiscreteChar, Dirichlet, Dirichlet)"]/*'/> public static Dirichlet ProbabilitiesAverageConditional([SkipIfUniform] DiscreteChar character, Dirichlet probabilities, Dirichlet result) { return(DiscreteFromDirichletOp.ProbsAverageConditional(new Discrete(character.GetProbs()), probabilities, result)); }