Table of Contents

This is an old revision of the document!


Sub

One can subtract two matrices element by element

Example

Example.Quanty
A = Matrix.New({{1,2},{3,4}})
B = Matrix.New({{5,6},{7,8}})
C = B - A
print(C)

Result

{ {  4      ,  4      } ,
  {  4      ,  4      } }

Table of contents

Print/export