PHP Class MathPHP\LinearAlgebra\VectorTest

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

Public Methods

Method Description
dataProviderForAsColumnMatrix ( )
dataProviderForAsRowMatrix ( )
dataProviderForCountable ( )
dataProviderForGetN ( )
dataProviderForJsonSerializable ( )
setUp ( )
testArrayAccessInterfaceOffsetGet ( )
testArrayAccessInterfaceOffsetSet ( )
testArrayAccessOffsetExists ( )
testArrayAccessOffsetUnsetException ( )
testAsColumnMatrix ( array $A, array $R )
testAsRowMatrix ( array $A, array $R )
testConstructor ( )
testCountableInterface ( array $A, $n )
testGet ( )
testGetException ( )
testGetN ( array $A, integer $n )
testGetVector ( )
testInterfaces ( )
testJsonSerializable ( array $A, string $json )
testToString ( )

Method Details

dataProviderForAsColumnMatrix() public method

dataProviderForAsRowMatrix() public method

dataProviderForCountable() public method

dataProviderForGetN() public method

public dataProviderForGetN ( )

dataProviderForJsonSerializable() public method

setUp() public method

public setUp ( )

testArrayAccessInterfaceOffsetGet() public method

testArrayAccessInterfaceOffsetSet() public method

testArrayAccessOffsetExists() public method

testArrayAccessOffsetUnsetException() public method

testAsColumnMatrix() public method

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

testAsRowMatrix() public method

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

testConstructor() public method

public testConstructor ( )

testCountableInterface() public method

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

testGet() public method

public testGet ( )

testGetException() public method

public testGetException ( )

testGetN() public method

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

testGetVector() public method

public testGetVector ( )

testInterfaces() public method

public testInterfaces ( )

testJsonSerializable() public method

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

testToString() public method

public testToString ( )