diff options
author | Sunil Shetye | 2018-07-11 15:19:38 +0530 |
---|---|---|
committer | Sunil Shetye | 2018-07-11 15:21:08 +0530 |
commit | 0047c3bea1d86b12a08544f6f0833c63e77f6eac (patch) | |
tree | 36fc72fa9e5ea73c64a44e061b2c9c80e0307884 /js/MatrixOp/ROOTCOEF.js | |
parent | 079d0b4a3ec15a4d7d2644484d116df9d1c694bb (diff) | |
download | sci2js-0047c3bea1d86b12a08544f6f0833c63e77f6eac.tar.gz sci2js-0047c3bea1d86b12a08544f6f0833c63e77f6eac.tar.bz2 sci2js-0047c3bea1d86b12a08544f6f0833c63e77f6eac.zip |
support vector also
Diffstat (limited to 'js/MatrixOp/ROOTCOEF.js')
-rw-r--r-- | js/MatrixOp/ROOTCOEF.js | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/js/MatrixOp/ROOTCOEF.js b/js/MatrixOp/ROOTCOEF.js index a468a2ba..661b496d 100644 --- a/js/MatrixOp/ROOTCOEF.js +++ b/js/MatrixOp/ROOTCOEF.js @@ -11,15 +11,15 @@ function ROOTCOEF() { this.model.out = new ScilabDouble([-2]); this.model.out2 = new ScilabDouble([1]); this.model.outtyp = new ScilabDouble([1]); - this.model.evtin = []; - this.model.evtout = []; - this.model.state = []; - this.model.dstate = []; - this.model.rpar = []; - this.model.ipar = []; + this.model.evtin = new ScilabDouble([]); + this.model.evtout = new ScilabDouble([]); + this.model.state = new ScilabDouble([]); + this.model.dstate = new ScilabDouble([]); + this.model.rpar = new ScilabDouble([]); + this.model.ipar = new ScilabDouble([]); this.model.blocktype = new ScilabString(["c"]); - this.model.firing = []; - this.model.dep_ut = [true,false]; + this.model.firing = new ScilabDouble([]); + this.model.dep_ut = new ScilabDouble([true,false]); var label = [[sci2exp(1)],[sci2exp(1)]]; var gr_i = []; this.x = standard_define([3,2],this.model,label,gr_i); |