EndFrameqct done
This commit is contained in:
10
MbDCode/Product.cpp
Normal file
10
MbDCode/Product.cpp
Normal file
@@ -0,0 +1,10 @@
|
||||
#include "Product.h"
|
||||
|
||||
using namespace MbD;
|
||||
|
||||
double MbD::Product::getValue()
|
||||
{
|
||||
double answer = 1.0;
|
||||
for (int i = 0; i < terms->size(); i++) answer *= terms->at(i)->getValue();
|
||||
return answer;
|
||||
}
|
||||
Reference in New Issue
Block a user