Post Reply 
logging a function's argument
09-27-2022, 09:21 AM
Post: #6
RE: logging a function's argument
That's because the commands you are calling are doing some preprocessing, in order to avoid evaluating parameters again and again.
If you quote the function as argument of e.g. romberg or gaussquad, you will see the values.
Code:

argx(a):=begin l.append(a); return a; end;
l:=[];
romberg('sin(cos(argx(x)))',x,-1,1);
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
logging a function's argument - Wes Loewer - 09-25-2022, 07:40 PM
RE: logging a function's argument - parisse - 09-27-2022 09:21 AM



User(s) browsing this thread: 2 Guest(s)