DemandVector.scaled_copy

DemandVector.scaled_copy(f: float = 1)[source]

Get a copy where rate of every commodity is scaled by f.

Parameters
ffloat, default=1

Scale factor.

Returns
DemandVector

Copy of demand vector with scaled commodites.