chippyash/Math-Matrix

View on GitHub
src/Chippyash/Math/Matrix/Exceptions/NotMarkovException.php

Summary

Maintainability
A
0 mins
Test Coverage
<?php
/**
 * Markov
 *
 * @author Ashley Kitson
 * @copyright Ashley Kitson, 2016, UK
 * @license GPL V3+ See LICENSE.md
 */

namespace Chippyash\Math\Matrix\Exceptions;


class NotMarkovException extends MathMatrixException
{
    protected $msgTpl = "Matrix is not suitable for a Markov Chain: ";

    public function __construct($reason = '', $code = -1, $previous = null)
    {
        parent::__construct($this->msgTpl . $reason, $code, $previous);
    }
}