From: Wolfgang Bangerth Date: Mon, 24 Apr 2006 23:11:23 +0000 (+0000) Subject: Improve documentation. X-Git-Tag: v8.0.0~11884 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3689b5eff181b56fa772e770dd47105cd9c4abdb;p=dealii.git Improve documentation. git-svn-id: https://svn.dealii.org/trunk@12880 0785d39b-7218-0410-832d-ea1e28bc413d --- diff --git a/deal.II/lac/include/lac/sparse_matrix.h b/deal.II/lac/include/lac/sparse_matrix.h index 1508743b22..6c271f29df 100644 --- a/deal.II/lac/include/lac/sparse_matrix.h +++ b/deal.II/lac/include/lac/sparse_matrix.h @@ -589,8 +589,23 @@ class SparseMatrix : public virtual Subscriptor virtual ~SparseMatrix (); /** - * Pseudo operator only copying - * empty objects. + * Copy operator. Since copying + * entire sparse matrices is a + * very expensive operation, we + * disallow doing so except for + * the special case of empty + * matrices of size zero. This + * doesn't seem particularly + * useful, but is exactly what + * one needs if one wanted to + * have a + * std::vector@ + * @>: in that case, one + * can create a vector (which + * needs the ability to copy + * objects) of empty matrices + * that are then later filled + * with something useful. */ SparseMatrix& operator = (const SparseMatrix &);