public static void Set(Type t, MsgOpInstance oi) { if (oi == null) { throw new ArgumentException("Operator internal cannot be null."); } opInternals[t] = oi; }
public static Gamma PrecisionAverageConditional(Gamma precision) { MsgOpInstance opIns = OpControl.Get(typeof(KEP_CGFacOp)); KEP_CGFacOpIns cgOpIns = (KEP_CGFacOpIns)opIns; Gamma toPrec = cgOpIns.PrecisionAverageConditional(precision); return(toPrec); }