[R] How can I see how %*% is implemented?
Martin Morgan
mtmorgan at fhcrc.org
Wed Feb 22 22:03:19 CET 2006
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
More information about the R-help
mailing list