parameters: (cls, numpy_array, result_ptr)
return_statement: return obj
docstring: Dunder method invoked at the creation of an instance of this class. It
          creates a numpy array with an `RResultPtr` as an additional
          attribute.
docstring_summary: Dunder method invoked at the creation of an instance of this class. It
          creates a numpy array with an `RResultPtr` as an additional
          attribute.
docstring_tokens: Dunder method invoked at the creation of an instance of this class . It creates a numpy array with an RResultPtr as an additional attribute .
function: def __new__(cls, numpy_array, result_ptr):
          """
          Dunder method invoked at the creation of an instance of this class. It
          creates a numpy array with an `RResultPtr` as an additional
          attribute.
          """
          obj = numpy.asarray(numpy_array).view(cls)
          obj.result_ptr = result_ptr
          return obj
function_tokens: def __new__ ( cls , numpy_array , result_ptr ) : obj = numpy . asarray ( numpy_array ) . view ( cls ) obj . result_ptr = result_ptr return obj