I think that the word 'inplace' should be in the names of these functions, to make it more explicit for people reading the code that they modify their input argument.