Guest User

Untitled

a guest
Jan 18th, 2019
102
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.31 KB | None | 0 0
  1. /**
  2. * Factor the constants of our polynomial
  3. * down to the lowest divisible constants
  4. *
  5. * @return The set of polynomials it factors to
  6. */
  7. std::vector<Polynomial> Polynomial::factor()
  8. {
  9. // TODO: Replace this and do some magic here
  10. std::vector<Polynomial> polynomials(1, *this);
  11.  
  12. return polynomials;
  13. }
Add Comment
Please, Sign In to add comment