Message-ID: <6phu0arp0mg.fsf@gopher3.fhcrc.org>
Date: 2006-02-22T21:03:19Z
From: Martin Morgan
Subject: How can I see how %*% is implemented?
In-Reply-To: <C83C5E3DEEE97E498B74729A33F6EAEC038781F3@DJFPOST01.djf.agrsci.dk> (Søren Højsgaard's message of "Wed, 22 Feb 2006 21:32:55 +0100")
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