This is the latest (main) BeagleBoard documentation. If you are looking for stable releases, use the drop-down menu on the bottom-left and select the desired version.

Struct rc_vector_t

Struct Documentation

struct rc_vector_t

Struct containing the state of a vector and a pointer to dynamically allocated memory to hold its contents.

Set and read values directly with this code:

vec.d[position]=new_value; // set value in the vector
value = v.d[pos]; // get value from vector

Public Members

int len

number of elements in the vector

double *d

pointer to dynamically allocated data

int initialized

initialization flag