Files
solver/MbDCode/ArcTan.cpp
2023-08-08 18:51:19 -06:00

27 lines
817 B
C++

/***************************************************************************
* Copyright (c) 2023 Ondsel, Inc. *
* *
* This file is part of OndselSolver. *
* *
* See LICENSE file for details about copyright. *
***************************************************************************/
#include "ArcTan.h"
using namespace MbD;
MbD::ArcTan::ArcTan(Symsptr arg) : FunctionX(arg)
{
}
double MbD::ArcTan::getValue()
{
return std::atan(xx->getValue());
}
std::ostream& MbD::ArcTan::printOn(std::ostream& s) const
{
s << "arctan(" << xx << ")";
return s;
}