GET

From STX Wiki
< Programmer Guide‎ | SPU Reference
Revision as of 17:31, 18 November 2010 by Admin (talk | contribs) (1 revision: Initial import)
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