[Chapel Merge] Update Linear Algebra primer for #17080

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

Merge pull request #17091 from ben-albrecht/update-linearalgebra-primer

Update Linear Algebra primer for #17080

I missed the linear algebra primer in testing for #17080.

This changes the primer to opt into 1-based indices for the sparse section, because sparse matrix-matrix multiplication still assumes 1-based indices (see #17080 for details). This change can be reverted once sparse domains, arrays, and matrix-matrix multiplication are updated to support 0-based indices.

Tested locally:

  • [x] start_test examples/primers/LinearAlgebralib.chpl

[Trivial, but still reviewed by @ronawho]

Modified Files:
M test/release/examples/primers/LinearAlgebralib.chpl

Compare: Comparing bafc7a82954e...c0f6ac82a210 · chapel-lang/chapel · GitHub