for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
declare(strict_types=1);
namespace Phpml\Exception;
class MatrixException extends \Exception
{
/**
* @return MatrixException
*/
public static function notSquareMatrix()
return new self('Matrix is not square matrix');
}
public static function columnOutOfRange()
return new self('Column out of range');
public static function singularMatrix()
return new self('Matrix is singular');