Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- /**
- * Factor the constants of our polynomial
- * down to the lowest divisible constants
- *
- * @return The set of polynomials it factors to
- */
- std::vector<Polynomial> Polynomial::factor()
- {
- // TODO: Replace this and do some magic here
- std::vector<Polynomial> polynomials(1, *this);
- return polynomials;
- }
Add Comment
Please, Sign In to add comment