from collections.abc import Callable

import numpy as np
def       __magic_name__(  __UpperCAmelCase ,						__UpperCAmelCase ,						__UpperCAmelCase ,						__UpperCAmelCase ,						__UpperCAmelCase		)						->    Any:



      '''simple docstring'''

      _lowerCamelCase			    =				int(np.ceil((x_end - xa) / step_size		)		)
      _lowerCamelCase			    =				np.zeros((n + 1,)		)
      _lowerCamelCase			    =				ya
      _lowerCamelCase			    =				xa

      for k in range(__a		):
            _lowerCamelCase			    =				y[k] + step_size * ode_func(__a ,						y[k]		)
            _lowerCamelCase			    =				y[k] + (
                (step_size / 2) * (ode_func(__a ,						y[k]		) + ode_func(x + step_size ,						__a		))
            )
            x += step_size

      return y


if __name__ == "__main__":
     import doctest

     doctest.testmod()
import warnings

from ...utils import logging
from .image_processing_dpt import DPTImageProcessor


snake_case__				= logging.get_logger(__name__)



class  UpperCamelCase				( __lowercase ):

     '''simple docstring'''

     def __init__(					self				,				*A_				,				**A_						) ->				None:






           """simple docstring"""
           warnings.warn(
               '''The class DPTFeatureExtractor is deprecated and will be removed in version 5 of Transformers. Please'''
               ''' use DPTImageProcessor instead.'''				,				A_				,				)
           super().__init__(*A_				,				**A_						)