Struct matrix
Defined in File matrix.h
Struct Documentation
-
struct matrix
Representation of a fixed-size (static) matrix using a single contiguous array and indexing said array in 2 dimensions.
Static in the sense that the matrix dimensions cannot be changed after initialization. Assumes row-major order (this is C after all).
Should only be used for applications where the matrix is dense, or when the dimensions of the matrix are small (if the dimensions are large AND the matrix is sparse, it will definitely be really inefficient, and possibly won’t even fit into memory).