PHP 트레잇 MathPHP\NumericalAnalysis\RootFinding\Validation

파일 보기 프로젝트 열기: markrogoyski/math-php 2 사용 예제들

공개 메소드들

메소드 설명
interval ( number $a, number $b ) Verify that the start and end of of an interval are distinct numbers.
tolerance ( number $tol ) Throw an exception if the tolerance is negative.

메소드 상세

interval() 공개 정적인 메소드

Verify that the start and end of of an interval are distinct numbers.
public static interval ( number $a, number $b )
$a number The start of the interval
$b number The end of the interval

tolerance() 공개 정적인 메소드

Throw an exception if the tolerance is negative.
public static tolerance ( number $tol )
$tol number Tolerance; How close to the actual solution we would like.