Fix doc: setConstant does not exist for SparseMatrix.

(grafted from cd679f2c47
)
This commit is contained in:
Gael Guennebaud 2015-01-14 22:06:09 +01:00
parent 699c80e404
commit f074d43f4b

View File

@ -71,11 +71,10 @@ i.e either row major or column major. The default is column major. Most arithmet
<td> Constant or Random Insertion</td>
<td>
\code
sm1.setZero(); // Set the matrix with zero elements
sm1.setConstant(val); //Replace all the nonzero values with val
sm1.setZero();
\endcode
</td>
<td> The matrix sm1 should have been created before ???</td>
<td>Remove all non-zero coefficients</td>
</tr>
</table>