ChooserPoly ChooserEvaluator::multiply_plain(const ChooserPoly &operand, const ChooserPoly &plain_chooser_poly) { if (plain_chooser_poly.comp_ != nullptr) { throw invalid_argument("plain_chooser_poly is not correctly initialized"); } return multiply_plain(operand, plain_chooser_poly.max_coeff_count_, plain_chooser_poly.max_abs_value_); }
ChooserPoly ChooserEvaluator::multiply_plain(const ChooserPoly &operand, int plain_max_coeff_count, uint64_t plain_max_abs_value) { return multiply_plain(operand, plain_max_coeff_count, BigUInt(64, plain_max_abs_value)); }