Opened 10 years ago
Last modified 5 years ago
#7636 new enhancement
add decorator to make functions symbolic
Reported by: | burcin | Owned by: | burcin |
---|---|---|---|
Priority: | major | Milestone: | sage-6.4 |
Component: | symbolics | Keywords: | |
Cc: | kcrisman | Merged in: | |
Authors: | Reviewers: | ||
Report Upstream: | N/A | Work issues: | |
Branch: | Commit: | ||
Dependencies: | Stopgaps: |
Description
We should make a decorator that converts a Python function to a symbolic function, similar to those created by sage.symbolic.function_factory.function
.
Example:
@sage.symbolic.function.symbolic def my_func(x, n): if x < 0: return 0 else: return exp(-1/x^n)
sage-devel thread:
http://groups.google.com/group/sage-devel/browse_thread/thread/902cf2ae1a06cf6e
Change History (6)
comment:1 Changed 9 years ago by
- Cc kcrisman mhampton added
comment:2 Changed 9 years ago by
- Cc mhampton removed
comment:3 Changed 6 years ago by
- Milestone changed from sage-5.11 to sage-5.12
comment:4 Changed 6 years ago by
- Milestone changed from sage-6.1 to sage-6.2
comment:5 Changed 6 years ago by
- Milestone changed from sage-6.2 to sage-6.3
comment:6 Changed 5 years ago by
- Milestone changed from sage-6.3 to sage-6.4
Note: See
TracTickets for help on using
tickets.