ZCubes/Arrays in ZCubes

Revision as of 00:59, 24 March 2020 by Devika (talk | contribs) (→‎Video)

Arrays in ZCubes


Arrays are a fundamental data structure in ZCubes. This video demonstrates how to create an array using the ‘..’ operator. You can create multi-dimensional arrays in ZCubes. The video demonstrates how to execute functions on arrays of values easily.

Video


Arrays in ZCubes














Code

1..10
1..10..2
1..100..2
|4|
|6|
|6,2|
|6,2,3,4|
|6,2,3,4,1..100|
|6,2,3,4,1..10..2|
1..10@SIN
1..10@[SIN,COS]
a=1..10@SIN
a.input
a.header
a.size()
[1..5,3..5]@CHIDIST


<< Learn ZCubes
© Copyright 1996-2020, ZCubes, Inc.