[Rcpp-commits] r3603 - pkg/RcppEigen/vignettes
noreply at r-forge.r-project.org
noreply at r-forge.r-project.org
Thu May 10 18:40:29 CEST 2012
Author: edd
Date: 2012-05-10 18:40:29 +0200 (Thu, 10 May 2012)
New Revision: 3603
Modified:
pkg/RcppEigen/vignettes/RcppEigen-intro-nojss.Rnw
Log:
added \hrule to code floats I had missed in the last round
Modified: pkg/RcppEigen/vignettes/RcppEigen-intro-nojss.Rnw
===================================================================
--- pkg/RcppEigen/vignettes/RcppEigen-intro-nojss.Rnw 2012-05-10 13:32:00 UTC (rev 3602)
+++ pkg/RcppEigen/vignettes/RcppEigen-intro-nojss.Rnw 2012-05-10 16:40:29 UTC (rev 3603)
@@ -1419,6 +1419,7 @@
\begin{figure}[htb]
%\begin{quote}
+ \hrule \smallskip
\noindent
\ttfamily
\hlstd{}\hlkwb{const\ }\hlstd{MapMati}\hlstd{\ \ }\hlstd{}\hlkwd{A}\hlstd{}\hlopt{(}\hlstd{as}\hlopt{$<$}\hlstd{MapMati}\hlopt{$>$(}\hlstd{AA}\hlopt{));}\hspace*{\fill}\\
@@ -1427,6 +1428,7 @@
\normalfont
\normalsize
%\end{quote}
+ \hrule
\caption{\code{badtransCpp}: Transpose producing incorrect results.}
\label{badtrans}
\end{figure}
@@ -1454,6 +1456,7 @@
\begin{figure}[htb]
%\begin{quote}
+ \hrule \smallskip
\noindent
\ttfamily
\hlstd{}\hlkwa{using\ }\hlstd{Eigen}\hlopt{::}\hlstd{MappedSparseMatrix}\hlopt{;}\hspace*{\fill}\\
@@ -1467,6 +1470,7 @@
\mbox{}
\normalfont
\normalsize
+ \hrule
\caption{\code{sparseProdCpp}: Transpose and product with sparse matrices.}
\label{sparseProd}
%\end{quote}
@@ -1494,6 +1498,7 @@
\begin{figure}[htb]
%\begin{quote}
+ \hrule \smallskip
\noindent
\ttfamily
\hlstd{}\hlkwc{typedef\ }\hlstd{Eigen}\hlopt{::}\hlstd{MappedSparseMatrix}\hlopt{$<$}\hlstd{}\hlkwb{double}\hlstd{}\hlopt{$>$}\hlstd{\ \ }\hlopt{}\hlstd{MSpMat}\hlopt{;}\hspace*{\fill}\\
@@ -1515,6 +1520,7 @@
\normalfont
\normalsize
%\end{quote}
+ \hrule
\caption{\code{sparseLSCpp}: Solving a sparse least squares problem.}
\label{fig:spLS}
\end{figure}
More information about the Rcpp-commits
mailing list