IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Mar 13, 2007, 2:39:51 PM (19 years ago)
Author:
Paul Price
Message:

Removing complex number support. No-one was using it, and it prevents compilation on Solaris.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/psLib/test/math/tap_psMatrixVectorArithmetic01.c

    r11397 r12431  
    44 *
    55 *  This test driver tests combinations of matrix, vector, and scalar binary operations including:
    6  *     Matrix-matrix with +,-,*,/ with S32, F32, F64, C32
    7  *     Matrix-vector with +,-,*,/ with S32, F32, F64, C32
    8  *     Matrix-scalar with +,-,*,/ with S32, F32, F64, C32
     6 *     Matrix-matrix with +,-,*,/ with S32, F32, F64
     7 *     Matrix-vector with +,-,*,/ with S32, F32, F64
     8 *     Matrix-scalar with +,-,*,/ with S32, F32, F64
    99 *
    1010 *  @author  Ross Harman, MHPCC
    1111 *
    12  *  @version $Revision: 1.1 $  $Name: not supported by cvs2svn $
    13  *  @date  $Date: 2007-01-30 00:11:31 $
     12 *  @version $Revision: 1.2 $  $Name: not supported by cvs2svn $
     13 *  @date  $Date: 2007-03-14 00:39:51 $
    1414 *
    1515 *  Copyright 2004-2005 Maui High Performance Computing Center, University of Hawaii
     
    140140    ok(errorFlag== false, "psBinaryOp(): was successful: (matrix-matrix, +, F64)");
    141141    ok(memoryFlag== false, "no memory leaks");
    142     testBinaryOpMM(+,C32,10.0+10.0i,10.0+10.0i,3,2,errorFlag,memoryFlag);
    143     ok(errorFlag== false, "psBinaryOp(): was successful: (matrix-matrix, +, C32)");
    144     ok(memoryFlag== false, "no memory leaks");
    145142    testBinaryOpMM(-,S32,20,10,3,2,errorFlag,memoryFlag);
    146143    ok(errorFlag== false, "psBinaryOp(): was successful: (matrix-matrix, -, S32)");
     
    161158    ok(errorFlag== false, "psBinaryOp(): was successful: (matrix-matrix, *, F64)");
    162159    ok(memoryFlag== false, "no memory leaks");
    163     testBinaryOpMM(*,C32,20.0+20.0i,10.0+10.0i,3,2,errorFlag,memoryFlag);
    164     ok(errorFlag== false, "psBinaryOp(): was successful: (matrix-matrix, *, C32)");
    165     ok(memoryFlag== false, "no memory leaks");
    166160    testBinaryOpMM(/,S32,20,10,3,2,errorFlag,memoryFlag);
    167161    ok(errorFlag== false, "psBinaryOp(): was successful: (matrix-matrix, /, S32)");
     
    172166    testBinaryOpMM(/,F64,20.0,10.0,3,2,errorFlag,memoryFlag);
    173167    ok(errorFlag== false, "psBinaryOp(): was successful: (matrix-matrix, /, F64)");
    174     ok(memoryFlag== false, "no memory leaks");
    175     testBinaryOpMM(/,C32,20.0+20.0i,10.0+10.0i,3,2,errorFlag,memoryFlag);
    176     ok(errorFlag== false, "psBinaryOp(): was successful: (matrix-matrix, /, C32)");
    177168    ok(memoryFlag== false, "no memory leaks");
    178169
     
    187178    ok(errorFlag== false, "psBinaryOp(): was successful: (matrix-vector, +, F64)");
    188179    ok(memoryFlag== false, "no memory leaks");
    189     testBinaryOpMV(+,C32,10.0+10.0i,5.0+5.0i,3,2,errorFlag,memoryFlag);
    190     ok(errorFlag== false, "psBinaryOp(): was successful: (matrix-vector, +, C32)");
    191     ok(memoryFlag== false, "no memory leaks");
    192180    testBinaryOpMV(-,S32,20,5,3,2,errorFlag,memoryFlag);
    193181    ok(errorFlag== false, "psBinaryOp(): was successful: (matrix-vector, -, S32)");
     
    208196    ok(errorFlag== false, "psBinaryOp(): was successful: (matrix-vector, *, F64)");
    209197    ok(memoryFlag== false, "no memory leaks");
    210     testBinaryOpMV(*,C32,20.0+20.0i,5.0+5.0i,3,2,errorFlag,memoryFlag);
    211     ok(errorFlag== false, "psBinaryOp(): was successful: (matrix-vector, *, C32)");
    212     ok(memoryFlag== false, "no memory leaks");
    213198    testBinaryOpMV(/,S32,20,5,3,2,errorFlag,memoryFlag);
    214199    ok(errorFlag== false, "psBinaryOp(): was successful: (matrix-vector, /, S32)");
     
    219204    testBinaryOpMV(/,F64,20.0,5.0,3,2,errorFlag,memoryFlag);
    220205    ok(errorFlag== false, "psBinaryOp(): was successful: (matrix-vector, /, F64)");
    221     ok(memoryFlag== false, "no memory leaks");
    222     testBinaryOpMV(/,C32,20.0+20.0i,5.0+5.0i,3,2,errorFlag,memoryFlag);
    223     ok(errorFlag== false, "psBinaryOp(): was successful: (matrix-vector, /, C32)");
    224206    ok(memoryFlag== false, "no memory leaks");
    225207
     
    234216    ok(errorFlag== false, "psBinaryOp(): was successful: (matrix-scalar, +, F64)");
    235217    ok(memoryFlag== false, "no memory leaks");
    236     testBinaryOpMS(+,C32,10.0+10.0i,5.0+5.0i,3,2,errorFlag,memoryFlag);
    237     ok(errorFlag== false, "psBinaryOp(): was successful: (matrix-scalar, +, C32)");
    238     ok(memoryFlag== false, "no memory leaks");
    239218    testBinaryOpMS(-,S32,20,5,3,2,errorFlag,memoryFlag);
    240219    ok(errorFlag== false, "psBinaryOp(): was successful: (matrix-scalar, -, S32)");
     
    255234    ok(errorFlag== false, "psBinaryOp(): was successful: (matrix-scalar, *, F64)");
    256235    ok(memoryFlag== false, "no memory leaks");
    257     testBinaryOpMS(*,C32,20.0+20.0i,5.0+5.0i,3,2,errorFlag,memoryFlag);
    258     ok(errorFlag== false, "psBinaryOp(): was successful: (matrix-scalar, *, C32)");
    259     ok(memoryFlag== false, "no memory leaks");
    260236    testBinaryOpMS(/,S32,20,5,3,2,errorFlag,memoryFlag);
    261237    ok(errorFlag== false, "psBinaryOp(): was successful: (matrix-scalar, /, S32)");
     
    267243    ok(errorFlag== false, "psBinaryOp(): was successful: (matrix-scalar, /, F64)");
    268244    ok(memoryFlag== false, "no memory leaks");
    269     testBinaryOpMS(/,C32,20.0+20.0i,5.0+5.0i,3,2,errorFlag,memoryFlag);
    270     ok(errorFlag== false, "psBinaryOp(): was successful: (matrix-scalar, /, C32)");
    271     ok(memoryFlag== false, "no memory leaks");
    272245    return 0;
    273246}
Note: See TracChangeset for help on using the changeset viewer.