Programmer Guide/SPU Reference/GET: Difference between revisions

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

Revision as of 17:31, 18 November 2010

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