[Rcpp-commits] r1993 - in pkg/Rcpp: . inst

noreply at r-forge.r-project.org noreply at r-forge.r-project.org
Thu Aug 12 16:57:57 CEST 2010


Author: edd
Date: 2010-08-12 16:57:56 +0200 (Thu, 12 Aug 2010)
New Revision: 1993

Modified:
   pkg/Rcpp/NEWS
   pkg/Rcpp/TODO
   pkg/Rcpp/inst/ChangeLog
Log:
formatting consistency, no content changes


Modified: pkg/Rcpp/NEWS
===================================================================
--- pkg/Rcpp/NEWS	2010-08-12 14:41:43 UTC (rev 1992)
+++ pkg/Rcpp/NEWS	2010-08-12 14:57:56 UTC (rev 1993)
@@ -1,12 +1,12 @@
 0.8.6   (future)
 
-	o	new sugar functions for statistical distributions (d-p-q functions) with
-		distributions : unif, norm, gamma, chisq, lnorm, weibull, logis, f, 
-		pois, binom, t, beta. 
+    o   new sugar functions for statistical distributions (d-p-q-r functions)
+	with distributions : unif, norm, gamma, chisq, lnorm, weibull, logis,
+	f, pois, binom, t, beta.
 
-	o	new vignette Rcpp-quickref : quick reference guide of Rcpp API
+    o	new vignette Rcpp-quickref : quick reference guide of Rcpp API
 
-	o	various patches to comply with solaris/suncc stricter standards
+    o	various patches to comply with solaris/suncc stricter standards
 
 0.8.5   2010-07-25
 

Modified: pkg/Rcpp/TODO
===================================================================
--- pkg/Rcpp/TODO	2010-08-12 14:41:43 UTC (rev 1992)
+++ pkg/Rcpp/TODO	2010-08-12 14:57:56 UTC (rev 1993)
@@ -46,18 +46,18 @@
         
 Syntactic sugar
 
-	o	not sure rep should be lazy, i.e. rep( x, 4 ) fetches x[i] 4 times, 
-		maybe we should use LazyVector like in outer to somehow cache the 
-		result when it is judged expensive to calculate
+    o	not sure rep should be lazy, i.e. rep( x, 4 ) fetches x[i] 4 times, 
+	maybe we should use LazyVector like in outer to somehow cache the 
+	result when it is judged expensive to calculate
 		
-	o 	crossprod
+    o 	crossprod
 	
-	o	SUGAR_MATH: is there overhead in having the function pointer, should
-		the macro generate code that statically calls the function ? It would 
-		probably be harder to write/debug
+    o	SUGAR_MATH: is there overhead in having the function pointer, should
+	the macro generate code that statically calls the function ? It would 
+	probably be harder to write/debug
 		
-	o	Simplify the CPLXSXP functions Re,Im,Mod,Conj so that they are generated
-		by a macro similar to SUGAR_MATH_1
+    o	Simplify the CPLXSXP functions Re,Im,Mod,Conj so that they are generated
+	by a macro similar to SUGAR_MATH_1
 
     o	Vector * Matrix, Matrix * Matrix
 
@@ -104,9 +104,9 @@
     	
 Testing
 
-	o	all r* functions : rnorm, etc ...
+    o	all r* functions : rnorm, etc ...
 	
-	o	many dpq functions have not been tested yet
+    o	many dpq functions have not been tested yet
 	
-	o	new autogenerated sugar functions: cos, acosh, atan, cos, cosh, log, 
-		log10, sqrt, sin, sinh, tan, tanh
+    o	new autogenerated sugar functions: cos, acosh, atan, cos, cosh, log, 
+	log10, sqrt, sin, sinh, tan, tanh

Modified: pkg/Rcpp/inst/ChangeLog
===================================================================
--- pkg/Rcpp/inst/ChangeLog	2010-08-12 14:41:43 UTC (rev 1992)
+++ pkg/Rcpp/inst/ChangeLog	2010-08-12 14:57:56 UTC (rev 1993)
@@ -1,25 +1,30 @@
 2010-08-12  Romain Francois <romain at r-enthusiasts.com>
 
-	* inst/include/Rcpp/sugar/math.h: replace previous versions of floor, abs,
-	exp, ceil, ceiling with versions generated by the SUGAR_MATH_1 macro
+	* inst/include/Rcpp/sugar/math.h: replace previous versions of floor,
+	abs, exp, ceil, ceiling with versions generated by the SUGAR_MATH_1
+	macro
 
 2010-08-11  Romain Francois <romain at r-enthusiasts.com>
 
 	* inst/include/Rcpp/vector/vector.h: Vector gains constructor
 	taking size and function pointers, acting as generators :
 
-		Vector( const int& siz, stored_type (*gen)(void), bool seed = true )
+	   Vector( const int& siz, stored_type (*gen)(void), bool seed = true )
 
-		template <typename U1>
-    	Vector( const int& siz, stored_type (*gen)(U1), const U1& u1, bool seed = true)
+	   template <typename U1>
+    	   Vector( const int& siz, stored_type (*gen)(U1), const U1& u1,
+	           bool seed = true)
 
-    	template <typename U1, typename U2>
-    	Vector( const int& siz, stored_type (*gen)(U1,U2), const U1& u1, const U2& u2, bool seed = true){
+    	   template <typename U1, typename U2>
+    	   Vector( const int& siz, stored_type (*gen)(U1,U2), const U1& u1, 
+	           const U2& u2, bool seed = true)
 
     	so that for example :
 
-    	NumericVector( 10, norm_rand ) generates a N(0,1) vector of size 10
+    	   NumericVector( 10, norm_rand ) 
 
+	generates a N(0,1) vector of size 10
+
 	* inst/include/Rcpp/stats/random/rlnorm.h: Added rlnorm and rlnorm_
 	* inst/include/Rcpp/stats/random/rgamma.h: Added rgamma and rgamma_
 	* inst/include/Rcpp/stats/random/rt.h: Added rt and rt_



More information about the Rcpp-commits mailing list