I need to use:
Composition[G][x]
in the elements of the following list:
j = {{a, b, c}, {c, b, a}};
That is, I could do:
Table[Composition[j[[n]]][x], {n, 1, 2}]
which produces:
{{a, b, c}[x], {c, b, a}[x]}
but Composition
doesn't seem to work with lists. I can't evaluate Composition[{a,b,c}][x]
; it accepts only Composition[a,b,c][x]
.
Is there a simple way to convert Composition[{a,b,c}]
to Composition[a,b,c]
?