enthought/distributed-array-protocol — pull request #96 by bgrant (2014-04-03 20:55:36+00:00)
Title: Add functions detailing how to compute num_owned_elements from a dim_dict

The old `num_owned_elements` was broken, and a simple fix would have meant it only worked for block-distributed arrays. Here I add functions for all dist_types, some pulled from distarray, and also add tests.