Set the values of a variable.
variable (str) – Variable key.
value (float or ndarray) – Value to assign to the variable. If a float is given, all values are filled with it.