answered 2021-04-14 08:06:17 +0100
Is this :
sage: def f(*args): return(sin(args[0]),cos(args[0])) sage: h=function("h") sage: f(h(x)) (sin(h(x)), cos(h(x)))
what you want ?
A symbolic function returns SR value. A list, a tuple, a vector are not in SR.