swap

void swap(DynamicMatrix &that) noexcept

Swaps the contents of this with the contents of that.

Parameters:

that – the matrix to swap contents with

Returns:

(None)

Complexity:

Constant

Exceptions:

this function is noexcept and is guaranteed never to throw.