Macaulay2 / Macaulay2/M2

copy MutableMatrix

Open
#364 4 comments 0 reactions 0 assignees View on GitHub
Core
Dominant language
Macaulay2
Stars
435
Forks
297
Avg merge
4d 20h
Merged PRs (30d)
11

Description

Let A be a MutableMatrix. Then the following lines seem to have the same effect:

```
B = A
B = copy A
```

... while the expected behavior of the second line is "copy x yields a copy of x".

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by reproducing the two MutableMatrix examples in Macaulay2 and trace how assignment and copy handle the value. Done means that `B = copy A` produces an independent copy of `A`, rather than the same effective object as `B = A`.

Written by the indexing model from the issue text.

Assessment

Domain
backend
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.