27 lines
817 B
C++
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;
|
|
}
|