We currently only have From for MatPolyRingZq with input MatPolyRingZq and Into.
Since MatZ can be transformed into MatPolyRingZq, I changed our current implementation such that the input can be Into and Into, without losing the efficiency of our current implementation.
This PR implements...
[x] From for MatPolyRingZq with support for MatZ
Testing
[x] I added basic working examples (possibly in doc-comment)
[x] I added tests for large (pointer representation) values
[x] I triggered all possible errors in my test in every possible way
[x] I included tests for all reasonable edge cases
Checklist:
[x] I have performed a self-review of my own code
[x] The code provides good readability and maintainability s.t. it fulfills best practices like talking code, modularity, ...
[x] The chosen implementation is not more complex than it has to be
[x] My code should work as intended and no side effects occur (e.g. memory leaks)
Description
We currently only have From for MatPolyRingZq with input MatPolyRingZq and Into.
Since MatZ can be transformed into MatPolyRingZq, I changed our current implementation such that the input can be Into and Into, without losing the efficiency of our current implementation.
This PR implements...
Testing
Checklist: