Files
solver/OndselSolver/Sine.h

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