`SGVector<T>::set_const(T)`.