 |
|
List Archives > 
Maple User Group List Archive > 
Archive by date > 
This Month By Date > 
This Month By Topic
[MUG] yp := (t) -> %;
| [MUG] yp := (t) -> %; |
|
Author: Colin Campbell - IST
Posted: Mon, 05 Aug 2002 15:12:01 -0400
|
>> From: Colin Campbell - IST "campbell"
Could people vote on the following proposal for Maple 9? 10?
BACKGROUND:
^^^^^^^^^^^
You define a function:
f := (t) -> sin(t^2); # ( ) on t not needed
You differentiate it and get a result:
diff( f(t), t );
You want to use the result to define a function. You'd like to type:
fp := (t) -> %; # Method 1 Mmm ... pretty!
but you have to type:
fp := unapply(%, t); # Method 2 Mmm ... not pretty!
QUESTION:
^^^^^^^^^
Would you support the idea of Maple 9? 10? permitting "Method 1"?
NOTE: This would likely mean %, %%, ... could no longer be used in
procedures. Some like Greg Fee would say that would be a good
thing as using them tends to reduce readability!
Please vote "yes" or "no" or suggest a better scheme for avoinding unapply.
Colin
-----------------------------------------------------------------------------
Colin Campbell U n i v e r s i t y o f W a t e r l o o
Academic Computing Waterloo, Ontario, Canada N2L 3G1
Math & Computer 2048 www.ist.uwaterloo.ca/~campbell
Electronic Workplace Group Voice: (519) 888-4567 x5327
Information Systems & Technology FAX: (519) 884-4398
"Across the country, computers are usually not used effectively in under-
graduate ... courses. Often, they are not used at all. Problem-solving
approaches and calculation methods are little influenced by ... computers."
---> http://www.asee.org/jee/papers/00220.PDF
-----------------------------------------------------------------------------
|
[View Complete Thread]
Previous by date: [MUG] Re: A bug?, Maple User Group
Next by date: [MUG] AW: A solution, Thomas Richard
Previous thread: [MUG] gradient of a vector field, Rob Scott
Next thread: [MUG] A solution, C W
|
|
|