Anyone have any idea how to integrate a matrix element-wise? I have a matrix of functions programmed in, but R doesn't seem to want to integrate it. I have tried to write a function which does it, but the problem is that the function does not take matrix form until a value is put in, so I cannot write a function which refers to a specific element of the matrix until I evaluate the matrix at a given point. Sorry if all this makes no sense...not the easiest to describe :/
Any suggestions would be great...Google has failed me!
When is yours coming?