Files
solver/OndselSolver/Ln.cpp
2023-11-14 09:05:46 -07:00

26 lines
775 B
C++

/***************************************************************************
* Copyright (c) 2023 Ondsel, Inc. *
* *
* This file is part of OndselSolver. *
* *
* See LICENSE file for details about copyright. *
***************************************************************************/
#include "Ln.h"
using namespace MbD;
MbD::Ln::Ln(Symsptr arg) : FunctionX(arg)
{
}
double MbD::Ln::getValue()
{
return std::log(xx->getValue());
}
Symsptr MbD::Ln::copyWith(Symsptr arg)
{
return std::make_shared<Ln>(arg);
}