PHP Трейт MathPHP\NumericalAnalysis\RootFinding\Validation

Показать файл Открыть проект Примеры использования трейта

Открытые методы

Метод Описание
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.