diff options
Diffstat (limited to 'js/Linear/TCLSS_f.js')
-rw-r--r-- | js/Linear/TCLSS_f.js | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/js/Linear/TCLSS_f.js b/js/Linear/TCLSS_f.js index f040dc61..83b72024 100644 --- a/js/Linear/TCLSS_f.js +++ b/js/Linear/TCLSS_f.js @@ -10,13 +10,13 @@ function TCLSS_f() { nx = size(this.x0,"*"); out = 1; this.model = scicos_model(); - this.model.sim = list(new ScilabString("tcslti"),new ScilabDouble(1)); + this.model.sim = list(new ScilabString(["tcslti"]), new ScilabDouble([1])); this.model.in1 = [[in1],[nx]]; - this.model.out = new ScilabDouble(out); - this.model.evtin = new ScilabDouble(1); - this.model.state = new ScilabDouble(this.x0); + this.model.out = new ScilabDouble([out]); + this.model.evtin = new ScilabDouble([1]); + this.model.state = new ScilabDouble([this.x0]); this.model.rpar = [[this.A.slice()],[this.B.slice()],[this.C.slice()],[this.D.slice()]]; - this.model.blocktype = new ScilabString("c"); + this.model.blocktype = new ScilabString(["c"]); this.model.dep_ut = [false,true]; exprs = [[strcat(sci2exp(this.A))],[strcat(sci2exp(this.B))],[strcat(sci2exp(this.C))],[strcat(sci2exp(this.D))],[strcat(sci2exp(this.x0))]]; gr_i = []; @@ -85,9 +85,9 @@ function TCLSS_f() { this.model.state = this.x0.slice(); this.model.rpar = rpar; if (this.D!=[]) { - this.model.sim = list(new ScilabString("tcslti"),new ScilabDouble(1)); + this.model.sim = list(new ScilabString(["tcslti"]), new ScilabDouble([1])); } else { - this.model.sim = list(new ScilabString("tcsltj"),new ScilabDouble(1)); + this.model.sim = list(new ScilabString(["tcsltj"]), new ScilabDouble([1])); } this.x.graphics = graphics; this.x.model = this.model; |