unittest/python/crocoddyl/state.py
def diff(self, x1, x2):
        """ Difference between x2 and x1.

        :param x1: current state
        :param x2: next state
        :return x2 - x1 value
        """
        return x2 - x1
 Difference between x2 and x1.

        :param x1: current state
        :param x2: next state
        :return x2 - x1 value
        
Difference between x2 and x1.
Difference between x2 and x1 .
def diff(self, x1, x2):
        return x2 - x1
def diff ( self , x1 , x2 ) : return x2 - x1
Difference between x2 and x1.
Difference between x2 and x1 .
""" Difference between x2 and x1.

        :param x1: current state
        :param x2: next state
        :return x2 - x1 value
        """
self
x1
x2