Creates scaling transformations from corresponding to the provided 3-vectors.
Parameters
dims (Sequence[str]) – the dimensions of the variable
values (Union[ndarray, list]) – a list or numpy array of 3-vectors, each corresponding to scaling
coefficients in the x, y and z directions respectively.