IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Apr 21, 2008, 11:20:57 AM (18 years ago)
Author:
eugene
Message:

working on double & int vectors (not done)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/eam_branch_20080421/Ohana/src/opihi/include/dvomath.h

    r15878 r17470  
    55
    66# define NCHARS 256
     7# define opihi_float float
     8# define opihi_int unsigned int
    79
    810enum {ANYVECTOR, NEWVECTOR, OLDVECTOR};
    911enum {ANYBUFFER, NEWBUFFER, OLDBUFFER};
     12enum {OPIHI_FLOAT, OPIHI_INT};
    1013
    1114typedef struct {                        /* representation of a variable (0-D) */
     
    1619typedef struct {                        /* representation of a vector (1-D) */
    1720  char name[1024];
     21  char type;
    1822  float *elements;
     23  unsigned int *elementsInt;
    1924  int Nelements;
    2025} Vector;
Note: See TracChangeset for help on using the changeset viewer.