Table of Contents
This is an old revision of the document!
Add
One can add two matrices element by element
Example
- Example.Quanty
A = Matrix.New({{1,2},{3,4}}) B = Matrix.New({{5,6},{7,8}}) C = A + B print(C)
Result
{ { 6 , 8 } , { 10 , 12 } }