Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

poly file name changes + making symengine mpolys inherit from a base class #1255

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

srajangarg
Copy link
Contributor

@srajangarg srajangarg commented May 10, 2017

this base class can be used to inherit the piranha mpoly class

I think that the file names are much more well defined now.

}
}

static set_basic get_translated_container(Container &x, Container &y,
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Was moved inside the class, as different classes can have different get_translated_container methods, which serve different purposes. Hence the add/sub/mul/div functions use that particular class's get_translated method, and remain the same for all classes. (just how +, -, x, / were overloaded for univariate poly classes and implemented commonly for all classes)

@srajangarg srajangarg requested a review from isuruf May 10, 2017 17:47
@srajangarg
Copy link
Contributor Author

@isuruf can we merge? I'm unable to write multivariate piranha polynomials at the moment. Will do it another PR.

@certik
Copy link
Contributor

certik commented Jun 7, 2017

That looks good to me. @isuruf any objections?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants