User guide
x = x ~ data_in(hsec-hsec0);
endo;
Youcantestwhetheramatrixisemptybyenteringrows(x),cols(x)andscalerr
(x).Ifthematrixisemptyrowsandcolswillreturna0,andscalerrwillreturn
65535.
The~isthehorizontalconcatenationoperatorandthe|istheverticalconcatenation
operator.Thestatement
y = 1~2|3~4;
willbeevaluatedas
y = (1~2)|(3~4);
andwillresultina2x2matrixbecausehorizontalconcatenationhasprecedenceoverver-
ticalconcatenation:
y = 1 2
3 4
Thestatement
y = 1+1~2*2|3-2~6/2;
willbeevaluatedas
y = ((1+1) ~ (2*2)) | ((3-2) ~ (6/2));
andwillresultina2x2matrixbecausethearithmeticoperatorshaveprecedenceover
concatenation:
y = 2 4
1 3
Formoreinformation,seeOperator Precedence,Section10.7.
9-14
GAUSSUser Guide