PHP Class MathPHP\LinearAlgebra\MatrixRowOperationsTest

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

Public Methods

Method Description
dataProviderForRowAdd ( )
dataProviderForRowAddScalar ( )
dataProviderForRowDivide ( )
dataProviderForRowExclude ( )
dataProviderForRowInterchange ( )
dataProviderForRowMultiply ( )
dataProviderForRowSubtract ( )
dataProviderForRowSubtractScalar ( )
setUp ( )
testRowAdd ( array $A, integer $mᵢ, $mⱼ, integer $k, array $R )
testRowAddExceptionKIsZero ( )
testRowAddExceptionRowGreaterThanM ( )
testRowAddScalar ( array $A, integer $mᵢ, integer $k, array $R )
testRowAddScalarExceptionRowGreaterThanM ( )
testRowDivide ( array $A, integer $mᵢ, $k, array $R )
testRowDivideExceptionKIsZero ( )
testRowDivideExceptionRowGreaterThanM ( )
testRowExclude ( array $A, integer $mᵢ, array $R )
testRowExcludeExceptionRowDoesNotExist ( )
testRowInterchange ( array $A, integer $mᵢ, integer $mⱼ, array $R )
testRowInterchangeExceptionRowGreaterThanM ( )
testRowMultiply ( array $A, integer $mᵢ, $k, array $R )
testRowMultiplyExceptionKIsZero ( )
testRowMultiplyExceptionRowGreaterThanM ( )
testRowSubtract ( array $A, integer $mᵢ, $mⱼ, integer $k, array $R )
testRowSubtractExceptionRowGreaterThanM ( )
testRowSubtractScalar ( array $A, integer $mᵢ, integer $k, array $R )
testRowSubtractScalarExceptionRowGreaterThanM ( )

Method Details

dataProviderForRowAdd() public method

dataProviderForRowAddScalar() public method

dataProviderForRowDivide() public method

dataProviderForRowExclude() public method

dataProviderForRowInterchange() public method

dataProviderForRowMultiply() public method

dataProviderForRowSubtract() public method

dataProviderForRowSubtractScalar() public method

setUp() public method

public setUp ( )

testRowAdd() public method

public testRowAdd ( array $A, integer $mᵢ, $mⱼ, integer $k, array $R )
$A array
$mᵢ integer
$k integer
$R array

testRowAddExceptionKIsZero() public method

testRowAddExceptionRowGreaterThanM() public method

testRowAddScalar() public method

public testRowAddScalar ( array $A, integer $mᵢ, integer $k, array $R )
$A array
$mᵢ integer
$k integer
$R array

testRowAddScalarExceptionRowGreaterThanM() public method

testRowDivide() public method

public testRowDivide ( array $A, integer $mᵢ, $k, array $R )
$A array
$mᵢ integer
$R array

testRowDivideExceptionKIsZero() public method

testRowDivideExceptionRowGreaterThanM() public method

testRowExclude() public method

public testRowExclude ( array $A, integer $mᵢ, array $R )
$A array
$mᵢ integer
$R array

testRowExcludeExceptionRowDoesNotExist() public method

testRowInterchange() public method

public testRowInterchange ( array $A, integer $mᵢ, integer $mⱼ, array $R )
$A array
$mᵢ integer
$mⱼ integer
$R array

testRowInterchangeExceptionRowGreaterThanM() public method

testRowMultiply() public method

public testRowMultiply ( array $A, integer $mᵢ, $k, array $R )
$A array
$mᵢ integer
$R array

testRowMultiplyExceptionKIsZero() public method

testRowMultiplyExceptionRowGreaterThanM() public method

testRowSubtract() public method

public testRowSubtract ( array $A, integer $mᵢ, $mⱼ, integer $k, array $R )
$A array
$mᵢ integer
$k integer
$R array

testRowSubtractExceptionRowGreaterThanM() public method

testRowSubtractScalar() public method

public testRowSubtractScalar ( array $A, integer $mᵢ, integer $k, array $R )
$A array
$mᵢ integer
$k integer
$R array

testRowSubtractScalarExceptionRowGreaterThanM() public method