Consider a list of functions
M[x_]:={Cos[x], Sin[x], x}
Say I want to evaluate the first element
M[1][[1]]
What Mathematica does is evaluate the entire list at x=1
then extracts the first element Cos[1]
. For large list and complicated functions, this is costly as I don't need the rest of the list's elements(for now). Is there a way where I can make Mathematica extract the first element first, then evaluate it at x=1
instead of the other way around?