Changeset 7091:3cb8620c631a
- Timestamp:
- 10/24/07 18:43:37 (6 years ago)
- Branch:
- default
- File:
-
- 1 edited
-
sage/calculus/calculus.py (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
sage/calculus/calculus.py
r7010 r7091 121 121 sage: float(f(pi)) # random low order bits 122 122 6.1232339957367663e-16 123 124 Another example: 125 sage: f = integrate(1/sqrt(9+x^2), x); f 126 asinh(x/3) 127 sage: f(3) 128 asinh(1) 129 sage: f.diff(x) 130 1/(3*sqrt(x^2/9 + 1)) 123 131 124 132 COERCION EXAMPLES: … … 5108 5116 j = msg.rfind("'") 5109 5117 nm = msg[i+1:j] 5110 syms[nm] = var(nm) 5118 5119 res = re.match(nm + '\s*\(.*\)', s) 5120 if res: 5121 syms[nm] = function(nm) 5122 else: 5123 syms[nm] = var(nm) 5111 5124 else: 5112 5125 break
Note: See TracChangeset
for help on using the changeset viewer.
