Files
solver/OndselSolver/Reciprocal.h
2023-11-14 09:05:46 -07:00

29 lines
935 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 Reciprocal : public FunctionX
{
//
public:
Reciprocal() = default;
Reciprocal(Symsptr arg);
double getValue() override;
Symsptr differentiateWRTx() override;
Symsptr copyWith(Symsptr arg) override;
std::ostream& printOn(std::ostream& s) const override;
};
}