MDL-65769 lib: update PHP-ML to 0.8.0

This commit is contained in:
Simey Lameze
2019-07-12 06:28:31 +08:00
parent f7e108438f
commit e6c25fb057
126 changed files with 3636 additions and 3750 deletions
@@ -4,29 +4,8 @@ declare(strict_types=1);
namespace Phpml\Exception;
class MatrixException extends \Exception
use Exception;
class MatrixException extends Exception
{
/**
* @return MatrixException
*/
public static function notSquareMatrix()
{
return new self('Matrix is not square matrix');
}
/**
* @return MatrixException
*/
public static function columnOutOfRange()
{
return new self('Column out of range');
}
/**
* @return MatrixException
*/
public static function singularMatrix()
{
return new self('Matrix is singular');
}
}