summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPooja Soundalgekar2016-07-04 11:33:56 +0530
committerPooja Soundalgekar2016-07-04 11:33:56 +0530
commitaadc32ef8c641272638a0427f3503e8f4d0959ec (patch)
tree706abc2dc01ecee2ef8f23696a5223159576a1c6
parent6fd3ec309d0d197a7f30ac9be7b29110e02a55cc (diff)
downloadxcos-on-web-aadc32ef8c641272638a0427f3503e8f4d0959ec.tar.gz
xcos-on-web-aadc32ef8c641272638a0427f3503e8f4d0959ec.tar.bz2
xcos-on-web-aadc32ef8c641272638a0427f3503e8f4d0959ec.zip
ds_MATZCONJ
-rw-r--r--data_structures_correct/MATTRAN.js1
-rw-r--r--data_structures_correct/MATZCONJ.js35
2 files changed, 36 insertions, 0 deletions
diff --git a/data_structures_correct/MATTRAN.js b/data_structures_correct/MATTRAN.js
index e8183d9..2ab793a 100644
--- a/data_structures_correct/MATTRAN.js
+++ b/data_structures_correct/MATTRAN.js
@@ -1,6 +1,7 @@
function MATTRAN() {
MATTRAN.prototype.define = function MATTRAN() {
+
var model = scicos_model();
model.sim = list(new ScilabString(["mattran_m"]), new ScilabDouble([4]));
model.in = new ScilabDouble([-1]);
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;
+ }
+}
+