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

context for calculus assumptions #3277

Closed
robertwb opened this issue May 23, 2008 · 10 comments
Closed

context for calculus assumptions #3277

robertwb opened this issue May 23, 2008 · 10 comments

Comments

@robertwb
Copy link
Contributor

one should be able to do something like

with assumptions(x<0):
    ...

where assume() and forget() would be called on the entering and exiting of the block. This could probably be cleanly done with maxima's contexts.

Depends on #24119

CC: @mezzarobba @EmmanuelCharpentier

Component: calculus

Keywords: assume

Reviewer: Dave Morris

Issue created by migration from https://trac.sagemath.org/ticket/3277

@garyfurnish
Copy link
Mannequin

garyfurnish mannequin commented May 23, 2008

comment:1

I'm going to implement passing of assumptions into functions, so much of this can be done as an addon to that (with some global assumption list)

@kcrisman
Copy link
Member

comment:2

See also #780 and #1163 for discussions of assumption issues.

@kcrisman
Copy link
Member

comment:3

See also this ask.sagemath.org question, which would love this. Note that Maxima does support contexts.

@kcrisman
Copy link
Member

Changed keywords from none to assume

@mkoeppe
Copy link
Member

mkoeppe commented Jul 6, 2020

Dependencies: #24119

@mkoeppe
Copy link
Member

mkoeppe commented Jul 6, 2020

comment:5

This was implemented in #24119. Should be closed as a dup

@DaveWitteMorris
Copy link
Member

Reviewer: Dave Morris

@kcrisman
Copy link
Member

kcrisman commented Jul 6, 2020

comment:7

NO WAY! Thanks to Emmanuel for that!

@EmmanuelCharpentier
Copy link
Mannequin

EmmanuelCharpentier mannequin commented Jul 6, 2020

comment:8

Replying to @kcrisman:

NO WAY! Thanks to Emmanuel for that!

I may be dense but ... What do you mean by "NO WAY!" ? Do you think that this ticket should be treated separately from #24119 ?

@kcrisman
Copy link
Member

comment:9

NO WAY! Thanks to Emmanuel for that!

I may be dense but ... What do you mean by "NO WAY!" ? Do you think that this ticket should be treated separately from #24119 ?

Sorry, an Americanism - it means, "I don't believe this amazing thing that has happened!" Purely a phrase of thankfulness and surprise.

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

5 participants