Implement Power function
This commit is contained in:
committed by
Chris Hennes
parent
09d6175a2b
commit
1a8fdc32d3
@@ -12,9 +12,8 @@
|
||||
|
||||
using namespace MbD;
|
||||
|
||||
MbD::PiecewiseFunction::PiecewiseFunction()
|
||||
MbD::PiecewiseFunction::PiecewiseFunction(Symsptr arg) : FunctionXcParameter(arg)
|
||||
{
|
||||
noop();
|
||||
}
|
||||
|
||||
MbD::PiecewiseFunction::PiecewiseFunction(Symsptr var, std::shared_ptr<std::vector<Symsptr>> funcs, std::shared_ptr<std::vector<Symsptr>> trans)
|
||||
@@ -121,3 +120,8 @@ std::ostream& MbD::PiecewiseFunction::printOn(std::ostream& s) const
|
||||
s << "})" << std::endl;
|
||||
return s;
|
||||
}
|
||||
|
||||
Symsptr MbD::PiecewiseFunction::copyWith(Symsptr arg)
|
||||
{
|
||||
return std::make_shared<PiecewiseFunction>(arg, functions, transitions);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user