src/seals/diagnostics/parabola.py
def initial_state(self) -> np.ndarray:
        """Get state by sampling a random parabola."""
        a, b, c = -1 + 2 * self.rand_state.rand(3)
        x, y = 0, c
        return np.array([x, y, a, b, c], dtype=self.state_space.dtype)
Get state by sampling a random parabola.
Get state by sampling a random parabola.
Get state by sampling a random parabola .
def initial_state(self) -> np.ndarray:
        a, b, c = -1 + 2 * self.rand_state.rand(3)
        x, y = 0, c
        return np.array([x, y, a, b, c], dtype=self.state_space.dtype)
def initial_state ( self ) -> np . ndarray : a , b , c = - 1 + 2 * self . rand_state . rand ( 3 ) x , y = 0 , c return np . array ( [ x , y , a , b , c ] , dtype = self . state_space . dtype )
Get state by sampling a random parabola.
Get state by sampling a random parabola .
"""Get state by sampling a random parabola."""
self