<h3>lac</h3>
<ol>
+ <li> <p>
+ Fixed: The <code>PETScWrappers::MatrixBase</code> class
+ documented that adding or setting a value that hasn't been in
+ the sparsity pattern before will lead to an exception being
+ thrown. This is of course wrong: PETSc allocates matrix entries
+ dynamically, as needed. The documentation is now fixed.
+ <br>
+ (WB, 2005/03/03)
+ </p>
+
<li> <p>
New: The <code>SparseMatrix</code> iterators had no <code>operator
></code>, only an <code>operator <</code>. The missing operator
/**
* Set the element (<i>i,j</i>)
- * to @p value. Throws an
- * error if the entry does not
- * exist. Still, it is allowed to
- * store zero values in
- * non-existent fields.
+ * to @p value.
+ *
+ * If the present object (from
+ * a derived class of this one)
+ * happens to be a sparse
+ * matrix, then this function
+ * adds a new entry to the
+ * matrix if it didn't exist
+ * before, very much in
+ * contrast to the SparseMatrix
+ * class which throws an error
+ * if the entry does not exist.
*/
void set (const unsigned int i,
const unsigned int j,
/**
* Add @p value to the
- * element (<i>i,j</i>). Throws
- * an error if the entry does not
- * exist. Still, it is allowed to
- * store zero values in
- * non-existent fields.
+ * element (<i>i,j</i>).
+ *
+ * If the present object (from
+ * a derived class of this one)
+ * happens to be a sparse
+ * matrix, then this function
+ * adds a new entry to the
+ * matrix if it didn't exist
+ * before, very much in
+ * contrast to the SparseMatrix
+ * class which throws an error
+ * if the entry does not exist.
*/
void add (const unsigned int i,
const unsigned int j,