diff options
author | Sunil Shetye | 2018-06-25 12:08:56 +0530 |
---|---|---|
committer | Sunil Shetye | 2018-06-25 12:45:27 +0530 |
commit | 7c70459c10aed0d74ee03896abaf47fefdbf7c8f (patch) | |
tree | 6f6acc6a5087295c6e59f0f94bfda5025049d5fa /js/Linear/DERIV.js | |
parent | 870479a2e4b932426a904b2ebae7e4ee72037326 (diff) | |
download | sci2js-7c70459c10aed0d74ee03896abaf47fefdbf7c8f.tar.gz sci2js-7c70459c10aed0d74ee03896abaf47fefdbf7c8f.tar.bz2 sci2js-7c70459c10aed0d74ee03896abaf47fefdbf7c8f.zip |
separate out code for getvalue
Diffstat (limited to 'js/Linear/DERIV.js')
-rw-r--r-- | js/Linear/DERIV.js | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/js/Linear/DERIV.js b/js/Linear/DERIV.js index acec98d0..a3b0b8dc 100644 --- a/js/Linear/DERIV.js +++ b/js/Linear/DERIV.js @@ -1,21 +1,21 @@ /* autogenerated from "macros/Linear/DERIV.sci" */ function DERIV() { DERIV.prototype.define = function DERIV() { -model=scicos_model(); -model.sim=list("deriv",4); -model.in1=-1; -model.out=-1; -model.blocktype="x"; -model.dep_ut=[true,false]; -exprs=[]; -gr_i=[]; -x=standard_define([2,2],model,exprs,gr_i); + model = scicos_model(); + model.sim = list("deriv",4); + model.in1 = -1; + model.out = -1; + model.blocktype = "x"; + model.dep_ut = [true,false]; + exprs = []; + gr_i = []; + x = standard_define([2,2],model,exprs,gr_i); } DERIV.prototype.details = function DERIV() { } DERIV.prototype.get = function DERIV() { } DERIV.prototype.set = function DERIV() { -x=arg1; + x = arg1; } } |