BadSymbolicsError is thrown when a mathematically nonsensical expression is detected. More...
Public Member Functions | |
| BadSymbolicsError (const std::string &msg) | |
BadSymbolicsError is thrown when a mathematically nonsensical expression is detected.
Unfortunately, it is possible to form expressions that are legal C++ but illegal mathematics. For example, one can happily divide a differential operator by another expression,
Expr f = new UnknownFunction(); Expr dx = new Derivative(0); Expr e = dx/f;
Definition at line 134 of file SundanceExceptions.hpp.
| BadSymbolicsError::BadSymbolicsError | ( | const std::string & | msg | ) |
Definition at line 43 of file SundanceExceptions.cpp.