Election-Tech-Initiative / Election-Tech-Initiative/electionguard-cpp
Group and Element Mathematical Operator Overloads
- Dominant language
- C++
- Stars
- 26
- Forks
- 25
- PR merge metrics
- No merged PRs in 30d
Description
## Generic Issue
- [ ] Ensure this issue is not a bug report or feature request
**Description**
The python version of the group and element classes have Mathematical functions for things such as adding them together, doing power operations, and other more complex ones such as (a + bc) all with making sure that the answer fits into an ElementModP or ElementModQ in the end. This is not built into the C++ version of these classes.
**Possible Solution**
Implement the basic functionalities of this using mathematical operator overloading.
**Additional context/Screenshots**
Add any other context about the problem here. If applicable, add screenshots to help explain.
Contributor guide
Assessment
This issue has not been assessed yet.