def set_initial_value(self, y, t=<NUM_LIT:0.0>):
if isscalar(y):<EOL><INDENT>y = [y]<EOL><DEDENT>n_prev = len(self._y)<EOL>if not n_prev:<EOL><INDENT>self.set_integrator('<STR_LIT>')  <EOL><DEDENT>self._y = asarray(y, self._integrator.scalar)<EOL>self.t = t<EOL>self._integrator.reset(len(self._y), self.jac is not None)<EOL>return self<EOL>
Set initial conditions y(t) = y.