I am trying to figure out what a function or operator should be that when multiplied by a scalar returns a scalar of the same value - when the scalar is above a certain value - and when the value is lower it returns a vector, with component values of a nominated value.

It's a tricky one..