MbDCode repo renamed to OndselSolver. Several *.asmt files working.

This commit is contained in:
Aik-Siong Koh
2023-08-07 08:21:33 -06:00
parent 6ef4789eca
commit e58446b9e2
287 changed files with 13387 additions and 778 deletions

View File

@@ -16,7 +16,9 @@ Symsptr MbD::Product::differentiateWRT(Symsptr var)
std::transform(terms->begin(),
terms->end(),
std::back_inserter(*derivatives),
[var](Symsptr term) { return term->differentiateWRT(var); }
[var](Symsptr term) {
return term->differentiateWRT(var);
}
);
auto derivativeTerms = std::make_shared<std::vector<Symsptr>>();
for (int i = 0; i < terms->size(); i++)