[Chapel Merge] Adding procedure orderToIndex for rectangular doma

Branch: refs/heads/master
Revision: ca77fe3
Author: ben-albrecht
Log Message:

Merge pull request #16959 from CaptainSharf/orderToIndex_1

Adding procedure orderToIndex for rectangular domains

As part of this PR

  • Adding routine orderToIndex for rectangular domains
  • Adding tests to verify functionality of this routine
  • Addressing review comments for this procedure given under PR #16535

[Contributed by @CaptainSharf]
[Reviewed by @ben-albrecht]

Modified Files:
A test/domains/userAPI/test2DdomainOrderToIndex.chpl
A test/domains/userAPI/test2DdomainOrderToIndex.good
M modules/internal/ChapelArray.chpl

Compare: Comparing ae5b1e2bcf3b...ca77fe330530 · chapel-lang/chapel · GitHub