[Rcpp-commits] r1628 - pkg/Rcpp/inst/doc/Rcpp-sugar

noreply at r-forge.r-project.org noreply at r-forge.r-project.org
Sat Jun 19 14:19:12 CEST 2010


Author: romain
Date: 2010-06-19 14:19:12 +0200 (Sat, 19 Jun 2010)
New Revision: 1628

Modified:
   pkg/Rcpp/inst/doc/Rcpp-sugar/Rcpp-sugar.Rnw
Log:
adding skeleton for logical operators

Modified: pkg/Rcpp/inst/doc/Rcpp-sugar/Rcpp-sugar.Rnw
===================================================================
--- pkg/Rcpp/inst/doc/Rcpp-sugar/Rcpp-sugar.Rnw	2010-06-19 12:16:23 UTC (rev 1627)
+++ pkg/Rcpp/inst/doc/Rcpp-sugar/Rcpp-sugar.Rnw	2010-06-19 12:19:12 UTC (rev 1628)
@@ -118,7 +118,7 @@
 
 \sugar{} takes advantage of \proglang{C++} operator overloading. 
 
-\subsection{binary operators}
+\subsection{binary arithmetic operators}
 
 \subsubsection{operator+}
 
@@ -204,7 +204,15 @@
 NumericVector res = x / ( y * y ) ;
 @
 
+\subsection{binary logical operators}
 
+\subsubsection{operator<}
+\subsubsection{operator>}
+\subsubsection{operator<=}
+\subsubsection{operator>=}
+\subsubsection{operator==}
+\subsubsection{operator!=}
+
 \subsection{Unary operators}
 
 \subsubsection{operator-}



More information about the Rcpp-commits mailing list