diff options
author | torset | 2009-02-04 14:48:11 +0000 |
---|---|---|
committer | torset | 2009-02-04 14:48:11 +0000 |
commit | 7d30e5058fa29bd9f6e6e59c336838555d02b3a0 (patch) | |
tree | 97c929da93b85e1d98a6abbce69c5df9d4567212 /src/matrixOperations/powm/testDoublePowm.c | |
parent | d3620448a8d9ca5931a0b27eb7b87f71915b638a (diff) | |
download | scilab2c-7d30e5058fa29bd9f6e6e59c336838555d02b3a0.tar.gz scilab2c-7d30e5058fa29bd9f6e6e59c336838555d02b3a0.tar.bz2 scilab2c-7d30e5058fa29bd9f6e6e59c336838555d02b3a0.zip |
Update : make check seems ok
Diffstat (limited to 'src/matrixOperations/powm/testDoublePowm.c')
-rw-r--r-- | src/matrixOperations/powm/testDoublePowm.c | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/src/matrixOperations/powm/testDoublePowm.c b/src/matrixOperations/powm/testDoublePowm.c index d66a77fe..f985145a 100644 --- a/src/matrixOperations/powm/testDoublePowm.c +++ b/src/matrixOperations/powm/testDoublePowm.c @@ -25,25 +25,26 @@ static void dpowmaTest(void){ } - +/* +FIXME static void zpowmaTest(void){ double inR[4]={1,5,4,2}; double inI[4]={2,1,-1,3}; doubleComplex *in,out[4]; int i; - in=malloc((uint)4*sizeof(doubleComplex)); - in=DoubleMatrixComplex(inR,inI,4); + in=DoubleComplexMatrix(inR,inI,4); + zpowma(in, 2, DoubleComplex(2,0), out); for (i=0;i<4;i++) printf("out[%d] = %f+%f*i\n",i,zreals(out[i]),zimags(out[i])); } - +*/ int main(void){ - dpowmaTest();zpowmaTest(); + dpowmaTest(); return 0; } |