PHP Класс NumPHPTest\Core\NumArray\Reduce\MeanTest

С версии: 1.0.0
Автор: Gordon Lesti ([email protected])
Наследование: extends NumPHPTest\Core\Framework\TestCase
Показать файл Открыть проект

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

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