- Timestamp:
- Aug 27, 2004, 1:34:05 PM (22 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/psLib/test/dataManip/tst_psMatrixVectorArithmetic02.c
r1541 r1648 1 1 2 /** @file tst_psMatrix _02.c2 /** @file tst_psMatrixVectorArithmetic02.c 3 3 * 4 4 * @brief Test driver for psMatrixVector arithmetic functions … … 10 10 * @author Ross Harman, MHPCC 11 11 * 12 * @version $Revision: 1. 4$ $Name: not supported by cvs2svn $13 * @date $Date: 2004-08- 14 01:31:30$12 * @version $Revision: 1.5 $ $Name: not supported by cvs2svn $ 13 * @date $Date: 2004-08-27 23:31:29 $ 14 14 * 15 15 * Copyright 2004 Maui High Performance Computing Center, University of Hawaii … … 37 37 printf("Calculated: %.2f\n", (double)(TRUTH)); \ 38 38 } \ 39 } \39 } \ 40 40 } \ 41 41 printf("\n"); … … 45 45 for(int i=IMAGE->numRows-1; i>-1; i--) { \ 46 46 for(int j=0; j<IMAGE->numCols; j++) { \ 47 if(cabs(IMAGE->data.TYPE[i][j])-cabs(TRUTH) > FLT_EPSILON){ \47 if(cabs(IMAGE->data.TYPE[i][j])-cabs(TRUTH) > FLT_EPSILON){ \ 48 48 printf("ERROR:Truth and calculated values don't match for matrix operation:\n"); \ 49 49 if(PS_IS_PSELEMTYPE_COMPLEX(IMAGE->type.type)) { \ … … 57 57 printf("Calculated: %.2f\n", (double)(TRUTH)); \ 58 58 } \ 59 } \59 } \ 60 60 } \ 61 61 printf("\n"); \
Note:
See TracChangeset
for help on using the changeset viewer.
