Beispiel #1
0
 /// <include file='FactorDocs.xml' path='factor_docs/message_op_class[@name="DiscreteEnumAreEqualOp{TEnum}"]/message_doc[@name="AreEqualAverageConditional(DiscreteEnum{TEnum}, TEnum)"]/*'/>
 public static Bernoulli AreEqualAverageConditional(DiscreteEnum <TEnum> A, TEnum B)
 {
     return(DiscreteAreEqualOp.AreEqualAverageConditional(A.GetInternalDiscrete(), ToInt(B)));
 }
Beispiel #2
0
 /// <include file='FactorDocs.xml' path='factor_docs/message_op_class[@name="DiscreteEnumAreEqualOp{TEnum}"]/message_doc[@name="AreEqualAverageConditional(TEnum, DiscreteEnum{TEnum})"]/*'/>
 public static Bernoulli AreEqualAverageConditional(TEnum A, DiscreteEnum <TEnum> B)
 {
     return(DiscreteAreEqualOp.AreEqualAverageConditional(ToInt(A), B.GetInternalDiscrete()));
 }