complementary function to unapply()
|
03-31-2015, 06:09 AM
Post: #1
|
|||
|
|||
complementary function to unapply()
I need to 'extract' a function's underlying expression. If you want the complementary function to unapply(). When an Expression is given I can convert it into a function with unapply(expr, var1, var2 ,...). I would I do that vice versa?
I did try to extract the Expression from the function Definition, but in order to use mid() or other string related functions I need a string first. If I have fun(x,y):=x*y it is represented as (x,y)->x*y. STRING(fun(x,y)) works and evaluates into "x*y" but entering the variables is cumbersome and error-prone so I would very much prefer STRING(fun). How do you do it? Or is there a built in function related to unapply wich does the Job? |
|||
« Next Oldest | Next Newest »
|
Messages In This Thread |
complementary function to unapply() - leprechaun - 03-31-2015 06:09 AM
RE: complementary function to unapply() - parisse - 03-31-2015, 06:26 AM
RE: complementary function to unapply() - leprechaun - 03-31-2015, 06:45 AM
RE: complementary function to unapply() - Han - 03-31-2015, 12:35 PM
RE: complementary function to unapply() - leprechaun - 03-31-2015, 12:51 PM
RE: complementary function to unapply() - Han - 03-31-2015, 01:11 PM
RE: complementary function to unapply() - DrD - 03-31-2015, 02:03 PM
RE: complementary function to unapply() - parisse - 03-31-2015, 06:33 PM
RE: complementary function to unapply() - Han - 03-31-2015, 06:37 PM
RE: complementary function to unapply() - leprechaun - 04-01-2015, 05:42 AM
RE: complementary function to unapply() - Han - 04-01-2015, 05:47 AM
|
User(s) browsing this thread: 1 Guest(s)