PHP Class MathPHP\Functions\SpecialTest

Inheritance: extends PHPUnit_Framework_TestCase
Show file Open project: markrogoyski/math-php

Public Methods

Method Description
dataProviderForBeta ( )
dataProviderForComplementaryErrorFunction ( )
dataProviderForConfluentHypergeometric ( )
dataProviderForErrorFunction ( )
dataProviderForGammaLanczos ( )
dataProviderForGammaStirling ( )
dataProviderForHypergeometric ( )
dataProviderForIncompleteBeta ( )
dataProviderForLogistic ( )
dataProviderForLowerIncompleteGamma ( )
dataProviderForRegularizedIncompleteBeta ( )
dataProviderForSignum ( )
dataProviderForSoftmax ( )
dataProviderForUpperIncompleteGamma ( )
testBeta ( $x, $y, float $beta )
testComplementaryErrorFunction ( $x, $error )
testConfluentHypergeometric ( $a, $b, $z, $expected )
testErf ( $x, $error )
testErfc ( $x, $error )
testErrorFunction ( $x, $error )
testGamma ( $z, )
testGammaLanczos ( $z, )
testGammaStirling ( $n, )
testGeneralizedHypergeometricExceptionParameterCount ( )
testHypergeometric ( $a, $b, $c, $z, $expected )
testHypergeometricExceptionNGreaterThanOne ( )
testIncompleteBeta ( $x, $a, $b, $ib )
testLogistic ( $x₀, $L, $k, $x, $logistic )
testLowerIncompleteGamma ( $s, $x, $lig )
testRegularizedIncompleteBeta ( $x, $a, $b, $rib )
testRegularizedIncompleteBetaExceptionALessThanZero ( )
testRegularizedIncompleteBetaExceptionXOutOfBounds ( )
testSgn ( $x, $sign )
testSigmoid ( ) Sigmoid is just a special case of the logistic function.
testSignum ( $x, $sign )
testSoftmax ( array $𝐳, array $expected )
testUppderIncompleteGammaExceptionSLessThanZero ( )
testUpperIncompleteGamma ( $s, $x, $uig )

Method Details

dataProviderForBeta() public method

public dataProviderForBeta ( )

dataProviderForComplementaryErrorFunction() public method

dataProviderForConfluentHypergeometric() public method

dataProviderForErrorFunction() public method

dataProviderForGammaLanczos() public method

dataProviderForGammaStirling() public method

dataProviderForHypergeometric() public method

dataProviderForIncompleteBeta() public method

dataProviderForLogistic() public method

dataProviderForLowerIncompleteGamma() public method

dataProviderForRegularizedIncompleteBeta() public method

dataProviderForSignum() public method

dataProviderForSoftmax() public method

dataProviderForUpperIncompleteGamma() public method

testBeta() public method

public testBeta ( $x, $y, float $beta )
$beta float

testComplementaryErrorFunction() public method

public testComplementaryErrorFunction ( $x, $error )

testConfluentHypergeometric() public method

public testConfluentHypergeometric ( $a, $b, $z, $expected )

testErf() public method

public testErf ( $x, $error )

testErfc() public method

public testErfc ( $x, $error )

testErrorFunction() public method

public testErrorFunction ( $x, $error )

testGamma() public method

public testGamma ( $z, )

testGammaLanczos() public method

public testGammaLanczos ( $z, )

testGammaStirling() public method

public testGammaStirling ( $n, )

testGeneralizedHypergeometricExceptionParameterCount() public method

testHypergeometric() public method

public testHypergeometric ( $a, $b, $c, $z, $expected )

testHypergeometricExceptionNGreaterThanOne() public method

testIncompleteBeta() public method

public testIncompleteBeta ( $x, $a, $b, $ib )

testLogistic() public method

public testLogistic ( $x₀, $L, $k, $x, $logistic )

testLowerIncompleteGamma() public method

public testLowerIncompleteGamma ( $s, $x, $lig )

testRegularizedIncompleteBeta() public method

public testRegularizedIncompleteBeta ( $x, $a, $b, $rib )

testRegularizedIncompleteBetaExceptionALessThanZero() public method

testRegularizedIncompleteBetaExceptionXOutOfBounds() public method

testSgn() public method

public testSgn ( $x, $sign )

testSigmoid() public method

Sigmoid is just a special case of the logistic function.
public testSigmoid ( )

testSignum() public method

public testSignum ( $x, $sign )

testSoftmax() public method

public testSoftmax ( array $𝐳, array $expected )
$𝐳 array
$expected array

testUppderIncompleteGammaExceptionSLessThanZero() public method

testUpperIncompleteGamma() public method

public testUpperIncompleteGamma ( $s, $x, $uig )