Implement Power function

This commit is contained in:
Aik-Siong Koh
2025-08-07 20:37:33 -06:00
committed by Chris Hennes
parent 09d6175a2b
commit 1a8fdc32d3
27 changed files with 220 additions and 44 deletions

View File

@@ -2,6 +2,10 @@
using namespace MbD;
MbD::Integral::Integral(Symsptr arg) : ExpressionX(arg)
{
}
MbD::Integral::Integral(Symsptr, Symsptr)
{
assert(false);
@@ -48,3 +52,8 @@ std::ostream& MbD::Integral::printOn(std::ostream& s) const
s << *integrationConstant;
return s;
}
Symsptr MbD::Integral::copyWith(Symsptr arg)
{
return std::make_shared<Integral>(arg);
}