<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def _call(self, x, out=None):
 """Scale ``x`` and write to ``out`` if given."""

        if out is None:
            out = self.scalar * x
        else:
            out.lincomb(self.scalar, x)
        return out