Simpson 적분법 (1-4-1 방식) 2차 곡선 근사 방식이다. 정확도가 TrapizoidalIntegrator보다 좋다.
상속: IntegratorBase
예제 #1
0
 /// <summary>
 /// Copy constructor
 /// </summary>
 /// <param name="integrator">source integrator</param>
 public SimpsonIntegrator(SimpsonIntegrator integrator) {
     integrator.ShouldNotBeNull("integrator");
     Steps = integrator.Steps;
 }
예제 #2
0
 /// <summary>
 /// Copy constructor
 /// </summary>
 /// <param name="integrator">source integrator</param>
 public SimpsonIntegrator(SimpsonIntegrator integrator)
 {
     integrator.ShouldNotBeNull("integrator");
     Steps = integrator.Steps;
 }