Skip to content

Unimplemented DistArray methods and functions

Robert David Grant edited this page Jul 18, 2014 · 2 revisions

A lot of functions on LocalArrays that simply raised NotImplementedError were removed, and make more sense as functions on DistArrays.

See the removed code here: https://github.com/cowlicks/distarray/commit/402a86f22211d634a09c9cc9bc477ae4a855debf#diff-140d7adf5fda24d077d026ea51152f57R1151

Array shape and manipulation

  • reshape
  • redist
  • resize
  • transpose
  • swapaxes
  • flatten
  • ravel
  • squeeze
  • asdist
  • asdistlike

Array item selection and manipulation

  • take
  • put
  • putmask
  • repeat
  • choose
  • sort
  • argsort
  • searchsorted
  • nonzero
  • compress
  • diagonal
  • max
  • argmax
  • min
  • argmin
  • ptp
  • clip
  • conj = conjugate
  • round
  • trace
  • cumsum
  • prod *cumprod
  • all
  • any

Array special methods

  • ???

Methods for standard library functions

  • __copy__
  • __deepcopy__
  • __nonzero__

Arithmetic customization - binary

  • __divmod__
  • __rdivmod__

Inplace operations

  • +=
  • -=
  • *=
  • /=
  • __itruediv__
  • //=
  • %=
  • **=
  • <<=
  • =

  • &=
  • ^=
  • |=

Creating arrays

  • aslocalarray
  • arange
  • identity
  • where

operations on two or more arrays

  • concatenate
  • correlate
  • convolve
  • outer
  • inner
  • dot
  • vdot
  • tensordot
  • cross
  • allclose

shape functions

  • ???

Basic functionss

  • cov
  • corrcoef
  • median
  • digitize
  • histogram
  • histogram2d
  • logspace
  • linspace

polynomial functions

set operations

array construction using index tricks

other indexing devices

2D functions

  • eye
  • diag

functions that behave like ufuncs

misc functions

utility functions