Matrix addition and subtraction
A |
B |
|
1 |
[[3,5],[2,8]] |
[[4,6],[2,4]] |
2 |
=A1.(~++B1(#)) |
|
3 |
=A1.(~--B1(#)) |
A2 Add the elements of matrix A1 and B1,return [[7,11],[4,12]]
A3 The elements ofA1 and B1 are subtracted,return [[-1,-1],[0,4]]
SPL Official Website 👉 https://www.scudata.com
SPL Feedback and Help 👉 https://www.reddit.com/r/esProc_SPL
SPL Learning Material 👉 https://c.scudata.com
SPL Source Code and Package 👉 https://github.com/SPLWare/esProc
Discord 👉 https://discord.gg/cFTcUNs7
Youtube 👉 https://www.youtube.com/@esProc_SPL