public function testFrobeniusNorm(array $A, $norm) { $A = MatrixFactory::create($A); $this->assertEquals($norm, $A->frobeniusNorm(), '', 0.0001); }