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> Constant or Random Insertion</td>
<td> <td>
\code \code
sm1.setZero(); // Set the matrix with zero elements sm1.setZero();
sm1.setConstant(val); //Replace all the nonzero values with val
\endcode \endcode
</td> </td>
<td> The matrix sm1 should have been created before ???</td> <td>Remove all non-zero coefficients</td>
</tr> </tr>
</table> </table>