Ejemplo n.º 1
0
        public static VariableContext CreateVariableContext()
        {
            VariableContext vc = new VariableContext();

            vc.AddMethodExtender(typeof(DateFuncs));
            vc.AddMethodExtender(typeof(GeneralFuncs));
            vc.AddMethodExtender(typeof(MatrixFuncs));
            vc.AddMethodExtender(typeof(GraphFuncs));
            vc.AddMethodExtender(typeof(MapReduceFuncs));
            vc.AddMethodExtender(typeof(StatisticsFuncs));
            vc.AddMethodExtender(typeof(ExpressionFuncs));
            vc.AddMethodExtender(typeof(CustomFuncFactory));
            vc.AddMethodExtender(typeof(Distribution));
            vc.AddMethodExtender(typeof(DrawFuncs));

            return(vc);
        }