Changeset 2962 for trunk/psLib/src/dataManip/psMatrixVectorArithmetic.c
- Timestamp:
- Jan 12, 2005, 12:17:02 PM (22 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/psLib/src/dataManip/psMatrixVectorArithmetic.c
r2702 r2962 29 29 * @author Ross Harman, MHPCC 30 30 * 31 * @version $Revision: 1.3 3$ $Name: not supported by cvs2svn $32 * @date $Date: 200 4-12-11 03:06:31 $31 * @version $Revision: 1.34 $ $Name: not supported by cvs2svn $ 32 * @date $Date: 2005-01-12 22:17:01 $ 33 33 * 34 34 * Copyright 2004 Maui High Performance Computing Center, University of Hawaii … … 377 377 // Preprocessor macro function to create arithmetic function operation name 378 378 #define BINARY_OP(DIM1,DIM2,OUT,IN1,OP,IN2) \ 379 if(!strncmp(OP, "+", 1)) { \ 379 if(!strncmp(OP, "=", 1)) { \ 380 BINARY_TYPE(DIM1,DIM2,OUT,IN1,*i2,IN2); \ 381 } else if(!strncmp(OP, "+", 1)) { \ 380 382 BINARY_TYPE(DIM1,DIM2,OUT,IN1,*i1 + *i2,IN2); \ 381 383 } else if(!strncmp(OP, "-", 1)) { \ … … 384 386 BINARY_TYPE(DIM1,DIM2,OUT,IN1,*i1 * *i2,IN2); \ 385 387 } else if(!strncmp(OP, "/", 1)) { \ 386 BINARY_TYPE(DIM1,DIM2,OUT,IN1,*i1 / *i2,IN2); \388 BINARY_TYPE(DIM1,DIM2,OUT,IN1,*i1 / *i2,IN2); \ 387 389 } else if(!strncmp(OP, "^", 1)) { \ 388 390 if(PS_IS_PSELEMTYPE_COMPLEX(IN1->type)) { \
Note:
See TracChangeset
for help on using the changeset viewer.
