#pragma once #include "FunctionWithManyArgs.h" namespace MbD { class Product : public FunctionWithManyArgs { public: Product(std::shared_ptr term) : FunctionWithManyArgs(term) {} Product(std::shared_ptr term, std::shared_ptr term1) : FunctionWithManyArgs(term, term1) {} Product(std::shared_ptr term, std::shared_ptr term1, std::shared_ptr term2) : FunctionWithManyArgs(term, term1, term2) {} Product(std::shared_ptr>> _terms) : FunctionWithManyArgs(_terms) {} double getValue() override; }; }