Scythe-1.0.3
|
#include <scythestat/error.h>
Public Member Functions | |
scythe_type_error (const std::string &file, const std::string &function, const unsigned int &line, const std::string &message="", const bool &halt=false) throw () |
Matrix type error.
Library members throw this exception when a caller passes a Matrix that does not satisfy some required property to a routine. For example, Cholesky decomposition is designed to work on positive definite matrices; trying to perform Cholesky decomposition on a Matrix that does not satisfy this requirement causes this exception.