How to get full matrix as return value from eval()? #3070
Replies: 2 comments
-
Thanks for bringing this up Ian. This behavior looks odd: replacing a subset of a matrix returns only the affected part of the matrix. This behavior may stem from assignments like A[1,1] = 4 which returns To get back the whole matrix, you will simply have to execute a second expression |
Beta Was this translation helpful? Give feedback.
-
(A) I am going to move this to questions. (B) I am in favor of mathjs' current behavior. Note that |
Beta Was this translation helpful? Give feedback.
-
In contrast to Matlab, for example, if I assign a value to a portion of a matrix I only get back that portion. I'd like to do something like
And get back the whole matrix, not just the first row.
Is this possible?
Beta Was this translation helpful? Give feedback.
All reactions