It might be a very basic question! Let say that I have an array of variables as the following
x = {{x11, x12, x13, x14}, {x21, x22, x23, x24}, {x31, x32, x33, x34}, {x41, x42, x43, x44}, {x51, x52, x53, x54}}.
I want to define a 5 by 5 symmetric matrix G so that each of its elements is an arbitrary function of all of the variables above, e.g.
G[1,3]=G13[x11,x12,x13,x14,x21,x22,x23,x24,x31,x32,x33,x34,x41,x42,x43,x44,x51,x52,x53,x54], and so on. What is the simplest way to do this?
Thank you in advance!