(input_matrix: np.ndarray)
return delta_variables
Computes the delta values of the problem variables.

    For each point of the trajectory, computes how much each variable increased
    or decreased in respect to the previous point.

    Parameters
    ----------
    input_matrix: np.ndarray
        Matrix with the values of the problem's variables for all input points.

    Returns
    -------
    delta_variables: np.ndarray
        Variation of each variable, for each point in the trajectory.
Computes the delta values of the problem variables.
Computes the delta values of the problem variables .
def _calculate_delta_input_variables(input_matrix: np.ndarray) -> np.ndarray:
    """Computes the delta values of the problem variables.

    For each point of the trajectory, computes how much each variable increased
    or decreased in respect to the previous point.

    Parameters
    ----------
    input_matrix: np.ndarray
        Matrix with the values of the problem's variables for all input points.

    Returns
    -------
    delta_variables: np.ndarray
        Variation of each variable, for each point in the trajectory.
    """
    delta_variables = np.subtract(input_matrix[:, 1:, :],
                                  input_matrix[:, 0:-1, :])

    return delta_variables
def _calculate_delta_input_variables ( input_matrix : np . ndarray ) -> np . ndarray : delta_variables = np . subtract ( input_matrix [ : , 1 : , : ] , input_matrix [ : , 0 : - 1 , : ] ) return delta_variables