x
c
Again copying the Numpy zeros_like and ones_like interface
constants_like(x, c)
Object to imitiate
Value to fill imitation with
Object of same shape and type as x filled with value c