Programmer Guide/SPU Reference/GET: Difference between revisions

From STX Wiki
Jump to navigationJump to search
m (1 revision: Initial import)
 
(No difference)

Latest revision as of 11:01, 28 April 2011

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