Hi,
I'd like to get some review comments for the Fricas branch implementing
even more complete matrix slicing operations.
We have the full grid of possibilities implemented: For 'M', 'N'
two instances of a domain satisfying 'TwoDimensionalArrayCategory' we
can write the following slicing operation:
M(u, v)
and assignment to a subset of 'M'
M(u, v) := N
where both selectors u and v can be any of:
- A single Integer
- An Integer Segment
- List of Integers
- A List of Integer Segments
I think that these are useful additions. The code can be found
in this branch:
https://github.com/raoulb/fricas/tree/twodimarraydoc
and some test cases here:
https://github.com/raoulb/fricas_code/tree/master/matrix_tests
If we decide to merge these commits into Fricas, I'll extend
the documentation to cover the new functionality too.
Right now, commit 1ecc04fecaa6571160899dcf7ac7a563dacc9f5b
adds an old list mail to the Advanced Problem Solving chapter.
-- Raoul
signature.asc
Description: PGP signature
