ViewVC Help
View File | Revision Log | Show Annotations | Download File | Root Listing
root/radiance/ray/src/util/rmatrix.h
(Generate patch)

Comparing ray/src/util/rmatrix.h (file contents):
Revision 2.2 by greg, Sat May 31 19:21:21 2014 UTC vs.
Revision 2.3 by greg, Fri Aug 1 23:37:24 2014 UTC

# Line 15 | Line 15 | extern "C" {
15   /* General plane-ordered component matrix */
16   typedef struct {
17          int     nrows, ncols, ncomp;
18 +        char    *info;
19          double  mtx[1];                 /* extends struct */
20   } RMATRIX;
21  
# Line 27 | Line 28 | extern RMATRIX *rmx_alloc(int nr, int nc, int n);
28  
29   /* Load matrix from supported file type */
30   extern RMATRIX  *rmx_load(const char *fname);
31 +
32 + /* Append header information associated with matrix data */
33 + extern int      rmx_addinfo(RMATRIX *rm, const char *info);
34  
35   /* Write matrix to file type indicated by dt */
36   extern long     rmx_write(const RMATRIX *rm, int dtype, FILE *fp);

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines