Simstim

VEX Dictionary / getcomp

getcomp

Extracts one component, row/column entry, or array element from a vector, matrix, or array by index.

group: utilitydata

Available in every context

Usage

float getcomp(<vector> v; int index)
float getcomp(<matrix> m; int row, int column)
<type> getcomp(<type> array[]; int index)
<type> getcomp(<vector> array[]; int i, int j)
<type> getcomp(<matrix> array[]; int i, int j, int k)
<type> getcomp(dict d; string index)
<type>[] getcomp(dict d; string index)
<type> getcomp(dict d; string index; <type> defvalue)
<type>[] getcomp(dict d; string index; <type> defvalue[])
string getcomp(string value, int index)

Examples

No worked examples yet.

Signatures (from vcc -X)

Related

Full SideFX documentation ↗