I want to create a matrix of functions. As explained in this question, I can create a matrix of variables:
labels = {"A", "B", "C"};
M = Table[Symbol["f" <> i <> j], {i, labels}, {j, labels}];
M // MatrixForm
But I want to create a matrix with functions fAA[t]
etc. The motivation is that I am generating a matrix of differential equations that I will solve with DSolve
. I tried the following simple modification but it does not work
M = Table[Symbol["f" <> i <> j <> "[t]"], {i, labels}, {j, labels}];
Table[Symbol["f" <> i <> j][t], {i, labels}, {j, labels}]
? $\endgroup$