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