[Rcpp-commits] r3291 - pkg/RcppEigen/vignettes

noreply at r-forge.r-project.org noreply at r-forge.r-project.org
Sun Nov 6 17:42:49 CET 2011


Author: edd
Date: 2011-11-06 17:42:48 +0100 (Sun, 06 Nov 2011)
New Revision: 3291

Modified:
   pkg/RcppEigen/vignettes/RcppEigen-intro-jss.tex
Log:
this adds two pagebreaks earlier 
figures 11 to 14 still float 'too far'


Modified: pkg/RcppEigen/vignettes/RcppEigen-intro-jss.tex
===================================================================
--- pkg/RcppEigen/vignettes/RcppEigen-intro-jss.tex	2011-11-06 16:03:51 UTC (rev 3290)
+++ pkg/RcppEigen/vignettes/RcppEigen-intro-jss.tex	2011-11-06 16:42:48 UTC (rev 3291)
@@ -4,7 +4,8 @@
 %\VignetteKeywords{linear algebra, template programming, C++, R, Rcpp}
 %\VignettePackage{RcppEigen}
 
-\usepackage{booktabs,flafter,bm,amsmath}
+%\usepackage{booktabs,flafter,bm,amsmath}
+\usepackage{booktabs,bm,amsmath}
 
 \newcommand{\R}{\proglang{R}\ } % NB forces a space so not good before % fullstop etc.
 \newcommand{\Cpp}{\proglang{C++}\ }
@@ -252,6 +253,7 @@
 specify whether the lower triangle or the upper triangle is to be used as
 the contents, with the other triangle defined by the implicit symmetry.
 
+\pagebreak
 \section{Some simple examples}
 \label{sec:simple}
 
@@ -613,7 +615,7 @@
 not to vectors or matrices, an array from \code{Dvec} has to be created
 before applying the \code{log()} method.
 
-
+\pagebreak
 \section{Least squares solutions}
 \label{sec:leastSquares}
 
@@ -684,7 +686,8 @@
 (\code{lm.fit} is the workhorse function called by \code{lm} once the
 model matrix and response have been evaluated).
 \begin{verbatim}
-> lltLS <- cxxfunction(signature(XX = "matrix", yy = "numeric"), lltLSCpp, "RcppEigen")
+> lltLS <- cxxfunction(signature(XX = "matrix", yy = "numeric"), 
++                      lltLSCpp, "RcppEigen")
 > data(trees, package="datasets")
 > str(lltFit <- with(trees, lltLS(cbind(1, log(Girth)), log(Volume))))
 List of 7
@@ -1221,7 +1224,6 @@
 > 
 \end{verbatim}
 
-
 \subsection{Comparative speed}
 
 In the \pkg{RcppEigen} package the \proglang{R} function to fit linear



More information about the Rcpp-commits mailing list