Files
solver/OndselSolver/Negative.h

28 lines
881 B
C++

/***************************************************************************
* Copyright (c) 2023 Ondsel, Inc. *
* *
* This file is part of OndselSolver. *
* *
* See LICENSE file for details about copyright. *
***************************************************************************/
#pragma once
#include "FunctionX.h"
namespace MbD {
class Negative : public FunctionX
{
//
public:
Negative() = default;
Negative(Symsptr arg);
double getValue() override;
Symsptr differentiateWRTx() override;
std::ostream& printOn(std::ostream& s) const override;
};
}