Files
solver/MbDCode/FunctionX.h
2023-08-08 18:51:19 -06:00

35 lines
991 B
C++

/***************************************************************************
* Copyright (c) 2023 Ondsel, Inc. *
* *
* This file is part of OndselSolver. *
* *
* See LICENSE file for details about copyright. *
***************************************************************************/
#pragma once
#include "Function.h"
namespace MbD {
class Symbolic;
//using Symsptr = Symsptr;
class FunctionX : public Function
{
//
public:
FunctionX() = default;
FunctionX(Symsptr arg);
void arguments(Symsptr args) override;
Symsptr differentiateWRT(Symsptr var) override;
virtual Symsptr differentiateWRTx();
void createMbD(std::shared_ptr<System> mbdSys, std::shared_ptr<Units> mbdUnits) override;
Symsptr xx;
};
}