diff options
author | torset | 2009-02-04 14:11:20 +0000 |
---|---|---|
committer | torset | 2009-02-04 14:11:20 +0000 |
commit | 5b4467938b925e178d503ee56a6ad8e9174ea6c2 (patch) | |
tree | 1b5f609e5ca4894299794ef9cec17a8e0e68de9b /src/matrixOperations/chol/testFloatChol.c | |
parent | cb2404246c35eff9b1a976bac98ba9532d82a6af (diff) | |
download | scilab2c-5b4467938b925e178d503ee56a6ad8e9174ea6c2.tar.gz scilab2c-5b4467938b925e178d503ee56a6ad8e9174ea6c2.tar.bz2 scilab2c-5b4467938b925e178d503ee56a6ad8e9174ea6c2.zip |
Add Complex scalar tests and headers
Diffstat (limited to 'src/matrixOperations/chol/testFloatChol.c')
-rw-r--r-- | src/matrixOperations/chol/testFloatChol.c | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/src/matrixOperations/chol/testFloatChol.c b/src/matrixOperations/chol/testFloatChol.c index 84dc6d51..eea75ea4 100644 --- a/src/matrixOperations/chol/testFloatChol.c +++ b/src/matrixOperations/chol/testFloatChol.c @@ -42,6 +42,22 @@ static void scholaTest(void){ } +static void ccholsTest(void){ + floatComplex in; + float out; + in=FloatComplex(3,1); + printf("\n >>> ZCholS <<<\n"); + out=cchols(in); + printf("result : %f\n",out); + +} + + + + + + + static void ccholaTest(void){ float inR[9]= {9.0f,4.0f,2.0f,4.0f,5.0f,1.0f,2.0f,1.0f,4.0f}; float inI[9]= {0.0f,-1.0f,2.0f,-1.0f,0.0f,1.0f,2.0f,1.0f,0.0f}; @@ -69,6 +85,7 @@ static int cholTest(void){ printf("\n >>> Float Chol <<<\n"); scholsTest(); scholaTest(); + ccholsTest(); ccholaTest(); return 0; } |