[chapel-lang/chapel] Change local diag to support domains with non-unif

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

Merge pull request #16160 from rahulghangas/LocalDiagFix

Change local diag to support domains with non-uniform dimensions

Add diag support for matrices with different range offsets/strides.

  • [x] Add further tests for non-square matrices

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

Modified Files:
M modules/packages/LinearAlgebra.chpl
M test/library/packages/LinearAlgebra/correctness/no-dependencies/correctness.chpl

Compare: https://github.com/chapel-lang/chapel/compare/a457fbc3912d...762cf2d0aec1