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/Sources/GEN_SQR.js | |
parent | 079d0b4a3ec15a4d7d2644484d116df9d1c694bb (diff) | |
download | sci2js-0047c3bea1d86b12a08544f6f0833c63e77f6eac.tar.gz sci2js-0047c3bea1d86b12a08544f6f0833c63e77f6eac.tar.bz2 sci2js-0047c3bea1d86b12a08544f6f0833c63e77f6eac.zip |
support vector also
Diffstat (limited to 'js/Sources/GEN_SQR.js')
-rw-r--r-- | js/Sources/GEN_SQR.js | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/js/Sources/GEN_SQR.js b/js/Sources/GEN_SQR.js index 29b8af91..17d47993 100644 --- a/js/Sources/GEN_SQR.js +++ b/js/Sources/GEN_SQR.js @@ -20,23 +20,23 @@ function GEN_SQR() { scs_m_1.objs[16-1] = scicos_link(xx=[[48.313686],[48.229901]],yy=[[403.57431],[385.21998]],id="drawlink",thick=[0,0],ct=[5,-1],from=[15,1,0],to=[1,1,1]); this.model = scicos_model(); this.model.sim = new ScilabString(["csuper"]); - this.model.in1 = []; - this.model.in2 = []; + this.model.in1 = new ScilabDouble([]); + this.model.in2 = new ScilabDouble([]); this.model.intyp = new ScilabDouble([1]); this.model.out = new ScilabDouble([-1]); this.model.out2 = new ScilabDouble([-2]); this.model.outtyp = new ScilabDouble([-1]); - this.model.evtin = []; - this.model.evtout = []; - this.model.state = []; - this.model.dstate = []; + this.model.evtin = new ScilabDouble([]); + this.model.evtout = new ScilabDouble([]); + this.model.state = new ScilabDouble([]); + this.model.dstate = new ScilabDouble([]); this.model.odstate = list(); this.model.rpar = new ScilabDouble([scs_m_1]); this.model.ipar = new ScilabDouble([1]); this.model.opar = list(); this.model.blocktype = new ScilabString(["h"]); - this.model.firing = []; - this.model.dep_ut = [false,false]; + this.model.firing = new ScilabDouble([]); + this.model.dep_ut = new ScilabDouble([false,false]); this.model.label = new ScilabString([""]); this.model.nzcross = new ScilabDouble([0]); this.model.nmode = new ScilabDouble([0]); |