Toggle navigation
Hot Examples
EN
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
PHP
PHP
C#
Java
Go
C++
Python
JS
TS
Search
Home
MathPHP
Functions
SpecialTest
testSignum
MathPHP\Functions\SpecialTest::testSignum PHP Method
SpecialTest Class Documentation
Show file
Open project: markrogoyski/math-php
testSignum()
public
method
public
testSignum
(
$x
,
$sign
)
public function testSignum($x, $sign) { $this->assertEquals($sign, Special::signum($x)); }
SpecialTest
dataProviderForBeta
dataProviderForComplementaryErrorFunction
dataProviderForConfluentHypergeometric
dataProviderForErrorFunction
dataProviderForGammaLanczos
dataProviderForGammaStirling
dataProviderForHypergeometric
dataProviderForIncompleteBeta
dataProviderForLogistic
dataProviderForLowerIncompleteGamma
dataProviderForRegularizedIncompleteBeta
dataProviderForSignum
dataProviderForSoftmax
dataProviderForUpperIncompleteGamma
testBeta
testComplementaryErrorFunction
testConfluentHypergeometric
testErf
testErfc
testErrorFunction
testGamma
testGammaLanczos
testGammaStirling
testGeneralizedHypergeometricExceptionParameterCount
testHypergeometric
testHypergeometricExceptionNGreaterThanOne
testIncompleteBeta
testLogistic
testLowerIncompleteGamma
testRegularizedIncompleteBeta
testRegularizedIncompleteBetaExceptionALessThanZero
testRegularizedIncompleteBetaExceptionXOutOfBounds
testSgn
testSigmoid
testSignum
testSoftmax
testUppderIncompleteGammaExceptionSLessThanZero
testUpperIncompleteGamma