MCPcopy Create free account
hub / github.com/brainflow-dev/brainflow / get_address

Method get_address

src/utils/inc/brainflow_array.h:425–428  ·  view source on GitHub ↗

use it to get pointer to row in matrix or to get pointer to matrix from 3d array

Source from the content-addressed store, hash-verified

423
424 /// use it to get pointer to row in matrix or to get pointer to matrix from 3d array
425 T *get_address (int index0)
426 {
427 return &origin[index0 * get_stride (0)];
428 }
429
430 /// use it to get pointer to row in 3d array
431 T *get_address (int index0, int index1)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected