class_docstr: Mann-Whitney-Wilcoxon U test accumulator.
  
  Stores rank orders (1 to N), for comparison with a uniform order.
docstr: Accumulate rank *order* (0 to N).
  
  Parameters
  ----------
  N: int
      maximum rank allowed.
  order: int
      rank between 0 and N (inclusive).
docstr_tok: ["Accumulate","rank","*","order","*","(","0","to","N",")",".","Parameters","--","--","--","--","--","N",":","int","maximum","rank","allowed",".","order",":","int","rank","between","0","and","N","(","inclusive",")","."]
code: def add(self, order, N):
      """
      Accumulate rank *order* (0 to N).
  
      Parameters
      ----------
      N: int
          maximum rank allowed.
      order: int
          rank between 0 and N (inclusive).
      """
      if not 0 <= order <= N:
          raise ValueError("order %d out of %d invalid" % (order, N))
      self.U += (order + 0.5) / N
      self.N += 1
  
file_path: ultranest/ultranest/ordertest.py
imports: from __future__ import print_function, division
label_desc: Use image node_id 3 for calling the UniformOrderAccumulator obj's underlying member method code with example usage: obj.add(order, N) without return types