Robot Control Library
|
Struct containing the state of a matrix and a pointer to dynamically allocated memory to hold its contents. More...
#include <rc/math/matrix.h>
Data Fields | |
int | rows |
number of rows in the matrix More... | |
int | cols |
number of columns in the matrix More... | |
double ** | d |
pointer to allocated 2d array More... | |
int | initialized |
set to 1 once memory has been allocated More... | |
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:
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