I have a list of numerical functions (interpolation functions) that I'd like to get the values of each one at different points. For example: the functions are
{y1[t],y2[t]}
and the points are {t1, t2}
; I'd like to get the result {y1[t1], y2[t2]}
.
I used Diagonal
to get the answer:
Diagonal[{y1[t],y2[t]}/. t-> {t1,t2}]
I am wondering if there is a better way to avoid unnecessary replacements.