PHP Class MathPHP\Functions\SpecialTest

Inheritance: extends PHPUnit_Framework_TestCase
Afficher le fichier Open project: markrogoyski/math-php

Méthodes publiques

Méthode 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 méthode

public dataProviderForBeta ( )

dataProviderForComplementaryErrorFunction() public méthode

dataProviderForConfluentHypergeometric() public méthode

dataProviderForErrorFunction() public méthode

dataProviderForGammaLanczos() public méthode

dataProviderForGammaStirling() public méthode

dataProviderForHypergeometric() public méthode

dataProviderForIncompleteBeta() public méthode

dataProviderForLogistic() public méthode

dataProviderForLowerIncompleteGamma() public méthode

dataProviderForRegularizedIncompleteBeta() public méthode

dataProviderForSignum() public méthode

dataProviderForSoftmax() public méthode

dataProviderForUpperIncompleteGamma() public méthode

testBeta() public méthode

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

testComplementaryErrorFunction() public méthode

public testComplementaryErrorFunction ( $x, $error )

testConfluentHypergeometric() public méthode

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

testErf() public méthode

public testErf ( $x, $error )

testErfc() public méthode

public testErfc ( $x, $error )

testErrorFunction() public méthode

public testErrorFunction ( $x, $error )

testGamma() public méthode

public testGamma ( $z, )

testGammaLanczos() public méthode

public testGammaLanczos ( $z, )

testGammaStirling() public méthode

public testGammaStirling ( $n, )

testGeneralizedHypergeometricExceptionParameterCount() public méthode

testHypergeometric() public méthode

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

testHypergeometricExceptionNGreaterThanOne() public méthode

testIncompleteBeta() public méthode

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

testLogistic() public méthode

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

testLowerIncompleteGamma() public méthode

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

testRegularizedIncompleteBeta() public méthode

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

testRegularizedIncompleteBetaExceptionALessThanZero() public méthode

testRegularizedIncompleteBetaExceptionXOutOfBounds() public méthode

testSgn() public méthode

public testSgn ( $x, $sign )

testSigmoid() public méthode

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

testSignum() public méthode

public testSignum ( $x, $sign )

testSoftmax() public méthode

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

testUppderIncompleteGammaExceptionSLessThanZero() public méthode

testUpperIncompleteGamma() public méthode

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