[R] general matrix inner product?

Michael Na Li lina at u.washington.edu
Fri Mar 7 23:04:09 CET 2003

Is there a "inner" function that takes a function argument.  Similar to outer
() vs. %o% such that

inner (x, y, FUN = function (z1, z2) sum (z1 * z2))

returns the same result as x %*% y?


More information about the R-help mailing list