summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAvi Dutta2016-07-06 09:54:57 +0000
committerAvi Dutta2016-07-06 09:54:57 +0000
commiteb2e51f872ec94dc63b6e4f75e4f552dffc86c45 (patch)
tree75d9ada3b629b5a902b94d3dad6230b6c06abd7a
parent3980539f62c0b01b40cc36d4f1f0a896196eff24 (diff)
downloadxcos-on-web-eb2e51f872ec94dc63b6e4f75e4f552dffc86c45.tar.gz
xcos-on-web-eb2e51f872ec94dc63b6e4f75e4f552dffc86c45.tar.bz2
xcos-on-web-eb2e51f872ec94dc63b6e4f75e4f552dffc86c45.zip
Implement SINBLK_f Block
-rw-r--r--data_structures_correct/SINBLK_f.js40
1 files changed, 20 insertions, 20 deletions
diff --git a/data_structures_correct/SINBLK_f.js b/data_structures_correct/SINBLK_f.js
index 2169519..b568ec8 100644
--- a/data_structures_correct/SINBLK_f.js
+++ b/data_structures_correct/SINBLK_f.js
@@ -1,22 +1,22 @@
-function SINBLK_f () {
+function SINBLK_f() {
- SINBLK_f.prototype.define = function SINBLK_f() {
- var model = scicos_model();
- model.sim = new ScilabString(["sinblk"]);
- model.in = new ScilabDouble([-1]);
- model.out = new ScilabDouble([-1]);
- model.blocktype = new ScilabString(["c"]);
- model.dep_ut = new ScilabBoolean([true,false]);
-
- var exprs = " ";
-
- var gr_i = new ScilabString(["xstringb(orig(1),orig(2),\"SINBLK_f\",sz(1),sz(2));"]);
- this.x=new standard_define(new ScilabDouble([2,2]),model,exprs,gr_i);
- return new BasicBlock(this.x);
- }
-
- SINBLK_f.prototype.details = function SINBLK_f() {
- return this.x;
-
- }
+ SINBLK_f.prototype.define = function SINBLK_f() {
+ var model = scicos_model();
+ model.sim = new ScilabString(["sinblk"]);
+ model.in = new ScilabDouble([-1]);
+ model.out = new ScilabDouble([-1]);
+ model.blocktype = new ScilabString(["c"]);
+ model.dep_ut = new ScilabBoolean([true, false]);
+
+ var exprs = " ";
+
+ var gr_i = new ScilabString(["xstringb(orig(1),orig(2),\"SINBLK_f\",sz(1),sz(2));"]);
+ this.x = new standard_define(new ScilabDouble([2,2]), model, exprs, gr_i);
+ return new BasicBlock(this.x);
+ }
+
+ SINBLK_f.prototype.details = function SINBLK_f() {
+ return this.x;
+
+ }
}