piston.asmt file is running correctly

This commit is contained in:
Aik-Siong Koh
2023-07-30 12:08:39 -06:00
parent 225966dced
commit 6ef4789eca
142 changed files with 3177 additions and 1144 deletions

View File

@@ -1,3 +1,26 @@
#include "ExpressionX.h"
using namespace MbD;
void MbD::ExpressionX::xexpression(Symsptr arg, Symsptr func)
{
//"
//Future modification :
//Check that func is a function of arg.
//No need for self to be dependent of arg since self is dependent of func which is indirectly
//dependent of of arg.
//"
xx = arg;
expression = func;
}
Symsptr MbD::ExpressionX::differentiateWRT(Symsptr var)
{
return expression->differentiateWRT(var);
}
double MbD::ExpressionX::getValue()
{
return expression->getValue();
}