How can I see how %*% is implemented?
get("%*%")
tells you that it is a primitive (i.e., implemented in C). The file
<R_HOME>/src/main/names.c directs you to do_matprod, in file
<R_HOME/src/main/array.c.
Martin
S??ren H??jsgaard <Soren.Hojsgaard at agrsci.dk> writes:
I would like to see how the matrix multiplication operator %*% is implemented (because I want to see which external Fortran/C routines are used). How can I do so? Best S??ren
______________________________________________ R-help at stat.math.ethz.ch mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html