/* newmat.c 4.1 83/03/09 */
* newmat: return a brand new bitmat with the proper size.
* To get rid of it just call free.
int size
= ((cols
+ 7) >> 3) * rows
;
if (size
<= 0 && trace
) {
fprintf(trace
, "newmat: rows=%d, cols=%d\n", rows
, cols
);
fprintf(trace
, "newmat: malloc(%d) =", size
);
m
= (char *) malloc(size
);
fprintf(trace
, "%x\n", m
);