GET

From STX Wiki
Jump to navigationJump to search

GET - extract a subset of input data

Extract a subset of input data.

if j is given: vector: y[0..j-1] = x[i..i+j-1]
otherwise number: y = x[j]
Usage:

GET x i j

GET x i

Usage:
x vector
i element index
j number of elements
Outputs:
y number or vector

Navigation menu

Personal tools