creativity  v1.3.0
Agent-based model of creativity and piracy
Regression.hpp
1 #pragma once
2 #include <stdexcept>
3 
4 namespace creativity { namespace data {
5 
9 class RankError : public std::runtime_error {
10  public:
12  RankError(const std::string &message) : std::runtime_error(message) {}
13 };
14 
15 }}
Primary namespace for all Creativity library code.
Definition: config.hpp:4
Definition: Variable.hpp:389
RankError(const std::string &message)
Constructor; takes an exception message.
Definition: Regression.hpp:12
Exception class for rank errors, for example when trying to do OLS with n < k, or an X matrix without...
Definition: Regression.hpp:9