C# Class NSoft.NFramework.Numerics.Integration.SimpsonIntegrator

Simpson 적분법 (1-4-1 방식) 2차 곡선 근사 방식이다. 정확도가 TrapizoidalIntegrator보다 좋다.
Inheritance: IntegratorBase
显示文件 Open project: debop/NFramework Class Usage Examples

Public Methods

Method Description
Integrate ( double>.Func func, double a, double b ) : double

함수의 [a,b] 구간을 적분합니다.

SimpsonIntegrator ( SimpsonIntegrator integrator ) : System

Copy constructor

SimpsonIntegrator ( int steps = DefaultSteps ) : System

생성자

Method Details

Integrate() public method

함수의 [a,b] 구간을 적분합니다.
public Integrate ( double>.Func func, double a, double b ) : double
func double>.Func 적분할 함수
a double 적분 시작 위치
b double 적분 끝 위치
return double

SimpsonIntegrator() public method

Copy constructor
public SimpsonIntegrator ( SimpsonIntegrator integrator ) : System
integrator SimpsonIntegrator source integrator
return System

SimpsonIntegrator() public method

생성자
public SimpsonIntegrator ( int steps = DefaultSteps ) : System
steps int 적분 구간 갯수
return System