operator*=

void operator*=(scalar_type const a)

Multiplies every entry of the row by a scalar in-place.

Parameters:

a – the scalar to add to every entry of this.

Returns:

(None)

Throws:

If the implementation of the semiring multiplication throws.

Complexity:

\(O(m)\) where \(m\) is size()