[Rcpp-commits] r2637 - pkg/RcppGSL/inst/doc/RcppGSL

noreply at r-forge.r-project.org noreply at r-forge.r-project.org
Wed Dec 1 04:09:09 CET 2010


Author: edd
Date: 2010-12-01 04:09:05 +0100 (Wed, 01 Dec 2010)
New Revision: 2637

Modified:
   pkg/RcppGSL/inst/doc/RcppGSL/RcppGSL.Rnw
Log:
add one comment


Modified: pkg/RcppGSL/inst/doc/RcppGSL/RcppGSL.Rnw
===================================================================
--- pkg/RcppGSL/inst/doc/RcppGSL/RcppGSL.Rnw	2010-12-01 02:57:37 UTC (rev 2636)
+++ pkg/RcppGSL/inst/doc/RcppGSL/RcppGSL.Rnw	2010-12-01 03:09:05 UTC (rev 2637)
@@ -734,6 +734,7 @@
 
 foo <- cxxfunction(signature(sM="numeric"), body=bodytxt, inc=inctxt, plugin="RcppGSL")
 
+## see Section 8.4.13 of the GSL manual: create M as a sum of two outer products
 M <- outer(sin(0:9), rep(1,10), "*") + outer(rep(1, 10), cos(0:9), "*")
 print(foo(M))
 @



More information about the Rcpp-commits mailing list