aboutsummaryrefslogtreecommitdiffhomepage
path: root/doc/C07_TutorialReductionsVisitorsBroadcasting.dox
diff options
context:
space:
mode:
authorGravatar Jitse Niesen <jitse@maths.leeds.ac.uk>2010-07-14 10:16:12 +0100
committerGravatar Jitse Niesen <jitse@maths.leeds.ac.uk>2010-07-14 10:16:12 +0100
commitb0bd1cfa059983925456630c02fbaf0a76db8aae (patch)
treec0cd933006183500c3e9b161d491186e1535a2ec /doc/C07_TutorialReductionsVisitorsBroadcasting.dox
parentc36316f2845287b913b303641479aef45b14c3fe (diff)
Tutorial page 4: add some text, diversify examples.
Use \verbinclude for output text to disable syntax highlighting. Give tables consistent look.
Diffstat (limited to 'doc/C07_TutorialReductionsVisitorsBroadcasting.dox')
-rw-r--r--doc/C07_TutorialReductionsVisitorsBroadcasting.dox2
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/C07_TutorialReductionsVisitorsBroadcasting.dox b/doc/C07_TutorialReductionsVisitorsBroadcasting.dox
index 1930d7a94..93d18f47b 100644
--- a/doc/C07_TutorialReductionsVisitorsBroadcasting.dox
+++ b/doc/C07_TutorialReductionsVisitorsBroadcasting.dox
@@ -30,7 +30,7 @@ which returns the addition of all the coefficients inside a given matrix or arra
Example: \include tut_arithmetic_redux_basic.cpp
</td>
<td>
-Output: \include tut_arithmetic_redux_basic.out
+Output: \verbinclude tut_arithmetic_redux_basic.out
</td></tr></table>
The \em trace of a matrix, as returned by the function \c trace(), is the sum of the diagonal coefficients and can also be computed as efficiently using <tt>a.diagonal().sum()</tt>, as we will see later on.