diff options
author | Pooja Soundalgekar | 2016-07-03 02:00:15 +0530 |
---|---|---|
committer | Pooja Soundalgekar | 2016-07-03 02:00:15 +0530 |
commit | 48c7dff66d921673fe1c37c8d98d694d0d3a94bb (patch) | |
tree | ac1f161ae82969444d616b7d126a480f2e8e9321 /data_structures_correct | |
parent | 84804a91a611aff7ad31741a8f4f7eae3daf4702 (diff) | |
download | xcos-on-web-48c7dff66d921673fe1c37c8d98d694d0d3a94bb.tar.gz xcos-on-web-48c7dff66d921673fe1c37c8d98d694d0d3a94bb.tar.bz2 xcos-on-web-48c7dff66d921673fe1c37c8d98d694d0d3a94bb.zip |
ds_MATINV
Diffstat (limited to 'data_structures_correct')
-rw-r--r-- | data_structures_correct/MATINV.js | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/data_structures_correct/MATINV.js b/data_structures_correct/MATINV.js new file mode 100644 index 0000000..e118137 --- /dev/null +++ b/data_structures_correct/MATINV.js @@ -0,0 +1,35 @@ +function MATINV() { + + MATINV.prototype.define = function MATINV() { + this.function_name = "mat_inv"; + 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([-1]); + model.intyp = new ScilabDouble([1]); + model.out = new ScilabDouble([-1]); + model.out2 = new ScilabDouble([-1]); + model.outtyp = new ScilabDouble([1]); + 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 ScilabString([sci2exp(1)]); + + var gr_i = new ScilabString(["xstringb(orig(1),orig(2),\"MATINV\",sz(1),sz(2));"]); + this.x = new standard_define(new ScilabDouble([2, 2]), model, label, gr_i); + return new BasicBlock(this.x); + } + MATINV.prototype.details = function MATINV() { + return this.x; + } +} + |