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

Method get_size

src/utils/inc/brainflow_array.h:252–260  ·  view source on GitHub ↗

get size in dim

Source from the content-addressed store, hash-verified

250
251 /// get size in dim
252 int get_size (int dim) const
253 {
254 if ((dim < 0) || (dim >= Dim))
255 {
256 throw BrainFlowException (
257 "invalid dim argument", (int)BrainFlowExitCodes::INVALID_ARGUMENTS_ERROR);
258 }
259 return size[dim];
260 }
261
262 const std::array<int, Dim> &get_strides () const
263 {

Callers 10

get_cspMethod · 0.80
write_fileMethod · 0.80
perform_icaMethod · 0.80
mainFunction · 0.80
mainFunction · 0.80
mainFunction · 0.80
mainFunction · 0.80
mainFunction · 0.80
mainFunction · 0.80

Calls 1

BrainFlowExceptionClass · 0.85

Tested by

no test coverage detected