Changeset 6331
- Timestamp:
- Feb 6, 2006, 12:20:05 PM (20 years ago)
- Location:
- trunk/psLib/src/mathtypes
- Files:
-
- 2 edited
-
psImage.c (modified) (2 diffs)
-
psScalar.c (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/psLib/src/mathtypes/psImage.c
r6227 r6331 9 9 * @author Ross Harman, MHPCC 10 10 * 11 * @version $Revision: 1.9 4$ $Name: not supported by cvs2svn $12 * @date $Date: 2006-0 1-28 01:12:14$11 * @version $Revision: 1.95 $ $Name: not supported by cvs2svn $ 12 * @date $Date: 2006-02-06 22:19:28 $ 13 13 * 14 14 * Copyright 2004-2005 Maui High Performance Computing Center, University of Hawaii … … 650 650 } 651 651 write(fd,"\n",1); 652 return (true);653 }654 655 // XXXX: Remove this656 bool p_psImagePrintOLD (int fd, psImage *a, char *name)657 {658 printf("matrix: %s\n", name);659 for (int j = 0; j < a[0].numRows; j++) {660 for (int i = 0; i < a[0].numCols; i++) {661 printf("%f ", p_psImageGetElementF64(a, i, j));662 }663 printf("\n");664 }665 printf("\n");666 fflush(stdout);667 652 return (true); 668 653 } -
trunk/psLib/src/mathtypes/psScalar.c
r6227 r6331 8 8 * @author Ross Harman, MHPCC 9 9 * 10 * @version $Revision: 1.2 1$ $Name: not supported by cvs2svn $11 * @date $Date: 2006-0 1-28 01:12:14$10 * @version $Revision: 1.22 $ $Name: not supported by cvs2svn $ 11 * @date $Date: 2006-02-06 22:20:05 $ 12 12 * 13 13 * Copyright 2004-2005 Maui High Performance Computing Center, University of Hawaii … … 86 86 87 87 88 88 89 bool psMemCheckScalar(psPtr ptr) 89 90 {
Note:
See TracChangeset
for help on using the changeset viewer.
