I've added diag and offdiag functions modules/packages/LinearAlgebra.chpl
to extract the diagonal/off diagonal elements of a Matrix into a Vector.
diag can also be used to create a diagonal Matrix with the argument Vector
as its diagonal elements.
Here is the pull request - https://github.com/chapel-lang/chapel/pull/5926
This PR addresses some points in the issue -
https://github.com/chapel-lang/chapel/issues/5753
Regards
Prabhanjan
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Chapel-developers mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/chapel-developers