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

Generator for the definition domain of a function #456

Closed
gchabert opened this issue Apr 22, 2020 · 1 comment
Closed

Generator for the definition domain of a function #456

gchabert opened this issue Apr 22, 2020 · 1 comment
Assignees

Comments

@gchabert
Copy link
Contributor

We need a function

const System& Function::domain()

that generates the set of inequalities corresponding to the definition domain of the function.

@gchabert gchabert self-assigned this Apr 22, 2020
gchabert pushed a commit that referenced this issue May 6, 2020
gchabert pushed a commit that referenced this issue May 6, 2020
@gchabert gchabert closed this as completed May 6, 2020
@gchabert
Copy link
Contributor Author

gchabert commented May 6, 2020

Example of use:

    Function f("x","y","ln(x)+sqrt(x+y)");
    const System& sys=f.def_domain();
    cout << sys << endl;

Prints:

 x>=0
 (x+y)>=0

gchabert pushed a commit that referenced this issue May 6, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant