diff options
author | ASP1234 | 2016-06-23 11:28:01 +0000 |
---|---|---|
committer | ASP1234 | 2016-06-23 11:28:01 +0000 |
commit | d8b0cfac9a71a9c2628c84505cf0f962f3c08f36 (patch) | |
tree | 6b466248f83bb6c97d048ee9013e90d913ff7583 /data_structures_correct/AUTOMAT.js | |
parent | ed3eff9c841637a2aa44f86f1612a315ee423d31 (diff) | |
download | xcos-on-web-d8b0cfac9a71a9c2628c84505cf0f962f3c08f36.tar.gz xcos-on-web-d8b0cfac9a71a9c2628c84505cf0f962f3c08f36.tar.bz2 xcos-on-web-d8b0cfac9a71a9c2628c84505cf0f962f3c08f36.zip |
Beautify js files in DS
Diffstat (limited to 'data_structures_correct/AUTOMAT.js')
-rw-r--r-- | data_structures_correct/AUTOMAT.js | 13 |
1 files changed, 1 insertions, 12 deletions
diff --git a/data_structures_correct/AUTOMAT.js b/data_structures_correct/AUTOMAT.js index 931db5e..cab6287 100644 --- a/data_structures_correct/AUTOMAT.js +++ b/data_structures_correct/AUTOMAT.js @@ -2,26 +2,15 @@ function AUTOMAT() { AUTOMAT.prototype.define = function AUTOMAT() { this.NMode = 2; - this.Minitial = 1; - this.NX = 1; - this.X0 = [0.0]; - - this.XP = [ - [1], - [1] - ]; - + this.XP = [[1],[1]]; this.C1 = [2]; - this.C2 = [1]; var exprs = new ScilabString([this.NMode.toString()], [this.Minitial.toString()], [this.NX.toString()], [sci2exp(this.X0)], [sci2exp(this.XP)], [sci2exp(this.C1)], [sci2exp(this.C2)]); - var ipar = new ScilabDouble([this.NMode], [this.Minitial], [this.NX], ...this.XP, this.C1, this.C2); - var rpar = new ScilabDouble(this.X0); var model = scicos_model(); |