Opened 11 years ago
Closed 11 years ago
#7312 closed defect (wontfix)
Add a function .st (meaning "such that" )which is an alias to .add_constraint
Reported by: | ncohen | Owned by: | jkantor |
---|---|---|---|
Priority: | major | Milestone: | sage-duplicate/invalid/wontfix |
Component: | numerical | Keywords: | |
Cc: | Merged in: | ||
Authors: | Reviewers: | ||
Report Upstream: | N/A | Work issues: | |
Branch: | Commit: | ||
Dependencies: | Stopgaps: |
Description
Add a function .st (meaning "such that" )which is an alias to .add_constraint. This would shorten the code, as the add_constraint option is the most used, and copy the syntax used in Pymprog
Change History (5)
comment:1 Changed 11 years ago by
comment:2 Changed 11 years ago by
- Status changed from new to needs_info
What would you think of a .such_that method then ?
comment:3 Changed 11 years ago by
I don't see how that that is much better than add_constraint.
comment:4 Changed 11 years ago by
True enough....
Then this ticket should be closed as "stupid idea" :-)
Nathann
comment:5 Changed 11 years ago by
- Milestone changed from sage-4.3.1 to sage-duplicate/invalid/wontfix
- Report Upstream set to N/A
- Resolution set to wontfix
- Status changed from needs_info to closed
No need to keep the ticket open then...
Note: See
TracTickets for help on using
tickets.
I'm not convinced that this is a good idea. I think that the benefit of shorter code is outweighed by making the code more cryptic.