I want to make sure I explained my requirement properly. I want to fix only the diagonal elements of the 3 x 3 matrix. The other 6 elements need to be derived by the solver. If I declare in the transformed data block, will the solver fill in the values? Same question if I declare in the model block.
I tried declaring and initializing in the model block.
real<lower=0,upper=6> m[S, S];
for (s in 1:S)
m[S, S] = 0.0;
variable “real” does not exist.
declare in parameter block and initialize in model block fails as well.