开发者

How can I change an element in a matrix in Maple?

The qu开发者_开发知识库estion is:

How can I change an element in a matrix in Maple?

Is it possible?


Yes, it is certainly possible. (It's one of the primary properties of a Matrix, it is a mutable data structure. ie. its entries can be changed.)

If you have assigned a Matrix to the name A, then you can change the entry in the 4th row and 5th column by using normal assignment:

A[4,5] := 17.34;

For more on manipulating Matrices, Vectors, and Arrays, see the rtable_indexing Help page

Note that Matrix is different from matrix, the latter of which is now deprecated.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜