Commit b6a27adc authored by Ansgar Burchardt's avatar Ansgar Burchardt

document `DynamicMatrix::resize` method

parent faff0831
......@@ -71,6 +71,19 @@ namespace Dune
{}
//==== resize related methods
/**
* \brief resize matrix to <code>r × c</code>
*
* Resize the matrix to <code>r × c</code>, using <code>v</code>
* as the value of all entries.
*
* \warning All previous entries are lost, even when the matrix
* was not actually resized.
*
* \param r number of rows
* \param c number of columns
* \param v value of matrix entries
*/
void resize (size_type r, size_type c, value_type v = value_type() )
{
_data.resize(0);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment