summaryrefslogtreecommitdiff
path: root/data_structures_correct/INTEGRAL_m.js
diff options
context:
space:
mode:
authorPooja Soundalgekar2016-07-02 11:37:05 +0530
committerPooja Soundalgekar2016-07-02 11:37:05 +0530
commitf4388f63c371a1f9d4d875c16184fef8b0cee03c (patch)
tree4209b553f8a5a1d3b91e938438556cb84bc4e6a7 /data_structures_correct/INTEGRAL_m.js
parenta55a501bba0a3dfba511897b12a191035da8400e (diff)
downloadxcos-on-web-f4388f63c371a1f9d4d875c16184fef8b0cee03c.tar.gz
xcos-on-web-f4388f63c371a1f9d4d875c16184fef8b0cee03c.tar.bz2
xcos-on-web-f4388f63c371a1f9d4d875c16184fef8b0cee03c.zip
ds_INTEGRAL_m
Diffstat (limited to 'data_structures_correct/INTEGRAL_m.js')
-rw-r--r--data_structures_correct/INTEGRAL_m.js29
1 files changed, 29 insertions, 0 deletions
diff --git a/data_structures_correct/INTEGRAL_m.js b/data_structures_correct/INTEGRAL_m.js
new file mode 100644
index 0000000..042d5ff
--- /dev/null
+++ b/data_structures_correct/INTEGRAL_m.js
@@ -0,0 +1,29 @@
+function INTEGRAL_m() {
+
+ INTEGRAL_m.prototype.define = function INTEGRAL_m() {
+ this.maxp = 1;
+ this.minp = -1;
+ this.rpar = [];
+
+ var model = scicos_model();
+ model.state = new ScilabDouble([0]);
+ model.sim = list(new ScilabString(["integral_func"]), new ScilabDouble([4]));
+ model.in = new ScilabDouble([1]);
+ model.out = new ScilabDouble([1]);
+ model.in2 = new ScilabDouble([1]);
+ model.out2 = new ScilabDouble([1]);
+ model.rpar = new ScilabDouble();
+ model.blocktype = new ScilabString(["c"]);
+ model.dep_ut = new ScilabBoolean([false, true]);
+
+ var exprs = new ScilabString([0], [0], [0], [this.maxp], [this.minp]);
+
+ var gr_i = new ScilabString(["xstringb(orig(1),orig(2),\"INTEGRAL_m\",sz(1),sz(2));"]);
+ this.x = new standard_define(new ScilabDouble([2, 2]), model, exprs, gr_i);
+ return new BasicBlock(this.x);
+ }
+ INTEGRAL_m.prototype.details = function INTEGRAL_m() {
+ return this.x;
+ }
+}
+