This is an old revision of the document!


Index

You can index matrices in the same way one indexes Lua tables

Example

Input

Example.Quanty
A = Matrix.New({{1,2},{3,4}})
B = A[2]
print("A[2] = ",B)
C = A[2][1]
print("A[2][1] = ",C)

Result

A[2] = 	 {  3      ,  4      }
 
A[2][1] = 	3

Table of contents

Print/export