예제 #1
0
        IntegralOutput IServiceIntegral.IntegralSeqSimpson(IntegralInput input)
        {
            IntegralOutput result   = new IntegralOutput();
            SeqMeth        integral = new SeqMeth();

            result.result = integral.Simpson(input.A, input.B, input.N, OperationContext.Current.GetCallbackChannel <IServiceInteralCallBack>().Integrand);
            return(result);
        }
예제 #2
0
        IntegralOutput IServiceIntegral.IntegralSeqRectangleMedium(IntegralInput Input)
        {
            IntegralOutput result   = new IntegralOutput();
            SeqMeth        integral = new SeqMeth();

            result.result = integral.RectangleMedium(Input.A, Input.B, Input.N, OperationContext.Current.GetCallbackChannel <IServiceInteralCallBack>().Integrand);
            return(result);
        }
예제 #3
0
        IntegralOutput IServiceIntegral.IntegralParTrapeze(IntegralInput input)
        {
            IntegralOutput result   = new IntegralOutput();
            ParallelMets   integral = new ParallelMets();

            result.result = integral.Trapeze(input.A, input.B, input.N, OperationContext.Current.GetCallbackChannel <IServiceInteralCallBack>().Integrand);
            return(result);
        }