PHP Class MathPHP\LinearAlgebra\MatrixFactorTest

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

Public Methods

Method Description
dataProviderForDiagonalMatrix ( )
dataProviderForEye ( )
dataProviderForEyeExceptions ( )
dataProviderForFunctionMatrix ( )
dataProviderForFunctionSquareMatrix ( )
dataProviderForIdentity ( )
dataProviderForMatrix ( )
dataProviderForOne ( )
dataProviderForSquareMatrix ( )
dataProviderForVandermondeMatrix ( )
dataProviderForVandermondeSquareMatrix ( )
dataProviderForZero ( )
testCheckParamsExceptionEmptyArray ( )
testCreateDiagonalMatrix ( array $A )
testCreateFunctionMatrix ( array $A )
testCreateFunctionSquareMatrix ( array $A )
testCreateMatrix ( array $A )
testCreateSquareMatrix ( array $A )
testCreateVandermondeMatrix ( array $A, $n )
testCreateVandermondeSquareMatrix ( array $A, $n )
testEye ( integer $m, integer $n, integer $k, integer $x, array $R )
testEyeExceptions ( integer $m, integer $n, integer $k, integer $x )
testIdentity ( integer $n, $x, array $R )
testIdentityExceptionNLessThanZero ( )
testMatrixUnknownTypeException ( )
testOne ( $m, $n, array $R )
testOneExceptionRowsLessThanOne ( )
testZero ( $m, $n, array $R )
testZeroExceptionRowsLessThanOne ( )

Method Details

dataProviderForDiagonalMatrix() public method

dataProviderForEye() public method

public dataProviderForEye ( )

dataProviderForEyeExceptions() public method

dataProviderForFunctionMatrix() public method

dataProviderForFunctionSquareMatrix() public method

dataProviderForIdentity() public method

dataProviderForMatrix() public method

dataProviderForOne() public method

public dataProviderForOne ( )

dataProviderForSquareMatrix() public method

dataProviderForVandermondeMatrix() public method

dataProviderForVandermondeSquareMatrix() public method

dataProviderForZero() public method

public dataProviderForZero ( )

testCheckParamsExceptionEmptyArray() public method

testCreateDiagonalMatrix() public method

testCreateFunctionMatrix() public method

testCreateFunctionSquareMatrix() public method

testCreateMatrix() public method

public testCreateMatrix ( array $A )
$A array

testCreateSquareMatrix() public method

testCreateVandermondeMatrix() public method

public testCreateVandermondeMatrix ( array $A, $n )
$A array

testCreateVandermondeSquareMatrix() public method

testEye() public method

public testEye ( integer $m, integer $n, integer $k, integer $x, array $R )
$m integer
$n integer
$k integer
$x integer
$R array

testEyeExceptions() public method

testIdentity() public method

public testIdentity ( integer $n, $x, array $R )
$n integer
$R array

testIdentityExceptionNLessThanZero() public method

testMatrixUnknownTypeException() public method

testOne() public method

public testOne ( $m, $n, array $R )
$R array

testOneExceptionRowsLessThanOne() public method

testZero() public method

public testZero ( $m, $n, array $R )
$R array

testZeroExceptionRowsLessThanOne() public method