PHP 클래스 MathPHP\LinearAlgebra\MatrixDecompositionsTest

상속: extends PHPUnit_Framework_TestCase
파일 보기 프로젝트 열기: markrogoyski/math-php

공개 메소드들

메소드 설명
dataProviderForLUDecomposition ( )
dataProviderForRREF ( )
dataProviderForSolve ( )
dataProviderForSolveExceptionNotVectorOrArray ( )
testLUDecomposition ( array $A, array $L, array $U, array $P )
testLUDecompositionExceptionNotSquare ( )
testLUDecompositionPivotize ( array $A, array $_, array $__, array $P )
testRREF ( array $A, array $R )
testRREFAlreadyComputed ( )
testSolveArray ( array $A, array $b, array $expected )
testSolveExceptionNotVectorOrArray ( $b )
testSolveInverse ( array $A, array $b, array $expected )
testSolveRREF ( array $A, array $b, array $expected )
testSolveVector ( array $A, array $b, array $expected )

메소드 상세

dataProviderForLUDecomposition() 공개 메소드

dataProviderForRREF() 공개 메소드

public dataProviderForRREF ( )

dataProviderForSolve() 공개 메소드

dataProviderForSolveExceptionNotVectorOrArray() 공개 메소드

testLUDecomposition() 공개 메소드

public testLUDecomposition ( array $A, array $L, array $U, array $P )
$A array
$L array
$U array
$P array

testLUDecompositionExceptionNotSquare() 공개 메소드

testLUDecompositionPivotize() 공개 메소드

public testLUDecompositionPivotize ( array $A, array $_, array $__, array $P )
$A array
$_ array
$__ array
$P array

testRREF() 공개 메소드

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

testRREFAlreadyComputed() 공개 메소드

testSolveArray() 공개 메소드

public testSolveArray ( array $A, array $b, array $expected )
$A array
$b array
$expected array

testSolveExceptionNotVectorOrArray() 공개 메소드

testSolveInverse() 공개 메소드

public testSolveInverse ( array $A, array $b, array $expected )
$A array
$b array
$expected array

testSolveRREF() 공개 메소드

public testSolveRREF ( array $A, array $b, array $expected )
$A array
$b array
$expected array

testSolveVector() 공개 메소드

public testSolveVector ( array $A, array $b, array $expected )
$A array
$b array
$expected array