PHP Class MathPHP\LinearAlgebra\MatrixColumnOperationsTest

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

Public Methods

Method Description
dataProviderForColulmnInterchange ( )
dataProviderForColumnAdd ( )
dataProviderForColumnExclude ( )
dataProviderForColumnMultiply ( )
setUp ( )
testColulmnInterchange ( array $A, integer $nᵢ, integer $nⱼ, array $R )
testColumnAdd ( array $A, integer $nᵢ, $nⱼ, integer $k, array $R )
testColumnAddExceptionKIsZero ( )
testColumnAddExceptionRowGreaterThanN ( )
testColumnExclude ( array $A, integer $nᵢ, array $R )
testColumnExcludeExceptionColumnDoesNotExist ( )
testColumnInterchangeExceptionColumnGreaterThanN ( )
testColumnMultiply ( array $A, integer $nᵢ, $k, array $R )
testColumnMultiplyExceptionColumnGreaterThanN ( )
testColumnMultiplyExceptionKIsZero ( )

Method Details

dataProviderForColulmnInterchange() public method

dataProviderForColumnAdd() public method

dataProviderForColumnExclude() public method

dataProviderForColumnMultiply() public method

setUp() public method

public setUp ( )

testColulmnInterchange() public method

public testColulmnInterchange ( array $A, integer $nᵢ, integer $nⱼ, array $R )
$A array
$nᵢ integer
$nⱼ integer
$R array

testColumnAdd() public method

public testColumnAdd ( array $A, integer $nᵢ, $nⱼ, integer $k, array $R )
$A array
$nᵢ integer
$k integer
$R array

testColumnAddExceptionKIsZero() public method

testColumnAddExceptionRowGreaterThanN() public method

testColumnExclude() public method

public testColumnExclude ( array $A, integer $nᵢ, array $R )
$A array
$nᵢ integer
$R array

testColumnExcludeExceptionColumnDoesNotExist() public method

testColumnInterchangeExceptionColumnGreaterThanN() public method

testColumnMultiply() public method

public testColumnMultiply ( array $A, integer $nᵢ, $k, array $R )
$A array
$nᵢ integer
$R array

testColumnMultiplyExceptionColumnGreaterThanN() public method

testColumnMultiplyExceptionKIsZero() public method