Programmer Guide/Command Reference/EVAL Intro/Numerical objects: Difference between revisions

From STX Wiki
Jump to navigationJump to search
m (1 revision: Initial import)
Line 2: Line 2:
====Numerical objects====
====Numerical objects====


The following numerical objects are understood by the <code>[[Programmer Guide/Command Reference/EVAL/EVAL|EVAL]]</code> command. The fields of the table item <code>table</code> are all numeric (you can use a parameter table). The value item <code>value</code> can contain numbers, vectors or matrices. The wave item <code>wave</code> is any wave item.
The following numerical objects are known to the <code>[[Programmer Guide/Command Reference/EVAL Intro/EVAL|EVAL]]</code> command. The fields of the table item <code>table</code> are all numeric (you can use a parameter table). The value item <code>value</code> can contain numbers, vectors or matrices. The wave item <code>wave</code> is any wave item.


{|
{|

Revision as of 21:06, 22 March 2011

Numerical objects

The following numerical objects are known to the EVAL command. The fields of the table item table are all numeric (you can use a parameter table). The value item value can contain numbers, vectors or matrices. The wave item wave is any wave item.

syntax description data type
constantNumber a scalar constant. E.g. 4.5 or 4 scalar
table the content of the whole table vector, matrix
table[i,*]

table[i,]

the i-th row of the table scalar, vector
table[*,j]

table[,j]

the j-th column of the table scalar, vector
table[i,j] the value of the i-th row and j-th column of the table scalar
value the content of the value item scalar, vector, matrix
value[i,*]

value[i,]

the i-th row of the value item scalar, vector
value[*,j]

value[,j]

the j-the column of the value item scalar, vector
value[i,j] the value of the i-th row and j-th column of the value item scalar
wave[!signal,*]

wave[!signal,]

the signal from all channels vector, matrix
wave[!signal,ch] the signal from channel ch (=1,2,...) vector
wave[!signal,*,b,l] the signal from all channels from sample b to sample b+l-1 vector, matrix
wave[!signal,ch,b,l] the signal from channel ch from sample b to sample b+l-1 vector

Navigation menu

Personal tools