Files
solver/MbDCode/Exponential.cpp

19 lines
296 B
C++

#include "Exponential.h"
using namespace MbD;
MbD::Exponential::Exponential(Symsptr arg) : FunctionX(arg)
{
}
double MbD::Exponential::getValue()
{
return std::log(xx->getValue());
}
std::ostream& MbD::Exponential::printOn(std::ostream& s) const
{
s << "exp(" << xx << ")";
return s;
}