Changeset 1246
- Timestamp:
- Jul 20, 2004, 2:09:11 PM (22 years ago)
- Location:
- trunk/psLib
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/psLib/src/dataManip/psMatrixVectorArithmetic.c
r1245 r1246 29 29 * @author Ross Harman, MHPCC 30 30 * 31 * @version $Revision: 1.1 7$ $Name: not supported by cvs2svn $32 * @date $Date: 2004-07-2 0 20:57:30$31 * @version $Revision: 1.18 $ $Name: not supported by cvs2svn $ 32 * @date $Date: 2004-07-21 00:09:11 $ 33 33 * 34 34 * Copyright 2004 Maui High Performance Computing Center, University of Hawaii … … 615 615 } else if(!strncmp(OP, "log", 3)) { \ 616 616 if(PS_IS_PSELEMTYPE_COMPLEX(IN->type)) { \ 617 UNARY_TYPE(DIM,OUT,IN, log10(cabs(*i1)+carg(*i1)*I)); \617 UNARY_TYPE(DIM,OUT,IN,clog(*i1)/log(10.0)); \ 618 618 } else { \ 619 619 UNARY_TYPE(DIM,OUT,IN,log10(*i1)); \ -
trunk/psLib/test/dataManip/verified/tst_psMatrixVectorArithmetic02.stdout
r1135 r1246 1552 1552 1553 1553 Output: 1554 4 4 441555 4 4 441556 4 4 441554 45 45 1555 45 45 1556 45 45 1557 1557 1558 1558 … … 3184 3184 3185 3185 Output: 3186 4 43187 4 43188 4 43186 45 3187 45 3188 45 3189 3189 3190 3190 -
trunk/psLib/test/dataManip/verified/tst_psMatrixVectorArithmetic03.stderr
r1198 r1246 1 <DATE> <TIME> |<HOST>|E| psBinaryOp|: Line 40 4- Null out argument2 <DATE> <TIME> |<HOST>|E| psBinaryOp|: Line 4 10- Null in1 argument3 <DATE> <TIME> |<HOST>|E| psBinaryOp|: Line 41 6- Null in2 argument4 <DATE> <TIME> |<HOST>|E| psBinaryOp|: Line 42 1- Null op argument5 <DATE> <TIME> |<HOST>|E| psUnaryOp|: Line 70 9- Null out argument6 <DATE> <TIME> |<HOST>|E| psUnaryOp|: Line 71 5- Null in argument7 <DATE> <TIME> |<HOST>|E| psUnaryOp|: Line 7 20- Null op argument8 <DATE> <TIME> |<HOST>|E| psBinaryOp|: Line 43 3- Element types for arguments inconsistent: (1028, 1032, 1032)9 <DATE> <TIME> |<HOST>|E| psUnaryOp|: Line 7 30- Element types for arguments inconsistent: (1028, 1032)1 <DATE> <TIME> |<HOST>|E| psBinaryOp|: Line 403 - Null out argument 2 <DATE> <TIME> |<HOST>|E| psBinaryOp|: Line 409 - Null in1 argument 3 <DATE> <TIME> |<HOST>|E| psBinaryOp|: Line 415 - Null in2 argument 4 <DATE> <TIME> |<HOST>|E| psBinaryOp|: Line 420 - Null op argument 5 <DATE> <TIME> |<HOST>|E| psUnaryOp|: Line 708 - Null out argument 6 <DATE> <TIME> |<HOST>|E| psUnaryOp|: Line 714 - Null in argument 7 <DATE> <TIME> |<HOST>|E| psUnaryOp|: Line 719 - Null op argument 8 <DATE> <TIME> |<HOST>|E| psBinaryOp|: Line 432 - Element types for arguments inconsistent: (1028, 1032, 1032) 9 <DATE> <TIME> |<HOST>|E| psUnaryOp|: Line 729 - Element types for arguments inconsistent: (1028, 1032) 10 10 <DATE> <TIME> |<HOST>|E| psBinaryOp|: Inconsistent element count: numRows: 2 vs 3 numCols: 2 vs 3 11 11 <DATE> <TIME> |<HOST>|E| psUnaryOp|: Inconsistent element count: numRows: 2 vs 3 numCols: 2 vs 3 12 12 <DATE> <TIME> |<HOST>|E| psBinaryOp|: Inconsistent element count: 2 vs 3 13 13 <DATE> <TIME> |<HOST>|E| psBinaryOp|: Inconsistent element count: 2 vs 3 14 <DATE> <TIME> |<HOST>|E| psUnaryOp|: Line 73 6- Dimensionality for arguments inconsistent: (1, 3)14 <DATE> <TIME> |<HOST>|E| psUnaryOp|: Line 735 - Dimensionality for arguments inconsistent: (1, 3) 15 15 <DATE> <TIME> |<HOST>|E| psNanDiv|: Divide by zero 16 16 <DATE> <TIME> |<HOST>|E| psNanDiv|: Divide by zero
Note:
See TracChangeset
for help on using the changeset viewer.
