PHP Class MathPHP\LinearAlgebra\MatrixTest

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

Public Methods

Method Description
dataProviderForGetDiagonalElements ( )
dataProviderForGetM ( )
dataProviderForGetN ( )
dataProviderForIsNotSquare ( )
dataProviderForIsNotSymmetric ( )
dataProviderForIsSquare ( )
dataProviderForIsSymmetric ( )
dataProviderForJsonSerialize ( )
setUp ( )
testArrayAccessInterfaceOffExists ( )
testArrayAccessInterfaceOffsetGet ( )
testArrayAccessInterfaceOffsetSet ( )
testArrayAccessOffsetUnsetException ( )
testConstructor ( )
testConstructorExceptionNCountDiffers ( )
testGet ( )
testGetColumn ( )
testGetColumnException ( )
testGetDiagonalElements ( array $A, $R )
testGetExceptionColumn ( )
testGetExceptionRow ( )
testGetM ( array $A, integer $m )
testGetMatrix ( )
testGetN ( array $A, integer $n )
testGetRow ( )
testGetRowException ( )
testIsNotSquare ( array $A )
testIsNotSymmetric ( array $A )
testIsSquare ( array $A )
testIsSymmetric ( array $A )
testJsonSerialize ( array $A, string $json )
testToString ( )

Method Details

dataProviderForGetDiagonalElements() public method

dataProviderForGetM() public method

public dataProviderForGetM ( )

dataProviderForGetN() public method

public dataProviderForGetN ( )

dataProviderForIsNotSquare() public method

dataProviderForIsNotSymmetric() public method

dataProviderForIsSquare() public method

dataProviderForIsSymmetric() public method

dataProviderForJsonSerialize() public method

setUp() public method

public setUp ( )

testArrayAccessInterfaceOffExists() public method

testArrayAccessInterfaceOffsetGet() public method

testArrayAccessInterfaceOffsetSet() public method

testArrayAccessOffsetUnsetException() public method

testConstructor() public method

public testConstructor ( )

testConstructorExceptionNCountDiffers() public method

testGet() public method

public testGet ( )

testGetColumn() public method

public testGetColumn ( )

testGetColumnException() public method

testGetDiagonalElements() public method

public testGetDiagonalElements ( array $A, $R )
$A array

testGetExceptionColumn() public method

testGetExceptionRow() public method

public testGetExceptionRow ( )

testGetM() public method

public testGetM ( array $A, integer $m )
$A array
$m integer

testGetMatrix() public method

public testGetMatrix ( )

testGetN() public method

public testGetN ( array $A, integer $n )
$A array
$n integer

testGetRow() public method

public testGetRow ( )

testGetRowException() public method

public testGetRowException ( )

testIsNotSquare() public method

public testIsNotSquare ( array $A )
$A array

testIsNotSymmetric() public method

public testIsNotSymmetric ( array $A )
$A array

testIsSquare() public method

public testIsSquare ( array $A )
$A array

testIsSymmetric() public method

public testIsSymmetric ( array $A )
$A array

testJsonSerialize() public method

public testJsonSerialize ( array $A, string $json )
$A array
$json string

testToString() public method

public testToString ( )