DemandVectorSP.scaled_copy

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

Get a copy where every commodity is scaled by f.

Parameters
ffloat, default=1

Scale factor.

Returns
DemandVectorSP

Copy of DemandVectorSP with scaled commodites.