diff options
Diffstat (limited to 'js/Linear/SOM_f.js')
-rw-r--r-- | js/Linear/SOM_f.js | 30 |
1 files changed, 15 insertions, 15 deletions
diff --git a/js/Linear/SOM_f.js b/js/Linear/SOM_f.js index 5f1a028d..57198085 100644 --- a/js/Linear/SOM_f.js +++ b/js/Linear/SOM_f.js @@ -1,5 +1,20 @@ /* autogenerated from "macros/Linear/SOM_f.sci" */ function SOM_f() { +SOM_f.prototype.define = function SOM_f() { +sgn=[1,1,1]; +model=scicos_model(); +model.sim=list("sum",2); +model.in1=[-1,-1,-1]; +model.out=-1; +model.rpar=sgn; +model.blocktype="c"; +model.dep_ut=[true,false]; +exprs=[sci2exp(1),sci2exp(sgn)]; +gr_i=[]; +x=standard_define([2,2],model,exprs,gr_i); +} +SOM_f.prototype.details = function SOM_f() { +} SOM_f.prototype.get = function SOM_f() { } SOM_f.prototype.set = function SOM_f() { @@ -22,19 +37,4 @@ str=["This sum block is obsolete","parameters cannot be modified. Please replace str=[str,(part(labs.slice(),1,7)+exprs.slice())]; message(str); } -SOM_f.prototype.define = function SOM_f() { -sgn=[1,1,1]; -model=scicos_model(); -model.sim=list("sum",2); -model.in1=[-1,-1,-1]; -model.out=-1; -model.rpar=sgn; -model.blocktype="c"; -model.dep_ut=[true,false]; -exprs=[sci2exp(1),sci2exp(sgn)]; -gr_i=[]; -x=standard_define([2,2],model,exprs,gr_i); -} -SOM_f.prototype.details = function SOM_f() { -} } |