![]() |
Rosetta Utilities
2015.09
|
#include <Calculator.hh>
Public Member Functions | |
virtual | ~Calculator () |
Calculator (std::string const &equation) | |
bool | compute (std::map< std::string, Real > &values, Real &output) const |
Calculate the value of the equation, putting it in output Return true if the computation failed. More... | |
![]() | |
ReferenceCount () | |
Default constructor. More... | |
virtual | ~ReferenceCount () |
Private Attributes | |
std::string | equation_ |
Additional Inherited Members | |
![]() | |
typedef platform::Size | Size |
typedef platform::Size | size_type |
|
virtual |
numeric::Calculator::Calculator | ( | std::string const & | equation | ) |
Calculate the value of the equation, putting it in output Return true if the computation failed.
References equation_, and numeric::CalculatorParser::parser().
|
private |
Referenced by compute().