The main reason for adding Integer support (for me) it to make porting from Matlab easier.
I'm adding separate extension methods to allow for the indexing by integer-valued vectors/matrices that Matlab supports.
(I'm using extension methods so I'm not changing the generic classes' definitions. That could be integrated in the future...)
I'm also, separately, working on a one-based indexing version of the LinearAlgebra, as I discovered in past efforts converting Matlab to C++, adjusting Matlab's one-based indexing to the C++ zero-based indexing is quite error prone and extremely difficult to debug. (As in: a couple of days of single stepping the Matlab along with single stepping the C++.)
I'm adding separate extension methods to allow for the indexing by integer-valued vectors/matrices that Matlab supports.
(I'm using extension methods so I'm not changing the generic classes' definitions. That could be integrated in the future...)
I'm also, separately, working on a one-based indexing version of the LinearAlgebra, as I discovered in past efforts converting Matlab to C++, adjusting Matlab's one-based indexing to the C++ zero-based indexing is quite error prone and extremely difficult to debug. (As in: a couple of days of single stepping the Matlab along with single stepping the C++.)