MBot Software Library
v1.0
An API documentation to mbot_firmware repository
|
Struct containing the state of a matrix and a pointer to dynamically allocated memory to hold its contents. More...
#include <matrix.h>
Public Attributes | |
int | rows |
number of rows in the matrix | |
int | cols |
number of columns in the matrix | |
double ** | d |
pointer to allocated 2d array | |
int | initialized |
set to 1 once memory has been allocated | |
Struct containing the state of a matrix and a pointer to dynamically allocated memory to hold its contents.
Set and read values directly with this code: