Changeset 6885
- Timestamp:
- Apr 18, 2006, 12:04:28 PM (20 years ago)
- Location:
- trunk/psLib/src/math
- Files:
-
- 2 edited
-
psBinaryOp.c (modified) (4 diffs)
-
psUnaryOp.c (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/psLib/src/math/psBinaryOp.c
r4540 r6885 30 30 * @author Robert DeSonia, MHPCC 31 31 * 32 * @version $Revision: 1. 4$ $Name: not supported by cvs2svn $33 * @date $Date: 200 5-07-12 19:12:01$32 * @version $Revision: 1.5 $ $Name: not supported by cvs2svn $ 33 * @date $Date: 2006-04-18 22:04:28 $ 34 34 * 35 35 * Copyright 2004-2005 Maui High Performance Computing Center, University of Hawaii … … 497 497 return NULL; 498 498 } 499 ((psVector*)out)->n = ((psVector*)in2)->n; 499 500 BINARY_OP(SCALAR, VECTOR, out, psType1, op, psType2); // scalar op vector 500 501 } else if (dim2 == PS_DIMEN_IMAGE) { … … 520 521 return NULL; 521 522 } 523 ((psVector*)out)->n = ((psVector*)in1)->n; 522 524 BINARY_OP(VECTOR, SCALAR, out, psType1, op, psType2); // vector op scalar 523 525 } else if (dim2 == PS_DIMEN_VECTOR || dim2 == PS_DIMEN_TRANSV) { … … 528 530 return NULL; 529 531 } 532 ((psVector*)out)->n = ((psVector*)in2)->n; 530 533 BINARY_OP(VECTOR, VECTOR, out, psType1, op, psType2); // vector op vector 531 534 } else if (dim2 == PS_DIMEN_IMAGE) { -
trunk/psLib/src/math/psUnaryOp.c
r4540 r6885 30 30 * @author Robert DeSonia, MHPCC 31 31 * 32 * @version $Revision: 1. 5$ $Name: not supported by cvs2svn $33 * @date $Date: 200 5-07-12 19:12:01$32 * @version $Revision: 1.6 $ $Name: not supported by cvs2svn $ 33 * @date $Date: 2006-04-18 22:04:28 $ 34 34 * 35 35 * Copyright 2004-2005 Maui High Performance Computing Center, University of Hawaii … … 347 347 psUnaryOp_EXIT; 348 348 } 349 ((psVector*)out)->n = ((psVector*)in)->n; 349 350 350 351 UNARY_OP(VECTOR, out, psTypeIn, op); // vector
Note:
See TracChangeset
for help on using the changeset viewer.
