diff options
author | Adhitya Kamakshidasan | 2016-07-04 14:09:29 +0530 |
---|---|---|
committer | GitHub | 2016-07-04 14:09:29 +0530 |
commit | d69220e13c669b7730d8401e0803929467a59908 (patch) | |
tree | 9ca3dd556093c03e6591aa0233e7ac6613d5da9a /data_structures_correct/MATZCONJ.js | |
parent | dbdf4e47616be30692dd22814574b92656c2ee4e (diff) | |
parent | d110fd7d6e1f4a4b588b8b7b352bfcd074aff79a (diff) | |
download | xcos-on-web-d69220e13c669b7730d8401e0803929467a59908.tar.gz xcos-on-web-d69220e13c669b7730d8401e0803929467a59908.tar.bz2 xcos-on-web-d69220e13c669b7730d8401e0803929467a59908.zip |
Merge pull request #115 from Pooja-Mahadev-Soundalgekar/master
DS_MATSUM
Diffstat (limited to 'data_structures_correct/MATZCONJ.js')
-rw-r--r-- | data_structures_correct/MATZCONJ.js | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/data_structures_correct/MATZCONJ.js b/data_structures_correct/MATZCONJ.js new file mode 100644 index 0000000..7ef31bf --- /dev/null +++ b/data_structures_correct/MATZCONJ.js @@ -0,0 +1,35 @@ +function MATZCONJ() { + + MATZCONJ.prototype.define = function MATZCONJ() { + this.function_name = "matz_conj"; + this.funtyp = 4; + + var model = scicos_model(); + model.sim = list(new ScilabString([this.function_name]), new ScilabDouble([this.funtyp])); + model.in = new ScilabDouble([-1]); + model.in2 = new ScilabDouble([-2]); + model.intyp = new ScilabDouble([2]); + model.out = new ScilabDouble([-1]); + model.out2 = new ScilabDouble([-2]); + model.outtyp = new ScilabDouble([2]); + model.evtin = new ScilabDouble(); + model.evtout = new ScilabDouble(); + model.state = new ScilabDouble(); + model.dstate = new ScilabDouble(); + model.rpar = new ScilabDouble(); + model.ipar = new ScilabDouble(); + model.blocktype = new ScilabString(["c"]); + model.firing = new ScilabDouble(); + model.dep_ut = new ScilabBoolean([true, false]); + + var label = new ScilabDouble(); + + var gr_i = new ScilabString(["xstringb(orig(1),orig(2),\"MATZCONJ\",sz(1),sz(2));"]); + this.x = new standard_define(new ScilabDouble([2, 2]), model, label, gr_i); + return new BasicBlock(this.x); + } + MATZCONJ.prototype.details = function MATZCONJ() { + return this.x; + } +} + |