MathPHP\LinearAlgebra\MatrixOperationsTest::testDet PHP 메소드

testDet() 공개 메소드

public testDet ( array $A, $det )
$A array
    public function testDet(array $A, $det)
    {
        $A = MatrixFactory::create($A);
        $this->assertEquals($det, round($A->det(), 0.1));
        // Test calculation
        $this->assertEquals($det, round($A->det(), 0.1));
        // Test class attribute
    }
MatrixOperationsTest