Dear R-user,
May I seek your help, please. I have two matrices, u and v, elements of
which are some functions
of x. I just want to multiply them and express the determinant of the
resulting matrix as a function of
x and of course, this is for some reason. Actually the original problem has
more matrices to multiply and I'm just wondering whether I can simplify it
anyway through the R codes. It may even be non-sense, but just want to hear
from you. The below is the code.

---------------------------------------------------------------------------------------------

f1<-function(x) {x}
f2<-function(x) {x^2}
f3<-function(x) {x^3}
f4<-function(x) {x^4}

f5<-function(x) {x^2+7}
f6<-function(x) {x^3+14*x}
f7<-function(x) {x^2+2*x}
f8<-function(x) {x^4+10*x}

u<-matrix(c(f1,f2,f3,f4), nrow=2, ncol=2, byrow=TRUE)
v<-matrix(c(f5,f6,f7,f8), nrow=2, ncol=2, byrow=TRUE)

det(u %*% v) # Is that possible?

------------------------------------------------------------------------------------------------

Any suggestion will be more than great!

Regards,
Jamil.

	[[alternative HTML version deleted]]

