Re: [R] How can I see how %*% is implemented?

From: Martin Morgan <mtmorgan_at_fhcrc.org>
Date: Thu 23 Feb 2006 - 08:03:19 EST

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@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@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



R-help@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 Received on Thu Feb 23 08:06:42 2006

This archive was generated by hypermail 2.1.8 : Thu 23 Feb 2006 - 16:21:16 EST