From b2cd0d0cad32683971baf53efa2e50ff8d26f66b Mon Sep 17 00:00:00 2001 From: kamakshidasan Date: Thu, 22 Dec 2016 15:36:18 +0530 Subject: Maven has been removed --- history/data_structures/ABS_VALUE.js | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 history/data_structures/ABS_VALUE.js (limited to 'history/data_structures/ABS_VALUE.js') diff --git a/history/data_structures/ABS_VALUE.js b/history/data_structures/ABS_VALUE.js new file mode 100644 index 0000000..ef569e9 --- /dev/null +++ b/history/data_structures/ABS_VALUE.js @@ -0,0 +1,20 @@ +function ABS_VALUE () { + + + var nu = -1; + + var model = scicos_model(); + model.sim=list(new ScilabString(["absolute_value"]),new ScilabDouble([4])); + model.in1.push(new ScilabDouble([nu])); + model.out=new ScilabDouble([nu]); + model.nzcross=new ScilabDouble([nu]); + model.nmode=new ScilabDouble([nu]); + model.blocktype = new ScilabString(["c"]); + model.dep_ut = new ScilabBoolean([true,false]); + + var exprs = [string([1])]; + + var gr_i = []; + this.x=new standard_define(new ScilabDouble([2,2]),model,exprs,gr_i); + return new BasicBlock(this.x) +} -- cgit