]> https://gitweb.dealii.org/ - dealii.git/commitdiff
fix typos
authorMatthias Maier <tamiko@43-1.org>
Mon, 11 May 2015 21:33:18 +0000 (23:33 +0200)
committerMatthias Maier <tamiko@43-1.org>
Mon, 11 May 2015 21:33:18 +0000 (23:33 +0200)
doc/doxygen/headers/laoperators.h
include/deal.II/lac/linear_operator.h

index f52ed2c16844d7b647dcb3debfe9aabb3cfea829..67ba1ae86778ec5ab98adf9084ca132cf08258c3 100644 (file)
  * involving vectors and linear operators. This is done by storing the
  * computational expression and only performing the computation when either
  * the object is implicitly converted to a vector object, or
- * <code>apply</code> (or <code>apply_add</code>) is invoked by hand. This
- * avoids unnecessary temporary storage of intermediate results.
+ * PackagedOperation::apply() (or PackagedOperation::apply_add()) is
+ * invoked by hand. This avoids unnecessary temporary storage of
+ * intermediate results.
  *
  * As an example consider the addition of multiple vectors:
  * @code
  *
  *   dealii::Vector<double> residual =  b - op_a * x;
  * @endcode
+ * Here, the expression <code>b - op_a * x</code> results again in an
+ * object of type PackagedOperation that stores the <i>sequence of
+ * operations</i> that should be performed using the two vectors and the
+ * linear operator. Converting the expression to a vector (as happens here
+ * with the assignment to the vector <code>residual</code>) executes the
+ * computation (see the following note).
  *
  * @note
  * Lazy evaluation of a computational expression necessarily involves
index 324df3df3b1ba009c3d471aba2132c3dd8c3bdc8..a6580ef7357fa2edbbab0c41eb4c0277e5ce8a25 100644 (file)
@@ -1745,7 +1745,7 @@ PackagedOperation<Range> operator-(const Range &offset,
 namespace
 {
   // Poor man's trait class that determines whether type T is a vector:
-  // FIXME: Implement this as a proprer type trait - similar to
+  // FIXME: Implement this as a proper type trait - similar to
   // isBlockVector
 
   template <typename T>

In the beginning the Universe was created. This has made a lot of people very angry and has been widely regarded as a bad move.

Douglas Adams


Typeset in Trocchi and Trocchi Bold Sans Serif.