PHP 클래스 NumPHPTest\Core\NumArray\Reduce\MeanTest

부터: 1.0.0
저자: Gordon Lesti ([email protected])
상속: extends NumPHPTest\Core\Framework\TestCase
파일 보기 프로젝트 열기: numphp/numphp

공개 메소드들

메소드 설명
testMeanMatrix ( ) Tests NumArray::mean with a matrix and without arguments
testMeanMatrix2x3x4Axis0 ( ) Tests NumArray::sum with a 2x3x4 matrix and argument 0
testMeanMatrixAxis0 ( ) Tests NumArray::mean with a matrix and with argument 0
testMeanMatrixAxis1 ( ) Tests NumArray::mean with a matrix and argument 1
testMeanMatrixAxis2 ( ) Tests if InvalidArgumentException will be thrown by using NumArray::mean and a wrong axis on a matrix
testMeanSingle ( ) Tests NumArray::mean with scalar value without arguments
testMeanSingleAxis0 ( ) Tests NumArray::mean with scalar value with argument 0
testMeanSingleAxis1 ( ) Tests if InvalidArgumentException will be thrown by using NumArray::mean and a wrong axis on a scalar value
testMeanVector ( ) Tests NumArray::mean with a vector and without arguments
testMeanVectorAxis0 ( ) Tests NumArray::mean with a vector and with argument 0
testMeanVectorAxis1 ( ) Tests if InvalidArgumentException will be thrown by using NumArray::mean and a wrong axis on a vector

메소드 상세

testMeanMatrix() 공개 메소드

Tests NumArray::mean with a matrix and without arguments
public testMeanMatrix ( )

testMeanMatrix2x3x4Axis0() 공개 메소드

Tests NumArray::sum with a 2x3x4 matrix and argument 0

testMeanMatrixAxis0() 공개 메소드

Tests NumArray::mean with a matrix and with argument 0
public testMeanMatrixAxis0 ( )

testMeanMatrixAxis1() 공개 메소드

Tests NumArray::mean with a matrix and argument 1
public testMeanMatrixAxis1 ( )

testMeanMatrixAxis2() 공개 메소드

Tests if InvalidArgumentException will be thrown by using NumArray::mean and a wrong axis on a matrix
public testMeanMatrixAxis2 ( )

testMeanSingle() 공개 메소드

Tests NumArray::mean with scalar value without arguments
public testMeanSingle ( )

testMeanSingleAxis0() 공개 메소드

Tests NumArray::mean with scalar value with argument 0
public testMeanSingleAxis0 ( )

testMeanSingleAxis1() 공개 메소드

Tests if InvalidArgumentException will be thrown by using NumArray::mean and a wrong axis on a scalar value
public testMeanSingleAxis1 ( )

testMeanVector() 공개 메소드

Tests NumArray::mean with a vector and without arguments
public testMeanVector ( )

testMeanVectorAxis0() 공개 메소드

Tests NumArray::mean with a vector and with argument 0
public testMeanVectorAxis0 ( )

testMeanVectorAxis1() 공개 메소드

Tests if InvalidArgumentException will be thrown by using NumArray::mean and a wrong axis on a vector
public testMeanVectorAxis1 ( )