diff options
author | Sunil Shetye | 2018-06-18 23:41:23 +0530 |
---|---|---|
committer | Sunil Shetye | 2018-06-19 10:31:46 +0530 |
commit | 1170404c7650cb531534b308f103c9b6abd50d14 (patch) | |
tree | a6a61ae2a9a3592440483906ce6c7254b3243553 /js/MatrixOp/MATMAGPHI.js | |
parent | cd5b0819762aa4a1cb72d29ab7b8c3ac65bbad76 (diff) | |
download | sci2js-1170404c7650cb531534b308f103c9b6abd50d14.tar.gz sci2js-1170404c7650cb531534b308f103c9b6abd50d14.tar.bz2 sci2js-1170404c7650cb531534b308f103c9b6abd50d14.zip |
handle multiple rows
Diffstat (limited to 'js/MatrixOp/MATMAGPHI.js')
-rw-r--r-- | js/MatrixOp/MATMAGPHI.js | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/js/MatrixOp/MATMAGPHI.js b/js/MatrixOp/MATMAGPHI.js index 13aea7fe..ffcb5aa6 100644 --- a/js/MatrixOp/MATMAGPHI.js +++ b/js/MatrixOp/MATMAGPHI.js @@ -8,8 +8,8 @@ model.sim=list(function_name,funtyp); model.in1=-1; model.in2=-2; model.intyp=2; -model.out=[-1,-1]; -model.out2=[-2,-2]; +model.out=[[-1],[-1]]; +model.out2=[[-2],[-2]]; model.outtyp=[1,1]; model.evtin=[]; model.evtout=[]; @@ -46,11 +46,11 @@ if ((decomptyp==1)) { function_name="matz_abs"; in1=[-1,-2]; it=2; -out=[-1,-2,-1,-2]; +out=[[-1,-2],[-1,-2]]; ot=[1,1]; } else if ((decomptyp==2)) { function_name="matz_absc"; -in1=[-1,-2,-1,-2]; +in1=[[-1,-2],[-1,-2]]; it=[1,1]; out=[-1,-2]; ot=2; |