Creation of Sets/Array in z^3
Jump to navigation
Jump to search
Tricks and Shortcuts
Description
*Creating an Array
- Comma(,) has to be used to separate the elements(especially when negative numbers are in an array). This removes the ambiguity.
For example:(without comma) a = [1 2 3; -4*5 -4 6; 7 8 10] This gives the answer as: 1 2 3 -24 6 7 8 10
with comma: a = [1 2 3; -4*5, -4 6; 7 8 10] 1 2 3 -20 -4 6 7 8 10