diff options
author | Sunil Shetye | 2018-07-06 10:38:38 +0530 |
---|---|---|
committer | Sunil Shetye | 2018-07-09 12:16:25 +0530 |
commit | 5a28e41a3105338f747b8a30f67000920490c67d (patch) | |
tree | e55c568d243ea8e0ec539f0df20cefbc3e42f3ef /js | |
parent | 200c4cfb3bd50c0b05fdf5b58c6e3671853cc5ad (diff) | |
download | sci2js-5a28e41a3105338f747b8a30f67000920490c67d.tar.gz sci2js-5a28e41a3105338f747b8a30f67000920490c67d.tar.bz2 sci2js-5a28e41a3105338f747b8a30f67000920490c67d.zip |
make string as the default type
Diffstat (limited to 'js')
211 files changed, 740 insertions, 740 deletions
diff --git a/js/Branching/CLKFROM.js b/js/Branching/CLKFROM.js index 74b34549..161e51d1 100644 --- a/js/Branching/CLKFROM.js +++ b/js/Branching/CLKFROM.js @@ -22,7 +22,7 @@ function CLKFROM() { return options; } CLKFROM.prototype.set = function CLKFROM() { - this.tag = parseFloat((arguments[0]["tag"])) + this.tag = arguments[0]["tag"] this.x = arg1; graphics = arg1.graphics; model = arg1.model; diff --git a/js/Branching/CLKGOTO.js b/js/Branching/CLKGOTO.js index a1e82830..66dcb5f5 100644 --- a/js/Branching/CLKGOTO.js +++ b/js/Branching/CLKGOTO.js @@ -25,8 +25,8 @@ function CLKGOTO() { return options; } CLKGOTO.prototype.set = function CLKGOTO() { - this.tag = parseFloat((arguments[0]["tag"])) - this.tagvis = parseFloat((arguments[0]["tagvis"])) + this.tag = arguments[0]["tag"] + this.tagvis = parseFloat(arguments[0]["tagvis"]) this.x = arg1; graphics = arg1.graphics; model = arg1.model; diff --git a/js/Branching/CLKGotoTagVisibility.js b/js/Branching/CLKGotoTagVisibility.js index 56ef9617..89146bb1 100644 --- a/js/Branching/CLKGotoTagVisibility.js +++ b/js/Branching/CLKGotoTagVisibility.js @@ -29,7 +29,7 @@ function CLKGotoTagVisibility() { return options; } CLKGotoTagVisibility.prototype.set = function CLKGotoTagVisibility() { - this.tag = parseFloat((arguments[0]["tag"])) + this.tag = arguments[0]["tag"] this.x = arg1; graphics = arg1.graphics; exprs = graphics.exprs; diff --git a/js/Branching/DEMUX.js b/js/Branching/DEMUX.js index 1df1efaa..5e7565b7 100644 --- a/js/Branching/DEMUX.js +++ b/js/Branching/DEMUX.js @@ -25,7 +25,7 @@ function DEMUX() { return options; } DEMUX.prototype.set = function DEMUX() { - this.out = parseFloat((arguments[0]["out"])) + this.out = parseFloat(arguments[0]["out"]) this.x = arg1; graphics = arg1.graphics; exprs = graphics.exprs; diff --git a/js/Branching/DEMUX_f.js b/js/Branching/DEMUX_f.js index f29ff646..2338aaa1 100644 --- a/js/Branching/DEMUX_f.js +++ b/js/Branching/DEMUX_f.js @@ -25,7 +25,7 @@ function DEMUX_f() { return options; } DEMUX_f.prototype.set = function DEMUX_f() { - this.out = parseFloat((arguments[0]["out"])) + this.out = parseFloat(arguments[0]["out"]) this.x = arg1; graphics = arg1.graphics; exprs = graphics.exprs; diff --git a/js/Branching/ESELECT_f.js b/js/Branching/ESELECT_f.js index 85c98ad4..4f68c633 100644 --- a/js/Branching/ESELECT_f.js +++ b/js/Branching/ESELECT_f.js @@ -31,9 +31,9 @@ function ESELECT_f() { return options; } ESELECT_f.prototype.set = function ESELECT_f() { - this.out = parseFloat((arguments[0]["out"])) - this.inh = parseFloat((arguments[0]["inh"])) - this.nmod = parseFloat((arguments[0]["nmod"])) + this.out = parseFloat(arguments[0]["out"]) + this.inh = parseFloat(arguments[0]["inh"]) + this.nmod = parseFloat(arguments[0]["nmod"]) this.x = arg1; graphics = arg1.graphics; exprs = graphics.exprs; diff --git a/js/Branching/EXTRACTOR.js b/js/Branching/EXTRACTOR.js index c00eba54..c12592d9 100644 --- a/js/Branching/EXTRACTOR.js +++ b/js/Branching/EXTRACTOR.js @@ -24,7 +24,7 @@ function EXTRACTOR() { return options; } EXTRACTOR.prototype.set = function EXTRACTOR() { - this.ind = parseFloat((arguments[0]["ind"])) + this.ind = parseFloat(arguments[0]["ind"]) this.x = arg1; graphics = arg1.graphics; exprs = graphics.exprs; diff --git a/js/Branching/FROM.js b/js/Branching/FROM.js index d24038a3..f3e50289 100644 --- a/js/Branching/FROM.js +++ b/js/Branching/FROM.js @@ -29,7 +29,7 @@ function FROM() { return options; } FROM.prototype.set = function FROM() { - this.tag = parseFloat((arguments[0]["tag"])) + this.tag = arguments[0]["tag"] this.x = arg1; graphics = arg1.graphics; exprs = graphics.exprs; diff --git a/js/Branching/FROMMO.js b/js/Branching/FROMMO.js index 2c695023..e72205b8 100644 --- a/js/Branching/FROMMO.js +++ b/js/Branching/FROMMO.js @@ -32,7 +32,7 @@ function FROMMO() { return options; } FROMMO.prototype.set = function FROMMO() { - this.tag = parseFloat((arguments[0]["tag"])) + this.tag = arguments[0]["tag"] this.x = arg1; graphics = arg1.graphics; exprs = graphics.exprs; diff --git a/js/Branching/GOTO.js b/js/Branching/GOTO.js index 766a5206..137b92df 100644 --- a/js/Branching/GOTO.js +++ b/js/Branching/GOTO.js @@ -30,8 +30,8 @@ function GOTO() { return options; } GOTO.prototype.set = function GOTO() { - this.tag = parseFloat((arguments[0]["tag"])) - this.tagvis = parseFloat((arguments[0]["tagvis"])) + this.tag = arguments[0]["tag"] + this.tagvis = parseFloat(arguments[0]["tagvis"]) this.x = arg1; graphics = arg1.graphics; exprs = graphics.exprs; diff --git a/js/Branching/GOTOMO.js b/js/Branching/GOTOMO.js index 91c5305b..037755d0 100644 --- a/js/Branching/GOTOMO.js +++ b/js/Branching/GOTOMO.js @@ -33,8 +33,8 @@ function GOTOMO() { return options; } GOTOMO.prototype.set = function GOTOMO() { - this.tag = parseFloat((arguments[0]["tag"])) - this.tagvis = parseFloat((arguments[0]["tagvis"])) + this.tag = arguments[0]["tag"] + this.tagvis = parseFloat(arguments[0]["tagvis"]) this.x = arg1; graphics = arg1.graphics; exprs = graphics.exprs; diff --git a/js/Branching/GotoTagVisibility.js b/js/Branching/GotoTagVisibility.js index 10491dd0..f1f8b7f9 100644 --- a/js/Branching/GotoTagVisibility.js +++ b/js/Branching/GotoTagVisibility.js @@ -29,7 +29,7 @@ function GotoTagVisibility() { return options; } GotoTagVisibility.prototype.set = function GotoTagVisibility() { - this.tag = parseFloat((arguments[0]["tag"])) + this.tag = arguments[0]["tag"] this.x = arg1; graphics = arg1.graphics; exprs = graphics.exprs; diff --git a/js/Branching/GotoTagVisibilityMO.js b/js/Branching/GotoTagVisibilityMO.js index 0dfb2150..3c8577b5 100644 --- a/js/Branching/GotoTagVisibilityMO.js +++ b/js/Branching/GotoTagVisibilityMO.js @@ -29,7 +29,7 @@ function GotoTagVisibilityMO() { return options; } GotoTagVisibilityMO.prototype.set = function GotoTagVisibilityMO() { - this.tag = parseFloat((arguments[0]["tag"])) + this.tag = arguments[0]["tag"] this.x = arg1; graphics = arg1.graphics; exprs = graphics.exprs; diff --git a/js/Branching/ISELECT_f.js b/js/Branching/ISELECT_f.js index 4f4a796a..dec270a2 100644 --- a/js/Branching/ISELECT_f.js +++ b/js/Branching/ISELECT_f.js @@ -28,8 +28,8 @@ function ISELECT_f() { return options; } ISELECT_f.prototype.set = function ISELECT_f() { - this.nout = parseFloat((arguments[0]["nout"])) - this.z0 = parseFloat((arguments[0]["z0"])) + this.nout = parseFloat(arguments[0]["nout"]) + this.z0 = parseFloat(arguments[0]["z0"]) this.x = arg1; graphics = arg1.graphics; exprs = graphics.exprs; diff --git a/js/Branching/ISELECT_m.js b/js/Branching/ISELECT_m.js index 20558271..0b4a226b 100644 --- a/js/Branching/ISELECT_m.js +++ b/js/Branching/ISELECT_m.js @@ -37,9 +37,9 @@ function ISELECT_m() { return options; } ISELECT_m.prototype.set = function ISELECT_m() { - this.typ = inverse((arguments[0]["typ"])) - this.nout = parseFloat((arguments[0]["nout"])) - this.z0 = parseFloat((arguments[0]["z0"])) + this.typ = inverse(arguments[0]["typ"]) + this.nout = parseFloat(arguments[0]["nout"]) + this.z0 = parseFloat(arguments[0]["z0"]) this.x = arg1; graphics = arg1.graphics; exprs = graphics.exprs; diff --git a/js/Branching/MUX.js b/js/Branching/MUX.js index 60099a23..94582aaa 100644 --- a/js/Branching/MUX.js +++ b/js/Branching/MUX.js @@ -23,7 +23,7 @@ function MUX() { return options; } MUX.prototype.set = function MUX() { - this.in1 = parseFloat((arguments[0]["in1"])) + this.in1 = parseFloat(arguments[0]["in1"]) this.x = arg1; graphics = arg1.graphics; exprs = graphics.exprs; diff --git a/js/Branching/MUX_f.js b/js/Branching/MUX_f.js index 1d003c87..1feace87 100644 --- a/js/Branching/MUX_f.js +++ b/js/Branching/MUX_f.js @@ -23,7 +23,7 @@ function MUX_f() { return options; } MUX_f.prototype.set = function MUX_f() { - this.in1 = parseFloat((arguments[0]["in1"])) + this.in1 = parseFloat(arguments[0]["in1"]) this.x = arg1; graphics = arg1.graphics; exprs = graphics.exprs; diff --git a/js/Branching/M_SWITCH.js b/js/Branching/M_SWITCH.js index 4c531d1b..f38c1991 100644 --- a/js/Branching/M_SWITCH.js +++ b/js/Branching/M_SWITCH.js @@ -28,9 +28,9 @@ function M_SWITCH() { return options; } M_SWITCH.prototype.set = function M_SWITCH() { - this.nin = parseFloat((arguments[0]["nin"])) - this.base = parseFloat((arguments[0]["base"])) - this.rule = parseFloat((arguments[0]["rule"])) + this.nin = parseFloat(arguments[0]["nin"]) + this.base = parseFloat(arguments[0]["base"]) + this.rule = arguments[0]["rule"] this.x = arg1; graphics = arg1.graphics; exprs = graphics.exprs; diff --git a/js/Branching/NRMSOM_f.js b/js/Branching/NRMSOM_f.js index 9878558c..72d5ea26 100644 --- a/js/Branching/NRMSOM_f.js +++ b/js/Branching/NRMSOM_f.js @@ -24,7 +24,7 @@ function NRMSOM_f() { return options; } NRMSOM_f.prototype.set = function NRMSOM_f() { - this.nin = parseFloat((arguments[0]["nin"])) + this.nin = parseFloat(arguments[0]["nin"]) this.x = arg1; graphics = arg1.graphics; exprs = graphics.exprs; diff --git a/js/Branching/RELAY_f.js b/js/Branching/RELAY_f.js index 190b4621..53b3019b 100644 --- a/js/Branching/RELAY_f.js +++ b/js/Branching/RELAY_f.js @@ -29,8 +29,8 @@ function RELAY_f() { return options; } RELAY_f.prototype.set = function RELAY_f() { - this.nin = parseFloat((arguments[0]["nin"])) - this.z0 = parseFloat((arguments[0]["z0"])) + this.nin = parseFloat(arguments[0]["nin"]) + this.z0 = arguments[0]["z0"] this.x = arg1; graphics = arg1.graphics; exprs = graphics.exprs; diff --git a/js/Branching/SCALAR2VECTOR.js b/js/Branching/SCALAR2VECTOR.js index 71373eaf..7167886d 100644 --- a/js/Branching/SCALAR2VECTOR.js +++ b/js/Branching/SCALAR2VECTOR.js @@ -23,7 +23,7 @@ function SCALAR2VECTOR() { return options; } SCALAR2VECTOR.prototype.set = function SCALAR2VECTOR() { - this.nout = parseFloat((arguments[0]["nout"])) + this.nout = parseFloat(arguments[0]["nout"]) this.x = arg1; graphics = arg1.graphics; exprs = graphics.exprs; diff --git a/js/Branching/SELECT_f.js b/js/Branching/SELECT_f.js index 3a64bc60..4fc32b71 100644 --- a/js/Branching/SELECT_f.js +++ b/js/Branching/SELECT_f.js @@ -28,8 +28,8 @@ function SELECT_f() { return options; } SELECT_f.prototype.set = function SELECT_f() { - this.nin = parseFloat((arguments[0]["nin"])) - this.z0 = parseFloat((arguments[0]["z0"])) + this.nin = parseFloat(arguments[0]["nin"]) + this.z0 = parseFloat(arguments[0]["z0"]) this.x = arg1; graphics = arg1.graphics; exprs = graphics.exprs; diff --git a/js/Branching/SELECT_m.js b/js/Branching/SELECT_m.js index aef3a43f..70c29d24 100644 --- a/js/Branching/SELECT_m.js +++ b/js/Branching/SELECT_m.js @@ -37,9 +37,9 @@ function SELECT_m() { return options; } SELECT_m.prototype.set = function SELECT_m() { - this.typ = inverse((arguments[0]["typ"])) - this.nin = parseFloat((arguments[0]["nin"])) - this.z0 = parseFloat((arguments[0]["z0"])) + this.typ = inverse(arguments[0]["typ"]) + this.nin = parseFloat(arguments[0]["nin"]) + this.z0 = parseFloat(arguments[0]["z0"]) this.x = arg1; graphics = arg1.graphics; exprs = graphics.exprs; diff --git a/js/Branching/SWITCH2.js b/js/Branching/SWITCH2.js index 3b338dc2..4054ef85 100644 --- a/js/Branching/SWITCH2.js +++ b/js/Branching/SWITCH2.js @@ -32,9 +32,9 @@ function SWITCH2() { return options; } SWITCH2.prototype.set = function SWITCH2() { - this.rule = parseFloat((arguments[0]["rule"])) - this.thra = parseFloat((arguments[0]["thra"])) - this.nzz = parseFloat((arguments[0]["nzz"])) + this.rule = parseFloat(arguments[0]["rule"]) + this.thra = arguments[0]["thra"] + this.nzz = parseFloat(arguments[0]["nzz"]) this.x = arg1; graphics = arg1.graphics; exprs = graphics.exprs; diff --git a/js/Branching/SWITCH2_m.js b/js/Branching/SWITCH2_m.js index c386ff62..6797c0b8 100644 --- a/js/Branching/SWITCH2_m.js +++ b/js/Branching/SWITCH2_m.js @@ -36,10 +36,10 @@ function SWITCH2_m() { return options; } SWITCH2_m.prototype.set = function SWITCH2_m() { - this.ot = parseFloat((arguments[0]["ot"])) - this.rule = parseFloat((arguments[0]["rule"])) - this.thra = parseFloat((arguments[0]["thra"])) - this.nzz = parseFloat((arguments[0]["nzz"])) + this.ot = arguments[0]["ot"] + this.rule = parseFloat(arguments[0]["rule"]) + this.thra = arguments[0]["thra"] + this.nzz = parseFloat(arguments[0]["nzz"]) this.x = arg1; graphics = arg1.graphics; exprs = graphics.exprs; diff --git a/js/Branching/SWITCH_f.js b/js/Branching/SWITCH_f.js index 61347cf2..47b4f087 100644 --- a/js/Branching/SWITCH_f.js +++ b/js/Branching/SWITCH_f.js @@ -28,8 +28,8 @@ function SWITCH_f() { return options; } SWITCH_f.prototype.set = function SWITCH_f() { - this.nin = parseFloat((arguments[0]["nin"])) - this.z0 = parseFloat((arguments[0]["z0"])) + this.nin = parseFloat(arguments[0]["nin"]) + this.z0 = arguments[0]["z0"] this.x = arg1; graphics = arg1.graphics; exprs = graphics.exprs; diff --git a/js/Electrical/Capacitor.js b/js/Electrical/Capacitor.js index 478d4f5d..c2d112a7 100644 --- a/js/Electrical/Capacitor.js +++ b/js/Electrical/Capacitor.js @@ -34,8 +34,8 @@ function Capacitor() { return options; } Capacitor.prototype.set = function Capacitor() { - this.C = parseFloat((arguments[0]["C"])) - this.v = parseFloat((arguments[0]["v"])) + this.C = parseFloat(arguments[0]["C"]) + this.v = parseFloat(arguments[0]["v"]) this.x = arg1; graphics = arg1.graphics; exprs = graphics.exprs; diff --git a/js/Electrical/ConstantVoltage.js b/js/Electrical/ConstantVoltage.js index 1d73e05d..afb791b1 100644 --- a/js/Electrical/ConstantVoltage.js +++ b/js/Electrical/ConstantVoltage.js @@ -31,7 +31,7 @@ function ConstantVoltage() { return options; } ConstantVoltage.prototype.set = function ConstantVoltage() { - this.V = parseFloat((arguments[0]["V"])) + this.V = parseFloat(arguments[0]["V"]) this.x = arg1; graphics = arg1.graphics; exprs = graphics.exprs; diff --git a/js/Electrical/Diode.js b/js/Electrical/Diode.js index 645cca15..07c96fcc 100644 --- a/js/Electrical/Diode.js +++ b/js/Electrical/Diode.js @@ -38,10 +38,10 @@ function Diode() { return options; } Diode.prototype.set = function Diode() { - this.Ids = parseFloat((arguments[0]["Ids"])) - this.Vt = parseFloat((arguments[0]["Vt"])) - this.Maxexp = parseFloat((arguments[0]["Maxexp"])) - this.R = parseFloat((arguments[0]["R"])) + this.Ids = parseFloat(arguments[0]["Ids"]) + this.Vt = parseFloat(arguments[0]["Vt"]) + this.Maxexp = parseFloat(arguments[0]["Maxexp"]) + this.R = parseFloat(arguments[0]["R"]) this.x = arg1; graphics = arg1.graphics; exprs = graphics.exprs; diff --git a/js/Electrical/Gyrator.js b/js/Electrical/Gyrator.js index 0b0ec7dd..988d2f0c 100644 --- a/js/Electrical/Gyrator.js +++ b/js/Electrical/Gyrator.js @@ -60,8 +60,8 @@ function Gyrator() { return options; } Gyrator.prototype.set = function Gyrator() { - this.G1 = parseFloat((arguments[0]["G1"])) - this.G2 = parseFloat((arguments[0]["G2"])) + this.G1 = arguments[0]["G1"] + this.G2 = arguments[0]["G2"] this.x = arg1; graphics = arg1.graphics; exprs = graphics.exprs; diff --git a/js/Electrical/IdealTransformer.js b/js/Electrical/IdealTransformer.js index f74a402d..0eb36484 100644 --- a/js/Electrical/IdealTransformer.js +++ b/js/Electrical/IdealTransformer.js @@ -59,7 +59,7 @@ function IdealTransformer() { return options; } IdealTransformer.prototype.set = function IdealTransformer() { - this.N = parseFloat((arguments[0]["N"])) + this.N = arguments[0]["N"] this.x = arg1; graphics = arg1.graphics; exprs = graphics.exprs; diff --git a/js/Electrical/Inductor.js b/js/Electrical/Inductor.js index 98ca66a8..f7452810 100644 --- a/js/Electrical/Inductor.js +++ b/js/Electrical/Inductor.js @@ -31,7 +31,7 @@ function Inductor() { return options; } Inductor.prototype.set = function Inductor() { - this.L = parseFloat((arguments[0]["L"])) + this.L = parseFloat(arguments[0]["L"]) this.x = arg1; graphics = arg1.graphics; exprs = graphics.exprs; diff --git a/js/Electrical/NMOS.js b/js/Electrical/NMOS.js index 9d8acf42..06efb39c 100644 --- a/js/Electrical/NMOS.js +++ b/js/Electrical/NMOS.js @@ -47,15 +47,15 @@ function NMOS() { return options; } NMOS.prototype.set = function NMOS() { - this.W = parseFloat((arguments[0]["W"])) - this.L = parseFloat((arguments[0]["L"])) - this.Beta = parseFloat((arguments[0]["Beta"])) - this.Vt = parseFloat((arguments[0]["Vt"])) - this.K2 = parseFloat((arguments[0]["K2"])) - this.K5 = parseFloat((arguments[0]["K5"])) - this.dW = parseFloat((arguments[0]["dW"])) - this.dL = parseFloat((arguments[0]["dL"])) - this.RDS = parseFloat((arguments[0]["RDS"])) + this.W = parseFloat(arguments[0]["W"]) + this.L = parseFloat(arguments[0]["L"]) + this.Beta = parseFloat(arguments[0]["Beta"]) + this.Vt = parseFloat(arguments[0]["Vt"]) + this.K2 = parseFloat(arguments[0]["K2"]) + this.K5 = parseFloat(arguments[0]["K5"]) + this.dW = parseFloat(arguments[0]["dW"]) + this.dL = parseFloat(arguments[0]["dL"]) + this.RDS = parseFloat(arguments[0]["RDS"]) this.x = arg1; graphics = arg1.graphics; exprs = graphics.exprs; diff --git a/js/Electrical/NPN.js b/js/Electrical/NPN.js index b54740fa..e8f8d167 100644 --- a/js/Electrical/NPN.js +++ b/js/Electrical/NPN.js @@ -75,23 +75,23 @@ function NPN() { return options; } NPN.prototype.set = function NPN() { - this.Bf = parseFloat((arguments[0]["Bf"])) - this.Br = parseFloat((arguments[0]["Br"])) - this.Is = parseFloat((arguments[0]["Is"])) - this.Vak = parseFloat((arguments[0]["Vak"])) - this.Tauf = parseFloat((arguments[0]["Tauf"])) - this.Taur = parseFloat((arguments[0]["Taur"])) - this.Ccs = parseFloat((arguments[0]["Ccs"])) - this.Cje = parseFloat((arguments[0]["Cje"])) - this.Cjc = parseFloat((arguments[0]["Cjc"])) - this.Phie = parseFloat((arguments[0]["Phie"])) - this.Me = parseFloat((arguments[0]["Me"])) - this.Phic = parseFloat((arguments[0]["Phic"])) - this.Mc = parseFloat((arguments[0]["Mc"])) - this.Gbc = parseFloat((arguments[0]["Gbc"])) - this.Gbe = parseFloat((arguments[0]["Gbe"])) - this.Vt = parseFloat((arguments[0]["Vt"])) - this.EMinMax = parseFloat((arguments[0]["EMinMax"])) + this.Bf = arguments[0]["Bf"] + this.Br = arguments[0]["Br"] + this.Is = arguments[0]["Is"] + this.Vak = arguments[0]["Vak"] + this.Tauf = arguments[0]["Tauf"] + this.Taur = arguments[0]["Taur"] + this.Ccs = arguments[0]["Ccs"] + this.Cje = arguments[0]["Cje"] + this.Cjc = arguments[0]["Cjc"] + this.Phie = arguments[0]["Phie"] + this.Me = arguments[0]["Me"] + this.Phic = arguments[0]["Phic"] + this.Mc = arguments[0]["Mc"] + this.Gbc = arguments[0]["Gbc"] + this.Gbe = arguments[0]["Gbe"] + this.Vt = arguments[0]["Vt"] + this.EMinMax = arguments[0]["EMinMax"] this.x = arg1; graphics = arg1.graphics; exprs = graphics.exprs; diff --git a/js/Electrical/OpAmp.js b/js/Electrical/OpAmp.js index b056b0b0..df6e5e00 100644 --- a/js/Electrical/OpAmp.js +++ b/js/Electrical/OpAmp.js @@ -35,9 +35,9 @@ function OpAmp() { return options; } OpAmp.prototype.set = function OpAmp() { - this.OLGain = parseFloat((arguments[0]["OLGain"])) - this.SatH = parseFloat((arguments[0]["SatH"])) - this.SatL = parseFloat((arguments[0]["SatL"])) + this.OLGain = arguments[0]["OLGain"] + this.SatH = arguments[0]["SatH"] + this.SatL = arguments[0]["SatL"] this.x = arg1; graphics = arg1.graphics; exprs = graphics.exprs; diff --git a/js/Electrical/PMOS.js b/js/Electrical/PMOS.js index 103e399d..4d2a2d7f 100644 --- a/js/Electrical/PMOS.js +++ b/js/Electrical/PMOS.js @@ -47,15 +47,15 @@ function PMOS() { return options; } PMOS.prototype.set = function PMOS() { - this.W = parseFloat((arguments[0]["W"])) - this.L = parseFloat((arguments[0]["L"])) - this.Beta = parseFloat((arguments[0]["Beta"])) - this.Vt = parseFloat((arguments[0]["Vt"])) - this.K2 = parseFloat((arguments[0]["K2"])) - this.K5 = parseFloat((arguments[0]["K5"])) - this.dW = parseFloat((arguments[0]["dW"])) - this.dL = parseFloat((arguments[0]["dL"])) - this.RDS = parseFloat((arguments[0]["RDS"])) + this.W = parseFloat(arguments[0]["W"]) + this.L = parseFloat(arguments[0]["L"]) + this.Beta = parseFloat(arguments[0]["Beta"]) + this.Vt = parseFloat(arguments[0]["Vt"]) + this.K2 = parseFloat(arguments[0]["K2"]) + this.K5 = parseFloat(arguments[0]["K5"]) + this.dW = parseFloat(arguments[0]["dW"]) + this.dL = parseFloat(arguments[0]["dL"]) + this.RDS = parseFloat(arguments[0]["RDS"]) this.x = arg1; graphics = arg1.graphics; exprs = graphics.exprs; diff --git a/js/Electrical/PNP.js b/js/Electrical/PNP.js index 088914ec..ecb4cc99 100644 --- a/js/Electrical/PNP.js +++ b/js/Electrical/PNP.js @@ -75,23 +75,23 @@ function PNP() { return options; } PNP.prototype.set = function PNP() { - this.Bf = parseFloat((arguments[0]["Bf"])) - this.Br = parseFloat((arguments[0]["Br"])) - this.Is = parseFloat((arguments[0]["Is"])) - this.Vak = parseFloat((arguments[0]["Vak"])) - this.Tauf = parseFloat((arguments[0]["Tauf"])) - this.Taur = parseFloat((arguments[0]["Taur"])) - this.Ccs = parseFloat((arguments[0]["Ccs"])) - this.Cje = parseFloat((arguments[0]["Cje"])) - this.Cjc = parseFloat((arguments[0]["Cjc"])) - this.Phie = parseFloat((arguments[0]["Phie"])) - this.Me = parseFloat((arguments[0]["Me"])) - this.Phic = parseFloat((arguments[0]["Phic"])) - this.Mc = parseFloat((arguments[0]["Mc"])) - this.Gbc = parseFloat((arguments[0]["Gbc"])) - this.Gbe = parseFloat((arguments[0]["Gbe"])) - this.Vt = parseFloat((arguments[0]["Vt"])) - this.EMinMax = parseFloat((arguments[0]["EMinMax"])) + this.Bf = arguments[0]["Bf"] + this.Br = arguments[0]["Br"] + this.Is = arguments[0]["Is"] + this.Vak = arguments[0]["Vak"] + this.Tauf = arguments[0]["Tauf"] + this.Taur = arguments[0]["Taur"] + this.Ccs = arguments[0]["Ccs"] + this.Cje = arguments[0]["Cje"] + this.Cjc = arguments[0]["Cjc"] + this.Phie = arguments[0]["Phie"] + this.Me = arguments[0]["Me"] + this.Phic = arguments[0]["Phic"] + this.Mc = arguments[0]["Mc"] + this.Gbc = arguments[0]["Gbc"] + this.Gbe = arguments[0]["Gbe"] + this.Vt = arguments[0]["Vt"] + this.EMinMax = arguments[0]["EMinMax"] this.x = arg1; graphics = arg1.graphics; exprs = graphics.exprs; diff --git a/js/Electrical/Resistor.js b/js/Electrical/Resistor.js index 7c6147d6..be2d95bf 100644 --- a/js/Electrical/Resistor.js +++ b/js/Electrical/Resistor.js @@ -31,7 +31,7 @@ function Resistor() { return options; } Resistor.prototype.set = function Resistor() { - this.R = parseFloat((arguments[0]["R"])) + this.R = parseFloat(arguments[0]["R"]) this.x = arg1; graphics = arg1.graphics; exprs = graphics.exprs; diff --git a/js/Electrical/SineVoltage.js b/js/Electrical/SineVoltage.js index c92aeefc..cd36b471 100644 --- a/js/Electrical/SineVoltage.js +++ b/js/Electrical/SineVoltage.js @@ -40,11 +40,11 @@ function SineVoltage() { return options; } SineVoltage.prototype.set = function SineVoltage() { - this.V = parseFloat((arguments[0]["V"])) - this.ph = parseFloat((arguments[0]["ph"])) - this.frq = parseFloat((arguments[0]["frq"])) - this.offset = parseFloat((arguments[0]["offset"])) - this.start = parseFloat((arguments[0]["start"])) + this.V = parseFloat(arguments[0]["V"]) + this.ph = parseFloat(arguments[0]["ph"]) + this.frq = parseFloat(arguments[0]["frq"]) + this.offset = parseFloat(arguments[0]["offset"]) + this.start = parseFloat(arguments[0]["start"]) this.x = arg1; graphics = arg1.graphics; exprs = graphics.exprs; diff --git a/js/Electrical/Switch.js b/js/Electrical/Switch.js index 46e66473..eff6b74e 100644 --- a/js/Electrical/Switch.js +++ b/js/Electrical/Switch.js @@ -36,8 +36,8 @@ function Switch() { return options; } Switch.prototype.set = function Switch() { - this.Ron = parseFloat((arguments[0]["Ron"])) - this.Roff = parseFloat((arguments[0]["Roff"])) + this.Ron = parseFloat(arguments[0]["Ron"]) + this.Roff = parseFloat(arguments[0]["Roff"]) this.x = arg1; graphics = arg1.graphics; exprs = graphics.exprs; diff --git a/js/Electrical/VVsourceAC.js b/js/Electrical/VVsourceAC.js index 8b56a29e..228d84ac 100644 --- a/js/Electrical/VVsourceAC.js +++ b/js/Electrical/VVsourceAC.js @@ -33,7 +33,7 @@ function VVsourceAC() { return options; } VVsourceAC.prototype.set = function VVsourceAC() { - this.FR = parseFloat((arguments[0]["FR"])) + this.FR = parseFloat(arguments[0]["FR"]) this.x = arg1; graphics = arg1.graphics; exprs = graphics.exprs; diff --git a/js/Electrical/VsourceAC.js b/js/Electrical/VsourceAC.js index 527a1bfd..9dd180d9 100644 --- a/js/Electrical/VsourceAC.js +++ b/js/Electrical/VsourceAC.js @@ -34,8 +34,8 @@ function VsourceAC() { return options; } VsourceAC.prototype.set = function VsourceAC() { - this.VA = parseFloat((arguments[0]["VA"])) - this.FR = parseFloat((arguments[0]["FR"])) + this.VA = parseFloat(arguments[0]["VA"]) + this.FR = parseFloat(arguments[0]["FR"]) this.x = arg1; graphics = arg1.graphics; exprs = graphics.exprs; diff --git a/js/Events/END_c.js b/js/Events/END_c.js index 0d48613d..c9d0dec4 100644 --- a/js/Events/END_c.js +++ b/js/Events/END_c.js @@ -24,7 +24,7 @@ function END_c() { return options; } END_c.prototype.set = function END_c() { - this.tf = parseFloat((arguments[0]["tf"])) + this.tf = parseFloat(arguments[0]["tf"]) this.x = arg1; graphics = arg1.graphics; exprs = graphics.exprs; diff --git a/js/Events/EVTDLY_c.js b/js/Events/EVTDLY_c.js index 43dcfa92..75989e4e 100644 --- a/js/Events/EVTDLY_c.js +++ b/js/Events/EVTDLY_c.js @@ -27,8 +27,8 @@ function EVTDLY_c() { return options; } EVTDLY_c.prototype.set = function EVTDLY_c() { - this.dt = parseFloat((arguments[0]["dt"])) - this.ff = parseFloat((arguments[0]["ff"])) + this.dt = parseFloat(arguments[0]["dt"]) + this.ff = parseFloat(arguments[0]["ff"]) this.x = arg1; graphics = arg1.graphics; exprs = graphics.exprs; diff --git a/js/Events/EVTDLY_f.js b/js/Events/EVTDLY_f.js index 9163c489..6086f551 100644 --- a/js/Events/EVTDLY_f.js +++ b/js/Events/EVTDLY_f.js @@ -27,8 +27,8 @@ function EVTDLY_f() { return options; } EVTDLY_f.prototype.set = function EVTDLY_f() { - this.dt = parseFloat((arguments[0]["dt"])) - this.ff = parseFloat((arguments[0]["ff"])) + this.dt = parseFloat(arguments[0]["dt"]) + this.ff = parseFloat(arguments[0]["ff"]) this.x = arg1; graphics = arg1.graphics; exprs = graphics.exprs; diff --git a/js/Events/EVTGEN_f.js b/js/Events/EVTGEN_f.js index 78b69440..88f22b4a 100644 --- a/js/Events/EVTGEN_f.js +++ b/js/Events/EVTGEN_f.js @@ -23,7 +23,7 @@ function EVTGEN_f() { return options; } EVTGEN_f.prototype.set = function EVTGEN_f() { - this.tt = parseFloat((arguments[0]["tt"])) + this.tt = parseFloat(arguments[0]["tt"]) this.x = arg1; graphics = arg1.graphics; exprs = graphics.exprs; diff --git a/js/Events/EVTVARDLY.js b/js/Events/EVTVARDLY.js index 09f064a8..8ec13eb1 100644 --- a/js/Events/EVTVARDLY.js +++ b/js/Events/EVTVARDLY.js @@ -24,7 +24,7 @@ function EVTVARDLY() { return options; } EVTVARDLY.prototype.set = function EVTVARDLY() { - this.fir = parseFloat((arguments[0]["fir"])) + this.fir = arguments[0]["fir"] this.x = arg1; graphics = arg1.graphics; exprs = graphics.exprs; diff --git a/js/Events/HALT_f.js b/js/Events/HALT_f.js index 053e461c..91f1f1dd 100644 --- a/js/Events/HALT_f.js +++ b/js/Events/HALT_f.js @@ -24,7 +24,7 @@ function HALT_f() { return options; } HALT_f.prototype.set = function HALT_f() { - this.n = parseFloat((arguments[0]["n"])) + this.n = parseFloat(arguments[0]["n"]) this.x = arg1; graphics = arg1.graphics; exprs = graphics.exprs; diff --git a/js/Events/IFTHEL_f.js b/js/Events/IFTHEL_f.js index 8c6f0c80..0f74c9f1 100644 --- a/js/Events/IFTHEL_f.js +++ b/js/Events/IFTHEL_f.js @@ -29,8 +29,8 @@ function IFTHEL_f() { return options; } IFTHEL_f.prototype.set = function IFTHEL_f() { - this.inh = inverse((arguments[0]["inh"])) - this.nmod = parseFloat((arguments[0]["nmod"])) + this.inh = inverse(arguments[0]["inh"]) + this.nmod = parseFloat(arguments[0]["nmod"]) this.x = arg1; graphics = arg1.graphics; exprs = graphics.exprs; diff --git a/js/Events/MFCLCK_f.js b/js/Events/MFCLCK_f.js index 628444f9..e3b49352 100644 --- a/js/Events/MFCLCK_f.js +++ b/js/Events/MFCLCK_f.js @@ -29,8 +29,8 @@ function MFCLCK_f() { return options; } MFCLCK_f.prototype.set = function MFCLCK_f() { - this.dt = parseFloat((arguments[0]["dt"])) - this.nn = parseFloat((arguments[0]["nn"])) + this.dt = parseFloat(arguments[0]["dt"]) + this.nn = parseFloat(arguments[0]["nn"]) this.x = arg1; graphics = arg1.graphics; exprs = graphics.exprs; diff --git a/js/Events/M_freq.js b/js/Events/M_freq.js index 1c15a2e1..9d9d7da7 100644 --- a/js/Events/M_freq.js +++ b/js/Events/M_freq.js @@ -26,8 +26,8 @@ function M_freq() { return options; } M_freq.prototype.set = function M_freq() { - this.frequ = inverse((arguments[0]["frequ"])) - this.offset = inverse((arguments[0]["offset"])) + this.frequ = inverse(arguments[0]["frequ"]) + this.offset = inverse(arguments[0]["offset"]) this.x = arg1; graphics = arg1.graphics; model = arg1.model; diff --git a/js/Events/freq_div.js b/js/Events/freq_div.js index e034bb84..50719b16 100644 --- a/js/Events/freq_div.js +++ b/js/Events/freq_div.js @@ -118,8 +118,8 @@ function freq_div() { return options; } freq_div.prototype.set = function freq_div() { - %ph = parseFloat((arguments[0]["%ph"])) - %df = parseFloat((arguments[0]["%df"])) + %ph = parseFloat(arguments[0]["%ph"]) + %df = parseFloat(arguments[0]["%df"]) for (i=1;i<=length(arg1.model.rpar.objs);i+=1) { o = arg1.model.rpar.objs[i-1]; if (typeof(o)=="Block"&&o.gui=="Modulo_Count") { diff --git a/js/Hydraulics/Bache.js b/js/Hydraulics/Bache.js index ca4d4bdb..54150992 100644 --- a/js/Hydraulics/Bache.js +++ b/js/Hydraulics/Bache.js @@ -52,15 +52,15 @@ function Bache() { return options; } Bache.prototype.set = function Bache() { - this.Patm = parseFloat((arguments[0]["Patm"])) - this.A = parseFloat((arguments[0]["A"])) - this.ze1 = parseFloat((arguments[0]["ze1"])) - this.ze2 = parseFloat((arguments[0]["ze2"])) - this.zs1 = parseFloat((arguments[0]["zs1"])) - this.zs2 = parseFloat((arguments[0]["zs2"])) - this.z0 = parseFloat((arguments[0]["z0"])) - this.T0 = parseFloat((arguments[0]["T0"])) - this.p_rho = parseFloat((arguments[0]["p_rho"])) + this.Patm = parseFloat(arguments[0]["Patm"]) + this.A = parseFloat(arguments[0]["A"]) + this.ze1 = parseFloat(arguments[0]["ze1"]) + this.ze2 = parseFloat(arguments[0]["ze2"]) + this.zs1 = parseFloat(arguments[0]["zs1"]) + this.zs2 = parseFloat(arguments[0]["zs2"]) + this.z0 = parseFloat(arguments[0]["z0"]) + this.T0 = parseFloat(arguments[0]["T0"]) + this.p_rho = parseFloat(arguments[0]["p_rho"]) this.x = arg1; graphics = arg1.graphics; exprs = graphics.exprs; diff --git a/js/Hydraulics/Flowmeter.js b/js/Hydraulics/Flowmeter.js index 80a54bca..fa275941 100644 --- a/js/Hydraulics/Flowmeter.js +++ b/js/Hydraulics/Flowmeter.js @@ -58,7 +58,7 @@ function Flowmeter() { return options; } Flowmeter.prototype.set = function Flowmeter() { - this.Qini = parseFloat((arguments[0]["Qini"])) + this.Qini = arguments[0]["Qini"] this.x = arg1; graphics = arg1.graphics; exprs = graphics.exprs; diff --git a/js/Hydraulics/PerteDP.js b/js/Hydraulics/PerteDP.js index 8f5b9b40..c9fd922e 100644 --- a/js/Hydraulics/PerteDP.js +++ b/js/Hydraulics/PerteDP.js @@ -44,12 +44,12 @@ function PerteDP() { return options; } PerteDP.prototype.set = function PerteDP() { - this.L = parseFloat((arguments[0]["L"])) - this.D = parseFloat((arguments[0]["D"])) - this.lambda = parseFloat((arguments[0]["lambda"])) - this.z1 = parseFloat((arguments[0]["z1"])) - this.z2 = parseFloat((arguments[0]["z2"])) - this.p_rho = parseFloat((arguments[0]["p_rho"])) + this.L = parseFloat(arguments[0]["L"]) + this.D = parseFloat(arguments[0]["D"]) + this.lambda = parseFloat(arguments[0]["lambda"]) + this.z1 = parseFloat(arguments[0]["z1"]) + this.z2 = parseFloat(arguments[0]["z2"]) + this.p_rho = parseFloat(arguments[0]["p_rho"]) this.x = arg1; graphics = arg1.graphics; exprs = graphics.exprs; diff --git a/js/Hydraulics/PuitsP.js b/js/Hydraulics/PuitsP.js index 267c236d..0eec1711 100644 --- a/js/Hydraulics/PuitsP.js +++ b/js/Hydraulics/PuitsP.js @@ -35,10 +35,10 @@ function PuitsP() { return options; } PuitsP.prototype.set = function PuitsP() { - this.P0 = parseFloat((arguments[0]["P0"])) - this.T0 = parseFloat((arguments[0]["T0"])) - this.H0 = parseFloat((arguments[0]["H0"])) - this.option_temperature = parseFloat((arguments[0]["option_temperature"])) + this.P0 = parseFloat(arguments[0]["P0"]) + this.T0 = parseFloat(arguments[0]["T0"]) + this.H0 = parseFloat(arguments[0]["H0"]) + this.option_temperature = parseFloat(arguments[0]["option_temperature"]) this.x = arg1; graphics = arg1.graphics; exprs = graphics.exprs; diff --git a/js/Hydraulics/SourceP.js b/js/Hydraulics/SourceP.js index e51873da..d5030f9b 100644 --- a/js/Hydraulics/SourceP.js +++ b/js/Hydraulics/SourceP.js @@ -37,10 +37,10 @@ function SourceP() { return options; } SourceP.prototype.set = function SourceP() { - this.P0 = parseFloat((arguments[0]["P0"])) - this.T0 = parseFloat((arguments[0]["T0"])) - this.H0 = parseFloat((arguments[0]["H0"])) - this.option_temperature = parseFloat((arguments[0]["option_temperature"])) + this.P0 = parseFloat(arguments[0]["P0"]) + this.T0 = parseFloat(arguments[0]["T0"]) + this.H0 = parseFloat(arguments[0]["H0"]) + this.option_temperature = parseFloat(arguments[0]["option_temperature"]) this.x = arg1; graphics = arg1.graphics; exprs = graphics.exprs; diff --git a/js/Hydraulics/VanneReglante.js b/js/Hydraulics/VanneReglante.js index f7dd1c71..b4be5f45 100644 --- a/js/Hydraulics/VanneReglante.js +++ b/js/Hydraulics/VanneReglante.js @@ -36,8 +36,8 @@ function VanneReglante() { return options; } VanneReglante.prototype.set = function VanneReglante() { - this.Cvmax = parseFloat((arguments[0]["Cvmax"])) - this.p_rho = parseFloat((arguments[0]["p_rho"])) + this.Cvmax = parseFloat(arguments[0]["Cvmax"]) + this.p_rho = parseFloat(arguments[0]["p_rho"]) this.x = arg1; graphics = arg1.graphics; exprs = graphics.exprs; diff --git a/js/IntegerOp/BITCLEAR.js b/js/IntegerOp/BITCLEAR.js index 8ac5590d..a854f731 100644 --- a/js/IntegerOp/BITCLEAR.js +++ b/js/IntegerOp/BITCLEAR.js @@ -28,8 +28,8 @@ function BITCLEAR() { return options; } BITCLEAR.prototype.set = function BITCLEAR() { - this.Datatype = parseFloat((arguments[0]["Datatype"])) - this.bit = parseFloat((arguments[0]["bit"])) + this.Datatype = arguments[0]["Datatype"] + this.bit = parseFloat(arguments[0]["bit"]) this.x = arg1; graphics = arg1.graphics; exprs = graphics.exprs; diff --git a/js/IntegerOp/BITSET.js b/js/IntegerOp/BITSET.js index 377c9df6..ff9b5a7a 100644 --- a/js/IntegerOp/BITSET.js +++ b/js/IntegerOp/BITSET.js @@ -28,8 +28,8 @@ function BITSET() { return options; } BITSET.prototype.set = function BITSET() { - this.Datatype = parseFloat((arguments[0]["Datatype"])) - this.bit = parseFloat((arguments[0]["bit"])) + this.Datatype = arguments[0]["Datatype"] + this.bit = parseFloat(arguments[0]["bit"]) this.x = arg1; graphics = arg1.graphics; exprs = graphics.exprs; diff --git a/js/IntegerOp/CONVERT.js b/js/IntegerOp/CONVERT.js index 911af957..22a27d4d 100644 --- a/js/IntegerOp/CONVERT.js +++ b/js/IntegerOp/CONVERT.js @@ -31,9 +31,9 @@ function CONVERT() { return options; } CONVERT.prototype.set = function CONVERT() { - this.it = parseFloat((arguments[0]["it"])) - this.ot = parseFloat((arguments[0]["ot"])) - this.np = parseFloat((arguments[0]["np"])) + this.it = parseFloat(arguments[0]["it"]) + this.ot = parseFloat(arguments[0]["ot"]) + this.np = arguments[0]["np"] this.x = arg1; graphics = arg1.graphics; model = arg1.model; diff --git a/js/IntegerOp/EXTRACTBITS.js b/js/IntegerOp/EXTRACTBITS.js index 737e5acb..34680bbe 100644 --- a/js/IntegerOp/EXTRACTBITS.js +++ b/js/IntegerOp/EXTRACTBITS.js @@ -31,10 +31,10 @@ function EXTRACTBITS() { return options; } EXTRACTBITS.prototype.set = function EXTRACTBITS() { - this.Datatype = parseFloat((arguments[0]["Datatype"])) - this.rule = parseFloat((arguments[0]["rule"])) - this.bit = parseFloat((arguments[0]["bit"])) - this.scal = parseFloat((arguments[0]["scal"])) + this.Datatype = arguments[0]["Datatype"] + this.rule = parseFloat(arguments[0]["rule"]) + this.bit = parseFloat(arguments[0]["bit"]) + this.scal = arguments[0]["scal"] this.x = arg1; graphics = arg1.graphics; exprs = graphics.exprs; diff --git a/js/IntegerOp/INTMUL.js b/js/IntegerOp/INTMUL.js index 04a6c6d0..baf80d47 100644 --- a/js/IntegerOp/INTMUL.js +++ b/js/IntegerOp/INTMUL.js @@ -30,8 +30,8 @@ function INTMUL() { return options; } INTMUL.prototype.set = function INTMUL() { - this.Datatype = parseFloat((arguments[0]["Datatype"])) - this.np = parseFloat((arguments[0]["np"])) + this.Datatype = arguments[0]["Datatype"] + this.np = arguments[0]["np"] this.x = arg1; graphics = arg1.graphics; model = arg1.model; diff --git a/js/IntegerOp/JKFLIPFLOP.js b/js/IntegerOp/JKFLIPFLOP.js index 793a4620..5f5e59ef 100644 --- a/js/IntegerOp/JKFLIPFLOP.js +++ b/js/IntegerOp/JKFLIPFLOP.js @@ -57,8 +57,8 @@ function JKFLIPFLOP() { return options; } JKFLIPFLOP.prototype.set = function JKFLIPFLOP() { - this.init = parseFloat((arguments[0]["init"])) - this.exprs0 = parseFloat((arguments[0]["exprs0"])) + this.init = parseFloat(arguments[0]["init"]) + this.exprs0 = arguments[0]["exprs0"] for (i=1;i<=length(arg1.model.rpar.objs);i+=1) { o = arg1.model.rpar.objs[i-1]; if (typeof(o)=="Block"&&o.gui=="DOLLAR_m") { diff --git a/js/IntegerOp/LOGIC.js b/js/IntegerOp/LOGIC.js index 823bad8b..beac49e0 100644 --- a/js/IntegerOp/LOGIC.js +++ b/js/IntegerOp/LOGIC.js @@ -31,8 +31,8 @@ function LOGIC() { return options; } LOGIC.prototype.set = function LOGIC() { - this.mat = inverse((arguments[0]["mat"])) - this.herit = parseFloat((arguments[0]["herit"])) + this.mat = inverse(arguments[0]["mat"]) + this.herit = arguments[0]["herit"] this.x = arg1; graphics = arg1.graphics; exprs = graphics.exprs; diff --git a/js/IntegerOp/SHIFT.js b/js/IntegerOp/SHIFT.js index 6312368d..fa5fae76 100644 --- a/js/IntegerOp/SHIFT.js +++ b/js/IntegerOp/SHIFT.js @@ -32,9 +32,9 @@ function SHIFT() { return options; } SHIFT.prototype.set = function SHIFT() { - this.Datatype = parseFloat((arguments[0]["Datatype"])) - this.nb = parseFloat((arguments[0]["nb"])) - this.np = parseFloat((arguments[0]["np"])) + this.Datatype = arguments[0]["Datatype"] + this.nb = arguments[0]["nb"] + this.np = arguments[0]["np"] this.x = arg1; graphics = arg1.graphics; model = arg1.model; diff --git a/js/IntegerOp/SRFLIPFLOP.js b/js/IntegerOp/SRFLIPFLOP.js index 83b5aee6..9a05ad70 100644 --- a/js/IntegerOp/SRFLIPFLOP.js +++ b/js/IntegerOp/SRFLIPFLOP.js @@ -41,8 +41,8 @@ function SRFLIPFLOP() { return options; } SRFLIPFLOP.prototype.set = function SRFLIPFLOP() { - this.init = parseFloat((arguments[0]["init"])) - this.exprs0 = parseFloat((arguments[0]["exprs0"])) + this.init = parseFloat(arguments[0]["init"]) + this.exprs0 = arguments[0]["exprs0"] for (i=1;i<=length(arg1.model.rpar.objs);i+=1) { o = arg1.model.rpar.objs[i-1]; if (typeof(o)=="Block"&&o.gui=="DOLLAR_m") { diff --git a/js/Linear/BIGSOM_f.js b/js/Linear/BIGSOM_f.js index 8dd81eea..e3a3d172 100644 --- a/js/Linear/BIGSOM_f.js +++ b/js/Linear/BIGSOM_f.js @@ -23,7 +23,7 @@ function BIGSOM_f() { return options; } BIGSOM_f.prototype.set = function BIGSOM_f() { - this.sgn = inverse((arguments[0]["sgn"])) + this.sgn = inverse(arguments[0]["sgn"]) this.x = arg1; graphics = arg1.graphics; model = arg1.model; diff --git a/js/Linear/CLR.js b/js/Linear/CLR.js index 1ec2fe21..4be593c4 100644 --- a/js/Linear/CLR.js +++ b/js/Linear/CLR.js @@ -30,8 +30,8 @@ function CLR() { return options; } CLR.prototype.set = function CLR() { - this.num = parseFloat((arguments[0]["num"])) - this.den = parseFloat((arguments[0]["den"])) + this.num = arguments[0]["num"] + this.den = arguments[0]["den"] this.x = arg1; graphics = arg1.graphics; exprs = graphics.exprs; diff --git a/js/Linear/CLR_f.js b/js/Linear/CLR_f.js index 3e88994f..2aaee3d1 100644 --- a/js/Linear/CLR_f.js +++ b/js/Linear/CLR_f.js @@ -30,8 +30,8 @@ function CLR_f() { return options; } CLR_f.prototype.set = function CLR_f() { - this.num = parseFloat((arguments[0]["num"])) - this.den = parseFloat((arguments[0]["den"])) + this.num = arguments[0]["num"] + this.den = arguments[0]["den"] this.x = arg1; graphics = arg1.graphics; exprs = graphics.exprs; diff --git a/js/Linear/CLSS.js b/js/Linear/CLSS.js index 1572c60f..b227e048 100644 --- a/js/Linear/CLSS.js +++ b/js/Linear/CLSS.js @@ -35,11 +35,11 @@ function CLSS() { return options; } CLSS.prototype.set = function CLSS() { - this.A = parseFloat((arguments[0]["A"])) - this.B = parseFloat((arguments[0]["B"])) - this.C = parseFloat((arguments[0]["C"])) - this.D = parseFloat((arguments[0]["D"])) - this.x0 = parseFloat((arguments[0]["x0"])) + this.A = parseFloat(arguments[0]["A"]) + this.B = parseFloat(arguments[0]["B"]) + this.C = parseFloat(arguments[0]["C"]) + this.D = parseFloat(arguments[0]["D"]) + this.x0 = parseFloat(arguments[0]["x0"]) this.x = arg1; graphics = arg1.graphics; exprs = graphics.exprs; diff --git a/js/Linear/CLSS_f.js b/js/Linear/CLSS_f.js index c861c59c..ffad604c 100644 --- a/js/Linear/CLSS_f.js +++ b/js/Linear/CLSS_f.js @@ -35,11 +35,11 @@ function CLSS_f() { return options; } CLSS_f.prototype.set = function CLSS_f() { - this.A = parseFloat((arguments[0]["A"])) - this.B = parseFloat((arguments[0]["B"])) - this.C = parseFloat((arguments[0]["C"])) - this.D = parseFloat((arguments[0]["D"])) - this.x0 = parseFloat((arguments[0]["x0"])) + this.A = parseFloat(arguments[0]["A"]) + this.B = parseFloat(arguments[0]["B"]) + this.C = parseFloat(arguments[0]["C"]) + this.D = parseFloat(arguments[0]["D"]) + this.x0 = parseFloat(arguments[0]["x0"]) this.x = arg1; graphics = arg1.graphics; exprs = graphics.exprs; diff --git a/js/Linear/DELAYV_f.js b/js/Linear/DELAYV_f.js index 97fb1429..79cd24be 100644 --- a/js/Linear/DELAYV_f.js +++ b/js/Linear/DELAYV_f.js @@ -33,9 +33,9 @@ function DELAYV_f() { return options; } DELAYV_f.prototype.set = function DELAYV_f() { - this.nin = parseFloat((arguments[0]["nin"])) - this.zz0 = inverse((arguments[0]["zz0"])) - this.T = parseFloat((arguments[0]["T"])) + this.nin = parseFloat(arguments[0]["nin"]) + this.zz0 = inverse(arguments[0]["zz0"]) + this.T = parseFloat(arguments[0]["T"]) this.x = arg1; graphics = arg1.graphics; exprs = graphics.exprs; diff --git a/js/Linear/DELAY_f.js b/js/Linear/DELAY_f.js index a09f5754..129377bb 100644 --- a/js/Linear/DELAY_f.js +++ b/js/Linear/DELAY_f.js @@ -76,8 +76,8 @@ function DELAY_f() { return options; } DELAY_f.prototype.set = function DELAY_f() { - this.dt = parseFloat((arguments[0]["dt"])) - this.z0 = parseFloat((arguments[0]["z0"])) + this.dt = arguments[0]["dt"] + this.z0 = arguments[0]["z0"] ppath = list(0,0); for (i=1;i<=length(arg1.model.rpar.objs);i+=1) { o = arg1.model.rpar.objs[i-1]; diff --git a/js/Linear/DIFF_c.js b/js/Linear/DIFF_c.js index 26705c2d..dd3f6722 100644 --- a/js/Linear/DIFF_c.js +++ b/js/Linear/DIFF_c.js @@ -25,8 +25,8 @@ function DIFF_c() { return options; } DIFF_c.prototype.set = function DIFF_c() { - this.x0 = inverse((arguments[0]["x0"])) - this.xd0 = inverse((arguments[0]["xd0"])) + this.x0 = inverse(arguments[0]["x0"]) + this.xd0 = inverse(arguments[0]["xd0"]) this.x = arg1; graphics = arg1.graphics; exprs = graphics.exprs; diff --git a/js/Linear/DLR.js b/js/Linear/DLR.js index eb8a0cd2..2ad0c0d5 100644 --- a/js/Linear/DLR.js +++ b/js/Linear/DLR.js @@ -31,8 +31,8 @@ function DLR() { return options; } DLR.prototype.set = function DLR() { - this.num = parseFloat((arguments[0]["num"])) - this.den = parseFloat((arguments[0]["den"])) + this.num = arguments[0]["num"] + this.den = arguments[0]["den"] this.x = arg1; graphics = arg1.graphics; exprs = graphics.exprs; diff --git a/js/Linear/DLR_f.js b/js/Linear/DLR_f.js index 7a3bd188..6258df46 100644 --- a/js/Linear/DLR_f.js +++ b/js/Linear/DLR_f.js @@ -31,8 +31,8 @@ function DLR_f() { return options; } DLR_f.prototype.set = function DLR_f() { - this.num = parseFloat((arguments[0]["num"])) - this.den = parseFloat((arguments[0]["den"])) + this.num = arguments[0]["num"] + this.den = arguments[0]["den"] this.x = arg1; graphics = arg1.graphics; exprs = graphics.exprs; diff --git a/js/Linear/DLSS.js b/js/Linear/DLSS.js index 7fee6081..4c19a6b7 100644 --- a/js/Linear/DLSS.js +++ b/js/Linear/DLSS.js @@ -34,11 +34,11 @@ function DLSS() { return options; } DLSS.prototype.set = function DLSS() { - this.A = parseFloat((arguments[0]["A"])) - this.B = parseFloat((arguments[0]["B"])) - this.C = parseFloat((arguments[0]["C"])) - this.D = parseFloat((arguments[0]["D"])) - this.x0 = parseFloat((arguments[0]["x0"])) + this.A = parseFloat(arguments[0]["A"]) + this.B = parseFloat(arguments[0]["B"]) + this.C = parseFloat(arguments[0]["C"]) + this.D = parseFloat(arguments[0]["D"]) + this.x0 = parseFloat(arguments[0]["x0"]) this.x = arg1; graphics = arg1.graphics; exprs = graphics.exprs; diff --git a/js/Linear/DLSS_f.js b/js/Linear/DLSS_f.js index cd486c1c..121ba77b 100644 --- a/js/Linear/DLSS_f.js +++ b/js/Linear/DLSS_f.js @@ -34,11 +34,11 @@ function DLSS_f() { return options; } DLSS_f.prototype.set = function DLSS_f() { - this.A = parseFloat((arguments[0]["A"])) - this.B = parseFloat((arguments[0]["B"])) - this.C = parseFloat((arguments[0]["C"])) - this.D = parseFloat((arguments[0]["D"])) - this.x0 = parseFloat((arguments[0]["x0"])) + this.A = parseFloat(arguments[0]["A"]) + this.B = parseFloat(arguments[0]["B"]) + this.C = parseFloat(arguments[0]["C"]) + this.D = parseFloat(arguments[0]["D"]) + this.x0 = parseFloat(arguments[0]["x0"]) this.x = arg1; graphics = arg1.graphics; exprs = graphics.exprs; diff --git a/js/Linear/DOLLAR.js b/js/Linear/DOLLAR.js index e09d8092..afde8792 100644 --- a/js/Linear/DOLLAR.js +++ b/js/Linear/DOLLAR.js @@ -28,8 +28,8 @@ function DOLLAR() { return options; } DOLLAR.prototype.set = function DOLLAR() { - this.a = parseFloat((arguments[0]["a"])) - this.inh = parseFloat((arguments[0]["inh"])) + this.a = arguments[0]["a"] + this.inh = parseFloat(arguments[0]["inh"]) this.x = arg1; graphics = arg1.graphics; exprs = graphics.exprs; diff --git a/js/Linear/DOLLAR_f.js b/js/Linear/DOLLAR_f.js index 05990047..de459a3c 100644 --- a/js/Linear/DOLLAR_f.js +++ b/js/Linear/DOLLAR_f.js @@ -28,8 +28,8 @@ function DOLLAR_f() { return options; } DOLLAR_f.prototype.set = function DOLLAR_f() { - this.a = parseFloat((arguments[0]["a"])) - this.inh = parseFloat((arguments[0]["inh"])) + this.a = arguments[0]["a"] + this.inh = parseFloat(arguments[0]["inh"]) this.x = arg1; graphics = arg1.graphics; exprs = graphics.exprs; diff --git a/js/Linear/DOLLAR_m.js b/js/Linear/DOLLAR_m.js index 7c06f31c..22941f9a 100644 --- a/js/Linear/DOLLAR_m.js +++ b/js/Linear/DOLLAR_m.js @@ -28,8 +28,8 @@ function DOLLAR_m() { return options; } DOLLAR_m.prototype.set = function DOLLAR_m() { - this.a = parseFloat((arguments[0]["a"])) - this.inh = parseFloat((arguments[0]["inh"])) + this.a = arguments[0]["a"] + this.inh = parseFloat(arguments[0]["inh"]) this.x = arg1; graphics = arg1.graphics; exprs = graphics.exprs; diff --git a/js/Linear/GAINBLK.js b/js/Linear/GAINBLK.js index 8904c046..41106cac 100644 --- a/js/Linear/GAINBLK.js +++ b/js/Linear/GAINBLK.js @@ -31,8 +31,8 @@ function GAINBLK() { return options; } GAINBLK.prototype.set = function GAINBLK() { - this.gain = parseFloat((arguments[0]["gain"])) - this.over = parseFloat((arguments[0]["over"])) + this.gain = parseFloat(arguments[0]["gain"]) + this.over = arguments[0]["over"] this.x = arg1; graphics = arg1.graphics; exprs = graphics.exprs; diff --git a/js/Linear/GAINBLK_f.js b/js/Linear/GAINBLK_f.js index e1ba731f..18b30def 100644 --- a/js/Linear/GAINBLK_f.js +++ b/js/Linear/GAINBLK_f.js @@ -26,7 +26,7 @@ function GAINBLK_f() { return options; } GAINBLK_f.prototype.set = function GAINBLK_f() { - this.gain = parseFloat((arguments[0]["gain"])) + this.gain = parseFloat(arguments[0]["gain"]) this.x = arg1; graphics = arg1.graphics; exprs = graphics.exprs; diff --git a/js/Linear/GAIN_f.js b/js/Linear/GAIN_f.js index 1b43c589..f0fd2265 100644 --- a/js/Linear/GAIN_f.js +++ b/js/Linear/GAIN_f.js @@ -26,7 +26,7 @@ function GAIN_f() { return options; } GAIN_f.prototype.set = function GAIN_f() { - this.gain = parseFloat((arguments[0]["gain"])) + this.gain = parseFloat(arguments[0]["gain"]) this.x = arg1; graphics = arg1.graphics; exprs = graphics.exprs; diff --git a/js/Linear/INTEGRAL.js b/js/Linear/INTEGRAL.js index 18890c0f..7d5c5aec 100644 --- a/js/Linear/INTEGRAL.js +++ b/js/Linear/INTEGRAL.js @@ -32,11 +32,11 @@ function INTEGRAL() { return options; } INTEGRAL.prototype.set = function INTEGRAL() { - this.x0 = inverse((arguments[0]["x0"])) - this.reinit = parseFloat((arguments[0]["reinit"])) - this.satur = parseFloat((arguments[0]["satur"])) - this.maxp = parseFloat((arguments[0]["maxp"])) - this.lowp = parseFloat((arguments[0]["lowp"])) + this.x0 = inverse(arguments[0]["x0"]) + this.reinit = parseFloat(arguments[0]["reinit"]) + this.satur = parseFloat(arguments[0]["satur"]) + this.maxp = parseFloat(arguments[0]["maxp"]) + this.lowp = arguments[0]["lowp"] this.x = arg1; graphics = arg1.graphics; exprs = graphics.exprs; diff --git a/js/Linear/INTEGRAL_f.js b/js/Linear/INTEGRAL_f.js index 1bbbc888..4a018db4 100644 --- a/js/Linear/INTEGRAL_f.js +++ b/js/Linear/INTEGRAL_f.js @@ -23,7 +23,7 @@ function INTEGRAL_f() { return options; } INTEGRAL_f.prototype.set = function INTEGRAL_f() { - this.x0 = parseFloat((arguments[0]["x0"])) + this.x0 = parseFloat(arguments[0]["x0"]) this.x = arg1; graphics = arg1.graphics; exprs = graphics.exprs; diff --git a/js/Linear/INTEGRAL_m.js b/js/Linear/INTEGRAL_m.js index 78e03eca..149d4300 100644 --- a/js/Linear/INTEGRAL_m.js +++ b/js/Linear/INTEGRAL_m.js @@ -33,11 +33,11 @@ function INTEGRAL_m() { return options; } INTEGRAL_m.prototype.set = function INTEGRAL_m() { - this.x0 = parseFloat((arguments[0]["x0"])) - this.reinit = parseFloat((arguments[0]["reinit"])) - this.satur = parseFloat((arguments[0]["satur"])) - this.maxp = parseFloat((arguments[0]["maxp"])) - this.lowp = parseFloat((arguments[0]["lowp"])) + this.x0 = arguments[0]["x0"] + this.reinit = parseFloat(arguments[0]["reinit"]) + this.satur = parseFloat(arguments[0]["satur"]) + this.maxp = parseFloat(arguments[0]["maxp"]) + this.lowp = parseFloat(arguments[0]["lowp"]) this.x = arg1; graphics = arg1.graphics; exprs = graphics.exprs; diff --git a/js/Linear/PID.js b/js/Linear/PID.js index c07683ba..deab1153 100644 --- a/js/Linear/PID.js +++ b/js/Linear/PID.js @@ -51,10 +51,10 @@ function PID() { return options; } PID.prototype.set = function PID() { - this.p = parseFloat((arguments[0]["p"])) - this.i = parseFloat((arguments[0]["i"])) - this.d = parseFloat((arguments[0]["d"])) - this.exprs0 = parseFloat((arguments[0]["exprs0"])) + this.p = arguments[0]["p"] + this.i = arguments[0]["i"] + this.d = arguments[0]["d"] + this.exprs0 = arguments[0]["exprs0"] ppath = list(0,0,0); for (i=1;i<=length(arg1.model.rpar.objs);i+=1) { o = arg1.model.rpar.objs[this.i-1]; diff --git a/js/Linear/REGISTER.js b/js/Linear/REGISTER.js index 78f6836d..6a27b2d1 100644 --- a/js/Linear/REGISTER.js +++ b/js/Linear/REGISTER.js @@ -26,8 +26,8 @@ function REGISTER() { return options; } REGISTER.prototype.set = function REGISTER() { - this.z0 = parseFloat((arguments[0]["z0"])) - this.it = parseFloat((arguments[0]["it"])) + this.z0 = parseFloat(arguments[0]["z0"]) + this.it = arguments[0]["it"] this.x = arg1; graphics = arg1.graphics; exprs = graphics.exprs; diff --git a/js/Linear/REGISTER_f.js b/js/Linear/REGISTER_f.js index d3d8d7ef..f35b06be 100644 --- a/js/Linear/REGISTER_f.js +++ b/js/Linear/REGISTER_f.js @@ -24,7 +24,7 @@ function REGISTER_f() { return options; } REGISTER_f.prototype.set = function REGISTER_f() { - this.z0 = parseFloat((arguments[0]["z0"])) + this.z0 = parseFloat(arguments[0]["z0"]) this.x = arg1; graphics = arg1.graphics; exprs = graphics.exprs; diff --git a/js/Linear/SAMPHOLD_m.js b/js/Linear/SAMPHOLD_m.js index 7327c94b..c117295d 100644 --- a/js/Linear/SAMPHOLD_m.js +++ b/js/Linear/SAMPHOLD_m.js @@ -27,7 +27,7 @@ function SAMPHOLD_m() { return options; } SAMPHOLD_m.prototype.set = function SAMPHOLD_m() { - this.it = parseFloat((arguments[0]["it"])) + this.it = arguments[0]["it"] this.x = arg1; this.x.model.firing = []; graphics = arg1.graphics; diff --git a/js/Linear/SUMMATION.js b/js/Linear/SUMMATION.js index 42f991db..2c8e8eb8 100644 --- a/js/Linear/SUMMATION.js +++ b/js/Linear/SUMMATION.js @@ -28,9 +28,9 @@ function SUMMATION() { return options; } SUMMATION.prototype.set = function SUMMATION() { - this.Datatype = parseFloat((arguments[0]["Datatype"])) - this.sgn = inverse((arguments[0]["sgn"])) - this.satur = parseFloat((arguments[0]["satur"])) + this.Datatype = arguments[0]["Datatype"] + this.sgn = inverse(arguments[0]["sgn"]) + this.satur = arguments[0]["satur"] this.x = arg1; graphics = arg1.graphics; model = arg1.model; diff --git a/js/Linear/TCLSS.js b/js/Linear/TCLSS.js index 2038fc8f..03dd5504 100644 --- a/js/Linear/TCLSS.js +++ b/js/Linear/TCLSS.js @@ -37,11 +37,11 @@ function TCLSS() { return options; } TCLSS.prototype.set = function TCLSS() { - this.A = parseFloat((arguments[0]["A"])) - this.B = parseFloat((arguments[0]["B"])) - this.C = parseFloat((arguments[0]["C"])) - this.D = parseFloat((arguments[0]["D"])) - this.x0 = parseFloat((arguments[0]["x0"])) + this.A = parseFloat(arguments[0]["A"]) + this.B = parseFloat(arguments[0]["B"]) + this.C = parseFloat(arguments[0]["C"]) + this.D = parseFloat(arguments[0]["D"]) + this.x0 = parseFloat(arguments[0]["x0"]) this.x = arg1; graphics = arg1.graphics; exprs = graphics.exprs; diff --git a/js/Linear/TCLSS_f.js b/js/Linear/TCLSS_f.js index e34653c0..3d425930 100644 --- a/js/Linear/TCLSS_f.js +++ b/js/Linear/TCLSS_f.js @@ -37,11 +37,11 @@ function TCLSS_f() { return options; } TCLSS_f.prototype.set = function TCLSS_f() { - this.A = parseFloat((arguments[0]["A"])) - this.B = parseFloat((arguments[0]["B"])) - this.C = parseFloat((arguments[0]["C"])) - this.D = parseFloat((arguments[0]["D"])) - this.x0 = parseFloat((arguments[0]["x0"])) + this.A = parseFloat(arguments[0]["A"]) + this.B = parseFloat(arguments[0]["B"]) + this.C = parseFloat(arguments[0]["C"]) + this.D = parseFloat(arguments[0]["D"]) + this.x0 = parseFloat(arguments[0]["x0"]) this.x = arg1; graphics = arg1.graphics; exprs = graphics.exprs; diff --git a/js/Linear/TIME_DELAY.js b/js/Linear/TIME_DELAY.js index d62c8ae4..fc9aa70e 100644 --- a/js/Linear/TIME_DELAY.js +++ b/js/Linear/TIME_DELAY.js @@ -30,9 +30,9 @@ function TIME_DELAY() { return options; } TIME_DELAY.prototype.set = function TIME_DELAY() { - this.T = parseFloat((arguments[0]["T"])) - this.init = parseFloat((arguments[0]["init"])) - this.N = parseFloat((arguments[0]["N"])) + this.T = parseFloat(arguments[0]["T"]) + this.init = parseFloat(arguments[0]["init"]) + this.N = parseFloat(arguments[0]["N"]) this.x = arg1; graphics = arg1.graphics; exprs = graphics.exprs; diff --git a/js/Linear/VARIABLE_DELAY.js b/js/Linear/VARIABLE_DELAY.js index 8c262a84..0d045edb 100644 --- a/js/Linear/VARIABLE_DELAY.js +++ b/js/Linear/VARIABLE_DELAY.js @@ -30,9 +30,9 @@ function VARIABLE_DELAY() { return options; } VARIABLE_DELAY.prototype.set = function VARIABLE_DELAY() { - this.T = parseFloat((arguments[0]["T"])) - this.init = parseFloat((arguments[0]["init"])) - this.N = parseFloat((arguments[0]["N"])) + this.T = parseFloat(arguments[0]["T"]) + this.init = parseFloat(arguments[0]["init"]) + this.N = parseFloat(arguments[0]["N"]) this.x = arg1; graphics = arg1.graphics; exprs = graphics.exprs; diff --git a/js/MatrixOp/CUMSUM.js b/js/MatrixOp/CUMSUM.js index 5d141e69..5e4fcdc4 100644 --- a/js/MatrixOp/CUMSUM.js +++ b/js/MatrixOp/CUMSUM.js @@ -36,9 +36,9 @@ function CUMSUM() { return options; } CUMSUM.prototype.set = function CUMSUM() { - this.typ = inverse((arguments[0]["typ"])) - this.decomptyp = parseFloat((arguments[0]["decomptyp"])) - this.lab = parseFloat((arguments[0]["lab"])) + this.typ = inverse(arguments[0]["typ"]) + this.decomptyp = arguments[0]["decomptyp"] + this.lab = arguments[0]["lab"] this.x = arg1; model = arg1.model; graphics = arg1.graphics; diff --git a/js/MatrixOp/EXTRACT.js b/js/MatrixOp/EXTRACT.js index 973e75c0..1678b4c7 100644 --- a/js/MatrixOp/EXTRACT.js +++ b/js/MatrixOp/EXTRACT.js @@ -37,9 +37,9 @@ function EXTRACT() { return options; } EXTRACT.prototype.set = function EXTRACT() { - this.typ = inverse((arguments[0]["typ"])) - this.a = inverse((arguments[0]["a"])) - this.b = inverse((arguments[0]["b"])) + this.typ = inverse(arguments[0]["typ"]) + this.a = inverse(arguments[0]["a"]) + this.b = inverse(arguments[0]["b"]) this.x = arg1; graphics = arg1.graphics; label = graphics.exprs; diff --git a/js/MatrixOp/EXTTRI.js b/js/MatrixOp/EXTTRI.js index 8252ac59..575b6398 100644 --- a/js/MatrixOp/EXTTRI.js +++ b/js/MatrixOp/EXTTRI.js @@ -36,9 +36,9 @@ function EXTTRI() { return options; } EXTTRI.prototype.set = function EXTTRI() { - this.typ = inverse((arguments[0]["typ"])) - this.decomptyp = parseFloat((arguments[0]["decomptyp"])) - this.lab = parseFloat((arguments[0]["lab"])) + this.typ = inverse(arguments[0]["typ"]) + this.decomptyp = arguments[0]["decomptyp"] + this.lab = arguments[0]["lab"] this.x = arg1; model = arg1.model; graphics = arg1.graphics; diff --git a/js/MatrixOp/MATBKSL.js b/js/MatrixOp/MATBKSL.js index 7df75e09..c5af6daa 100644 --- a/js/MatrixOp/MATBKSL.js +++ b/js/MatrixOp/MATBKSL.js @@ -35,7 +35,7 @@ function MATBKSL() { return options; } MATBKSL.prototype.set = function MATBKSL() { - this.typ = inverse((arguments[0]["typ"])) + this.typ = inverse(arguments[0]["typ"]) this.x = arg1; graphics = arg1.graphics; label = graphics.exprs; diff --git a/js/MatrixOp/MATCATH.js b/js/MatrixOp/MATCATH.js index 945141bf..193c14eb 100644 --- a/js/MatrixOp/MATCATH.js +++ b/js/MatrixOp/MATCATH.js @@ -35,8 +35,8 @@ function MATCATH() { return options; } MATCATH.prototype.set = function MATCATH() { - this.nin = parseFloat((arguments[0]["nin"])) - this.lab = parseFloat((arguments[0]["lab"])) + this.nin = arguments[0]["nin"] + this.lab = arguments[0]["lab"] this.x = arg1; model = arg1.model; graphics = arg1.graphics; diff --git a/js/MatrixOp/MATCATV.js b/js/MatrixOp/MATCATV.js index 5a82ef49..68f2ca62 100644 --- a/js/MatrixOp/MATCATV.js +++ b/js/MatrixOp/MATCATV.js @@ -36,8 +36,8 @@ function MATCATV() { return options; } MATCATV.prototype.set = function MATCATV() { - this.nin = parseFloat((arguments[0]["nin"])) - this.lab = parseFloat((arguments[0]["lab"])) + this.nin = arguments[0]["nin"] + this.lab = arguments[0]["lab"] this.x = arg1; model = arg1.model; graphics = arg1.graphics; diff --git a/js/MatrixOp/MATDET.js b/js/MatrixOp/MATDET.js index 34cc671f..3f9d3c79 100644 --- a/js/MatrixOp/MATDET.js +++ b/js/MatrixOp/MATDET.js @@ -35,7 +35,7 @@ function MATDET() { return options; } MATDET.prototype.set = function MATDET() { - this.typ = inverse((arguments[0]["typ"])) + this.typ = inverse(arguments[0]["typ"]) this.x = arg1; graphics = arg1.graphics; label = graphics.exprs; diff --git a/js/MatrixOp/MATDIAG.js b/js/MatrixOp/MATDIAG.js index c4287281..701c7a7c 100644 --- a/js/MatrixOp/MATDIAG.js +++ b/js/MatrixOp/MATDIAG.js @@ -35,7 +35,7 @@ function MATDIAG() { return options; } MATDIAG.prototype.set = function MATDIAG() { - this.typ = inverse((arguments[0]["typ"])) + this.typ = inverse(arguments[0]["typ"]) this.x = arg1; graphics = arg1.graphics; label = graphics.exprs; diff --git a/js/MatrixOp/MATDIV.js b/js/MatrixOp/MATDIV.js index 6bc17b58..49d03f43 100644 --- a/js/MatrixOp/MATDIV.js +++ b/js/MatrixOp/MATDIV.js @@ -35,7 +35,7 @@ function MATDIV() { return options; } MATDIV.prototype.set = function MATDIV() { - this.typ = inverse((arguments[0]["typ"])) + this.typ = inverse(arguments[0]["typ"]) this.x = arg1; graphics = arg1.graphics; label = graphics.exprs; diff --git a/js/MatrixOp/MATEIG.js b/js/MatrixOp/MATEIG.js index 64638c8c..c44828fb 100644 --- a/js/MatrixOp/MATEIG.js +++ b/js/MatrixOp/MATEIG.js @@ -36,9 +36,9 @@ function MATEIG() { return options; } MATEIG.prototype.set = function MATEIG() { - this.typ = inverse((arguments[0]["typ"])) - this.decomptyp = parseFloat((arguments[0]["decomptyp"])) - this.lab = parseFloat((arguments[0]["lab"])) + this.typ = inverse(arguments[0]["typ"]) + this.decomptyp = arguments[0]["decomptyp"] + this.lab = arguments[0]["lab"] this.x = arg1; model = arg1.model; graphics = arg1.graphics; diff --git a/js/MatrixOp/MATEXPM.js b/js/MatrixOp/MATEXPM.js index 231f2412..175fd28a 100644 --- a/js/MatrixOp/MATEXPM.js +++ b/js/MatrixOp/MATEXPM.js @@ -35,7 +35,7 @@ function MATEXPM() { return options; } MATEXPM.prototype.set = function MATEXPM() { - this.typ = inverse((arguments[0]["typ"])) + this.typ = inverse(arguments[0]["typ"]) this.x = arg1; graphics = arg1.graphics; label = graphics.exprs; diff --git a/js/MatrixOp/MATINV.js b/js/MatrixOp/MATINV.js index b719e76a..16316559 100644 --- a/js/MatrixOp/MATINV.js +++ b/js/MatrixOp/MATINV.js @@ -35,7 +35,7 @@ function MATINV() { return options; } MATINV.prototype.set = function MATINV() { - this.typ = inverse((arguments[0]["typ"])) + this.typ = inverse(arguments[0]["typ"]) this.x = arg1; graphics = arg1.graphics; label = graphics.exprs; diff --git a/js/MatrixOp/MATLU.js b/js/MatrixOp/MATLU.js index b7c9feef..09cce1c8 100644 --- a/js/MatrixOp/MATLU.js +++ b/js/MatrixOp/MATLU.js @@ -35,8 +35,8 @@ function MATLU() { return options; } MATLU.prototype.set = function MATLU() { - this.typ = inverse((arguments[0]["typ"])) - this.lab = parseFloat((arguments[0]["lab"])) + this.typ = inverse(arguments[0]["typ"]) + this.lab = arguments[0]["lab"] this.x = arg1; model = arg1.model; graphics = arg1.graphics; diff --git a/js/MatrixOp/MATMAGPHI.js b/js/MatrixOp/MATMAGPHI.js index 5ae544ac..db99a27b 100644 --- a/js/MatrixOp/MATMAGPHI.js +++ b/js/MatrixOp/MATMAGPHI.js @@ -35,8 +35,8 @@ function MATMAGPHI() { return options; } MATMAGPHI.prototype.set = function MATMAGPHI() { - this.decomptyp = parseFloat((arguments[0]["decomptyp"])) - this.lab = parseFloat((arguments[0]["lab"])) + this.decomptyp = arguments[0]["decomptyp"] + this.lab = arguments[0]["lab"] this.x = arg1; model = arg1.model; graphics = arg1.graphics; diff --git a/js/MatrixOp/MATMUL.js b/js/MatrixOp/MATMUL.js index 00e69390..2c2cc096 100644 --- a/js/MatrixOp/MATMUL.js +++ b/js/MatrixOp/MATMUL.js @@ -26,9 +26,9 @@ function MATMUL() { return options; } MATMUL.prototype.set = function MATMUL() { - this.dtype = parseFloat((arguments[0]["dtype"])) - this.rule = parseFloat((arguments[0]["rule"])) - this.np = parseFloat((arguments[0]["np"])) + this.dtype = arguments[0]["dtype"] + this.rule = parseFloat(arguments[0]["rule"]) + this.np = parseFloat(arguments[0]["np"]) this.x = arg1; graphics = this.x.graphics; label = graphics.exprs; diff --git a/js/MatrixOp/MATPINV.js b/js/MatrixOp/MATPINV.js index 4577cb9a..e10268f5 100644 --- a/js/MatrixOp/MATPINV.js +++ b/js/MatrixOp/MATPINV.js @@ -35,7 +35,7 @@ function MATPINV() { return options; } MATPINV.prototype.set = function MATPINV() { - this.typ = inverse((arguments[0]["typ"])) + this.typ = inverse(arguments[0]["typ"]) this.x = arg1; graphics = arg1.graphics; label = graphics.exprs; diff --git a/js/MatrixOp/MATRESH.js b/js/MatrixOp/MATRESH.js index e6919ebb..de34ba14 100644 --- a/js/MatrixOp/MATRESH.js +++ b/js/MatrixOp/MATRESH.js @@ -37,10 +37,10 @@ function MATRESH() { return options; } MATRESH.prototype.set = function MATRESH() { - this.typ = inverse((arguments[0]["typ"])) - this.l1 = parseFloat((arguments[0]["l1"])) - this.out = parseFloat((arguments[0]["out"])) - this.lab = parseFloat((arguments[0]["lab"])) + this.typ = inverse(arguments[0]["typ"]) + this.l1 = arguments[0]["l1"] + this.out = arguments[0]["out"] + this.lab = arguments[0]["lab"] this.x = arg1; model = arg1.model; graphics = arg1.graphics; diff --git a/js/MatrixOp/MATSING.js b/js/MatrixOp/MATSING.js index 4d1a4c80..7cd36526 100644 --- a/js/MatrixOp/MATSING.js +++ b/js/MatrixOp/MATSING.js @@ -36,9 +36,9 @@ function MATSING() { return options; } MATSING.prototype.set = function MATSING() { - this.typ = inverse((arguments[0]["typ"])) - this.decomptyp = parseFloat((arguments[0]["decomptyp"])) - this.lab = parseFloat((arguments[0]["lab"])) + this.typ = inverse(arguments[0]["typ"]) + this.decomptyp = arguments[0]["decomptyp"] + this.lab = arguments[0]["lab"] this.x = arg1; model = arg1.model; graphics = arg1.graphics; diff --git a/js/MatrixOp/MATSUM.js b/js/MatrixOp/MATSUM.js index 4614a4ac..92d22248 100644 --- a/js/MatrixOp/MATSUM.js +++ b/js/MatrixOp/MATSUM.js @@ -36,9 +36,9 @@ function MATSUM() { return options; } MATSUM.prototype.set = function MATSUM() { - this.typ = inverse((arguments[0]["typ"])) - this.decomptyp = parseFloat((arguments[0]["decomptyp"])) - this.lab = parseFloat((arguments[0]["lab"])) + this.typ = inverse(arguments[0]["typ"]) + this.decomptyp = arguments[0]["decomptyp"] + this.lab = arguments[0]["lab"] this.x = arg1; model = arg1.model; graphics = arg1.graphics; diff --git a/js/MatrixOp/MATTRAN.js b/js/MatrixOp/MATTRAN.js index 22c53449..7f798932 100644 --- a/js/MatrixOp/MATTRAN.js +++ b/js/MatrixOp/MATTRAN.js @@ -24,8 +24,8 @@ function MATTRAN() { return options; } MATTRAN.prototype.set = function MATTRAN() { - this.typ = inverse((arguments[0]["typ"])) - this.rule = parseFloat((arguments[0]["rule"])) + this.typ = inverse(arguments[0]["typ"]) + this.rule = arguments[0]["rule"] this.x = arg1; graphics = arg1.graphics; label = graphics.exprs; diff --git a/js/MatrixOp/MATZREIM.js b/js/MatrixOp/MATZREIM.js index 9cee64b3..5fa97e04 100644 --- a/js/MatrixOp/MATZREIM.js +++ b/js/MatrixOp/MATZREIM.js @@ -35,8 +35,8 @@ function MATZREIM() { return options; } MATZREIM.prototype.set = function MATZREIM() { - this.decomptyp = parseFloat((arguments[0]["decomptyp"])) - this.lab = parseFloat((arguments[0]["lab"])) + this.decomptyp = arguments[0]["decomptyp"] + this.lab = arguments[0]["lab"] this.x = arg1; model = arg1.model; graphics = arg1.graphics; diff --git a/js/MatrixOp/RICC.js b/js/MatrixOp/RICC.js index 7c8b496d..6f73ee6c 100644 --- a/js/MatrixOp/RICC.js +++ b/js/MatrixOp/RICC.js @@ -36,8 +36,8 @@ function RICC() { return options; } RICC.prototype.set = function RICC() { - this.tpe = parseFloat((arguments[0]["tpe"])) - this.mod = parseFloat((arguments[0]["mod"])) + this.tpe = arguments[0]["tpe"] + this.mod = arguments[0]["mod"] this.x = arg1; graphics = arg1.graphics; label = graphics.exprs; diff --git a/js/MatrixOp/ROOTCOEF.js b/js/MatrixOp/ROOTCOEF.js index ffdac1d4..08d5e3f9 100644 --- a/js/MatrixOp/ROOTCOEF.js +++ b/js/MatrixOp/ROOTCOEF.js @@ -36,8 +36,8 @@ function ROOTCOEF() { return options; } ROOTCOEF.prototype.set = function ROOTCOEF() { - this.typ = inverse((arguments[0]["typ"])) - this.inp = parseFloat((arguments[0]["inp"])) + this.typ = inverse(arguments[0]["typ"]) + this.inp = arguments[0]["inp"] this.x = arg1; graphics = arg1.graphics; label = graphics.exprs; diff --git a/js/MatrixOp/SQRT.js b/js/MatrixOp/SQRT.js index 1b2e03d6..32b04337 100644 --- a/js/MatrixOp/SQRT.js +++ b/js/MatrixOp/SQRT.js @@ -25,7 +25,7 @@ function SQRT() { return options; } SQRT.prototype.set = function SQRT() { - this.typ = inverse((arguments[0]["typ"])) + this.typ = inverse(arguments[0]["typ"]) this.x = arg1; graphics = arg1.graphics; label = graphics.exprs; diff --git a/js/MatrixOp/SUBMAT.js b/js/MatrixOp/SUBMAT.js index 1f6bce0f..18382fdf 100644 --- a/js/MatrixOp/SUBMAT.js +++ b/js/MatrixOp/SUBMAT.js @@ -40,12 +40,12 @@ function SUBMAT() { return options; } SUBMAT.prototype.set = function SUBMAT() { - this.typ = inverse((arguments[0]["typ"])) - this.a = parseFloat((arguments[0]["a"])) - this.b = parseFloat((arguments[0]["b"])) - this.c = parseFloat((arguments[0]["c"])) - this.d = parseFloat((arguments[0]["d"])) - this.inp = parseFloat((arguments[0]["inp"])) + this.typ = inverse(arguments[0]["typ"]) + this.a = arguments[0]["a"] + this.b = arguments[0]["b"] + this.c = arguments[0]["c"] + this.d = arguments[0]["d"] + this.inp = arguments[0]["inp"] this.x = arg1; graphics = arg1.graphics; label = graphics.exprs; diff --git a/js/Misc/BACKLASH.js b/js/Misc/BACKLASH.js index e7819b8e..29813621 100644 --- a/js/Misc/BACKLASH.js +++ b/js/Misc/BACKLASH.js @@ -26,9 +26,9 @@ function BACKLASH() { return options; } BACKLASH.prototype.set = function BACKLASH() { - this.ini = parseFloat((arguments[0]["ini"])) - this.gap = parseFloat((arguments[0]["gap"])) - this.zcr = parseFloat((arguments[0]["zcr"])) + this.ini = arguments[0]["ini"] + this.gap = arguments[0]["gap"] + this.zcr = arguments[0]["zcr"] this.x = arg1; graphics = arg1.graphics; exprs = graphics.exprs; diff --git a/js/Misc/BOUNCE.js b/js/Misc/BOUNCE.js index 885efde8..75550541 100644 --- a/js/Misc/BOUNCE.js +++ b/js/Misc/BOUNCE.js @@ -56,15 +56,15 @@ function BOUNCE() { return options; } BOUNCE.prototype.set = function BOUNCE() { - this.rpar1 = parseFloat((arguments[0]["rpar1"])) - this.rpar2 = parseFloat((arguments[0]["rpar2"])) - this.walls = inverse((arguments[0]["walls"])) - this.xt = inverse((arguments[0]["xt"])) - this.xd = inverse((arguments[0]["xd"])) - this.y = inverse((arguments[0]["y"])) - this.yd = inverse((arguments[0]["yd"])) - this.g = parseFloat((arguments[0]["g"])) - this.C = parseFloat((arguments[0]["C"])) + this.rpar1 = parseFloat(arguments[0]["rpar1"]) + this.rpar2 = parseFloat(arguments[0]["rpar2"]) + this.walls = inverse(arguments[0]["walls"]) + this.xt = inverse(arguments[0]["xt"]) + this.xd = inverse(arguments[0]["xd"]) + this.y = inverse(arguments[0]["y"]) + this.yd = inverse(arguments[0]["yd"]) + this.g = parseFloat(arguments[0]["g"]) + this.C = parseFloat(arguments[0]["C"]) this.x = arg1; graphics = arg1.graphics; exprs = graphics.exprs; diff --git a/js/Misc/BOUNCEXY.js b/js/Misc/BOUNCEXY.js index 02c5be54..2cbcae14 100644 --- a/js/Misc/BOUNCEXY.js +++ b/js/Misc/BOUNCEXY.js @@ -52,14 +52,14 @@ function BOUNCEXY() { return options; } BOUNCEXY.prototype.set = function BOUNCEXY() { - this.clrs = inverse((arguments[0]["clrs"])) - this.siz = inverse((arguments[0]["siz"])) - this.win = parseFloat((arguments[0]["win"])) - this.imode = parseFloat((arguments[0]["imode"])) - this.xmin = parseFloat((arguments[0]["xmin"])) - this.xmax = parseFloat((arguments[0]["xmax"])) - this.ymin = parseFloat((arguments[0]["ymin"])) - this.ymax = parseFloat((arguments[0]["ymax"])) + this.clrs = inverse(arguments[0]["clrs"]) + this.siz = inverse(arguments[0]["siz"]) + this.win = parseFloat(arguments[0]["win"]) + this.imode = parseFloat(arguments[0]["imode"]) + this.xmin = parseFloat(arguments[0]["xmin"]) + this.xmax = parseFloat(arguments[0]["xmax"]) + this.ymin = parseFloat(arguments[0]["ymin"]) + this.ymax = parseFloat(arguments[0]["ymax"]) this.x = arg1; graphics = arg1.graphics; exprs = graphics.exprs; diff --git a/js/Misc/BPLATFORM.js b/js/Misc/BPLATFORM.js index 3f29cbfc..8314c565 100644 --- a/js/Misc/BPLATFORM.js +++ b/js/Misc/BPLATFORM.js @@ -37,13 +37,13 @@ function BPLATFORM() { return options; } BPLATFORM.prototype.set = function BPLATFORM() { - this.plen = parseFloat((arguments[0]["plen"])) - this.csiz = parseFloat((arguments[0]["csiz"])) - this.phi = parseFloat((arguments[0]["phi"])) - this.xmin = parseFloat((arguments[0]["xmin"])) - this.xmax = parseFloat((arguments[0]["xmax"])) - this.ymin = parseFloat((arguments[0]["ymin"])) - this.ymax = parseFloat((arguments[0]["ymax"])) + this.plen = parseFloat(arguments[0]["plen"]) + this.csiz = parseFloat(arguments[0]["csiz"]) + this.phi = parseFloat(arguments[0]["phi"]) + this.xmin = parseFloat(arguments[0]["xmin"]) + this.xmax = parseFloat(arguments[0]["xmax"]) + this.ymin = parseFloat(arguments[0]["ymin"]) + this.ymax = parseFloat(arguments[0]["ymax"]) this.x = arg1; graphics = arg1.graphics; exprs = graphics.exprs; diff --git a/js/Misc/CBLOCK.js b/js/Misc/CBLOCK.js index 6d2b6276..1c43099e 100644 --- a/js/Misc/CBLOCK.js +++ b/js/Misc/CBLOCK.js @@ -55,21 +55,21 @@ function CBLOCK() { return options; } CBLOCK.prototype.set = function CBLOCK() { - this.function_name = parseFloat((arguments[0]["function_name"])) - this.impli = parseFloat((arguments[0]["impli"])) - this.i = parseFloat((arguments[0]["i"])) - this.o = parseFloat((arguments[0]["o"])) - this.ci = parseFloat((arguments[0]["ci"])) - this.co = parseFloat((arguments[0]["co"])) - this.xx = inverse((arguments[0]["xx"])) - this.ng = parseFloat((arguments[0]["ng"])) - this.z = inverse((arguments[0]["z"])) - this.rpar = inverse((arguments[0]["rpar"])) - this.ipar = inverse((arguments[0]["ipar"])) - this.auto0 = parseFloat((arguments[0]["auto0"])) - this.depu = parseBoolean((arguments[0]["depu"])) - this.dept = parseBoolean((arguments[0]["dept"])) - this.lab = parseFloat((arguments[0]["lab"])) + this.function_name = arguments[0]["function_name"] + this.impli = arguments[0]["impli"] + this.i = parseFloat(arguments[0]["i"]) + this.o = parseFloat(arguments[0]["o"]) + this.ci = parseFloat(arguments[0]["ci"]) + this.co = parseFloat(arguments[0]["co"]) + this.xx = inverse(arguments[0]["xx"]) + this.ng = parseFloat(arguments[0]["ng"]) + this.z = inverse(arguments[0]["z"]) + this.rpar = inverse(arguments[0]["rpar"]) + this.ipar = inverse(arguments[0]["ipar"]) + this.auto0 = arguments[0]["auto0"] + this.depu = parseBoolean(arguments[0]["depu"]) + this.dept = parseBoolean(arguments[0]["dept"]) + this.lab = arguments[0]["lab"] this.x = arg1; model = arg1.model; graphics = arg1.graphics; diff --git a/js/Misc/CBLOCK4.js b/js/Misc/CBLOCK4.js index 684e96e5..d7fd487e 100644 --- a/js/Misc/CBLOCK4.js +++ b/js/Misc/CBLOCK4.js @@ -44,26 +44,26 @@ function CBLOCK4() { return options; } CBLOCK4.prototype.set = function CBLOCK4() { - this.function_name = parseFloat((arguments[0]["function_name"])) - this.impli = parseFloat((arguments[0]["impli"])) - this.in1 = parseFloat((arguments[0]["in1"])) - this.it = parseFloat((arguments[0]["it"])) - this.out = parseFloat((arguments[0]["out"])) - this.ot = parseFloat((arguments[0]["ot"])) - this.ci = parseFloat((arguments[0]["ci"])) - this.co = parseFloat((arguments[0]["co"])) - this.xx = inverse((arguments[0]["xx"])) - this.z = inverse((arguments[0]["z"])) - this.oz = parseFloat((arguments[0]["oz"])) - this.rpar = inverse((arguments[0]["rpar"])) - this.ipar = parseFloat((arguments[0]["ipar"])) - this.opar = parseFloat((arguments[0]["opar"])) - this.nmode = parseFloat((arguments[0]["nmode"])) - this.nzcr = parseFloat((arguments[0]["nzcr"])) - this.auto0 = parseFloat((arguments[0]["auto0"])) - this.depu = parseBoolean((arguments[0]["depu"])) - this.dept = parseBoolean((arguments[0]["dept"])) - this.lab = parseFloat((arguments[0]["lab"])) + this.function_name = arguments[0]["function_name"] + this.impli = arguments[0]["impli"] + this.in1 = arguments[0]["in1"] + this.it = arguments[0]["it"] + this.out = arguments[0]["out"] + this.ot = arguments[0]["ot"] + this.ci = parseFloat(arguments[0]["ci"]) + this.co = parseFloat(arguments[0]["co"]) + this.xx = inverse(arguments[0]["xx"]) + this.z = inverse(arguments[0]["z"]) + this.oz = arguments[0]["oz"] + this.rpar = inverse(arguments[0]["rpar"]) + this.ipar = parseFloat(arguments[0]["ipar"]) + this.opar = arguments[0]["opar"] + this.nmode = arguments[0]["nmode"] + this.nzcr = arguments[0]["nzcr"] + this.auto0 = arguments[0]["auto0"] + this.depu = parseBoolean(arguments[0]["depu"]) + this.dept = parseBoolean(arguments[0]["dept"]) + this.lab = arguments[0]["lab"] this.x = arg1; model = arg1.model; graphics = arg1.graphics; diff --git a/js/Misc/CONSTRAINT2_c.js b/js/Misc/CONSTRAINT2_c.js index 7562972f..4bd4e01b 100644 --- a/js/Misc/CONSTRAINT2_c.js +++ b/js/Misc/CONSTRAINT2_c.js @@ -29,9 +29,9 @@ function CONSTRAINT2_c() { return options; } CONSTRAINT2_c.prototype.set = function CONSTRAINT2_c() { - this.x0 = inverse((arguments[0]["x0"])) - this.xd0 = inverse((arguments[0]["xd0"])) - this.id = inverse((arguments[0]["id"])) + this.x0 = inverse(arguments[0]["x0"]) + this.xd0 = inverse(arguments[0]["xd0"]) + this.id = inverse(arguments[0]["id"]) this.x = arg1; graphics = arg1.graphics; exprs = graphics.exprs; diff --git a/js/Misc/CONSTRAINT_c.js b/js/Misc/CONSTRAINT_c.js index c236bb4b..da135a7c 100644 --- a/js/Misc/CONSTRAINT_c.js +++ b/js/Misc/CONSTRAINT_c.js @@ -24,7 +24,7 @@ function CONSTRAINT_c() { return options; } CONSTRAINT_c.prototype.set = function CONSTRAINT_c() { - this.x0 = inverse((arguments[0]["x0"])) + this.x0 = inverse(arguments[0]["x0"]) this.x = arg1; graphics = arg1.graphics; exprs = graphics.exprs; diff --git a/js/Misc/DEADBAND.js b/js/Misc/DEADBAND.js index 7b67acd9..a88d6e57 100644 --- a/js/Misc/DEADBAND.js +++ b/js/Misc/DEADBAND.js @@ -30,9 +30,9 @@ function DEADBAND() { return options; } DEADBAND.prototype.set = function DEADBAND() { - this.maxp = parseFloat((arguments[0]["maxp"])) - this.minp = parseFloat((arguments[0]["minp"])) - this.zeroc = parseFloat((arguments[0]["zeroc"])) + this.maxp = parseFloat(arguments[0]["maxp"]) + this.minp = parseFloat(arguments[0]["minp"]) + this.zeroc = arguments[0]["zeroc"] this.x = arg1; graphics = arg1.graphics; exprs = graphics.exprs; diff --git a/js/Misc/DIFF_f.js b/js/Misc/DIFF_f.js index e4e292aa..0642e719 100644 --- a/js/Misc/DIFF_f.js +++ b/js/Misc/DIFF_f.js @@ -25,8 +25,8 @@ function DIFF_f() { return options; } DIFF_f.prototype.set = function DIFF_f() { - this.x0 = inverse((arguments[0]["x0"])) - this.xd0 = parseFloat((arguments[0]["xd0"])) + this.x0 = inverse(arguments[0]["x0"]) + this.xd0 = arguments[0]["xd0"] this.x = arg1; graphics = arg1.graphics; exprs = graphics.exprs; diff --git a/js/Misc/EDGETRIGGER.js b/js/Misc/EDGETRIGGER.js index cf2fe414..61d495a1 100644 --- a/js/Misc/EDGETRIGGER.js +++ b/js/Misc/EDGETRIGGER.js @@ -26,7 +26,7 @@ function EDGETRIGGER() { return options; } EDGETRIGGER.prototype.set = function EDGETRIGGER() { - this.edge = parseFloat((arguments[0]["edge"])) + this.edge = parseFloat(arguments[0]["edge"]) this.x = arg1; graphics = arg1.graphics; exprs = graphics.exprs; diff --git a/js/Misc/HYSTHERESIS.js b/js/Misc/HYSTHERESIS.js index 3f94c918..c077a1e2 100644 --- a/js/Misc/HYSTHERESIS.js +++ b/js/Misc/HYSTHERESIS.js @@ -33,11 +33,11 @@ function HYSTHERESIS() { return options; } HYSTHERESIS.prototype.set = function HYSTHERESIS() { - this.high_lim = parseFloat((arguments[0]["high_lim"])) - this.low_lim = parseFloat((arguments[0]["low_lim"])) - this.out_high = parseFloat((arguments[0]["out_high"])) - this.out_low = parseFloat((arguments[0]["out_low"])) - this.nzz = parseFloat((arguments[0]["nzz"])) + this.high_lim = arguments[0]["high_lim"] + this.low_lim = arguments[0]["low_lim"] + this.out_high = arguments[0]["out_high"] + this.out_low = arguments[0]["out_low"] + this.nzz = parseFloat(arguments[0]["nzz"]) this.x = arg1; graphics = arg1.graphics; exprs = graphics.exprs; diff --git a/js/Misc/LOGICAL_OP.js b/js/Misc/LOGICAL_OP.js index 34892534..597217ca 100644 --- a/js/Misc/LOGICAL_OP.js +++ b/js/Misc/LOGICAL_OP.js @@ -29,10 +29,10 @@ function LOGICAL_OP() { return options; } LOGICAL_OP.prototype.set = function LOGICAL_OP() { - this.nin = parseFloat((arguments[0]["nin"])) - this.rule = parseFloat((arguments[0]["rule"])) - this.Datatype = parseFloat((arguments[0]["Datatype"])) - this.tp = parseFloat((arguments[0]["tp"])) + this.nin = parseFloat(arguments[0]["nin"]) + this.rule = parseFloat(arguments[0]["rule"]) + this.Datatype = arguments[0]["Datatype"] + this.tp = parseFloat(arguments[0]["tp"]) this.x = arg1; graphics = arg1.graphics; exprs = graphics.exprs; diff --git a/js/Misc/MBLOCK.js b/js/Misc/MBLOCK.js index e86b0c70..8a23fe8b 100644 --- a/js/Misc/MBLOCK.js +++ b/js/Misc/MBLOCK.js @@ -48,14 +48,14 @@ function MBLOCK() { return options; } MBLOCK.prototype.set = function MBLOCK() { - this.Tin = parseFloat((arguments[0]["Tin"])) - this.Tintype = parseFloat((arguments[0]["Tintype"])) - this.Tout = parseFloat((arguments[0]["Tout"])) - this.Touttype = parseFloat((arguments[0]["Touttype"])) - this.Tparam = parseFloat((arguments[0]["Tparam"])) - this.pprop = inverse((arguments[0]["pprop"])) - this.Tfunam = parseFloat((arguments[0]["Tfunam"])) - this.lab_1 = inverse((arguments[0]["lab_1"])) + this.Tin = arguments[0]["Tin"] + this.Tintype = arguments[0]["Tintype"] + this.Tout = arguments[0]["Tout"] + this.Touttype = arguments[0]["Touttype"] + this.Tparam = arguments[0]["Tparam"] + this.pprop = inverse(arguments[0]["pprop"]) + this.Tfunam = arguments[0]["Tfunam"] + this.lab_1 = inverse(arguments[0]["lab_1"]) this.x = arg1; model = arg1.model; graphics = arg1.graphics; diff --git a/js/Misc/MEMORY_f.js b/js/Misc/MEMORY_f.js index fbe66f83..c41ba30f 100644 --- a/js/Misc/MEMORY_f.js +++ b/js/Misc/MEMORY_f.js @@ -28,8 +28,8 @@ function MEMORY_f() { return options; } MEMORY_f.prototype.set = function MEMORY_f() { - this.a = parseFloat((arguments[0]["a"])) - this.inh = parseFloat((arguments[0]["inh"])) + this.a = arguments[0]["a"] + this.inh = parseFloat(arguments[0]["inh"]) this.x = arg1; graphics = arg1.graphics; exprs = graphics.exprs; diff --git a/js/Misc/PENDULUM_ANIM.js b/js/Misc/PENDULUM_ANIM.js index b0a2d933..968e7ba2 100644 --- a/js/Misc/PENDULUM_ANIM.js +++ b/js/Misc/PENDULUM_ANIM.js @@ -37,13 +37,13 @@ function PENDULUM_ANIM() { return options; } PENDULUM_ANIM.prototype.set = function PENDULUM_ANIM() { - this.plen = parseFloat((arguments[0]["plen"])) - this.csiz = parseFloat((arguments[0]["csiz"])) - this.phi = parseFloat((arguments[0]["phi"])) - this.xmin = parseFloat((arguments[0]["xmin"])) - this.xmax = parseFloat((arguments[0]["xmax"])) - this.ymin = parseFloat((arguments[0]["ymin"])) - this.ymax = parseFloat((arguments[0]["ymax"])) + this.plen = parseFloat(arguments[0]["plen"]) + this.csiz = parseFloat(arguments[0]["csiz"]) + this.phi = parseFloat(arguments[0]["phi"]) + this.xmin = parseFloat(arguments[0]["xmin"]) + this.xmax = parseFloat(arguments[0]["xmax"]) + this.ymin = parseFloat(arguments[0]["ymin"]) + this.ymax = parseFloat(arguments[0]["ymax"]) this.x = arg1; graphics = arg1.graphics; exprs = graphics.exprs; diff --git a/js/Misc/RATELIMITER.js b/js/Misc/RATELIMITER.js index 5a26ef56..37ed141f 100644 --- a/js/Misc/RATELIMITER.js +++ b/js/Misc/RATELIMITER.js @@ -27,8 +27,8 @@ function RATELIMITER() { return options; } RATELIMITER.prototype.set = function RATELIMITER() { - this.maxp = parseFloat((arguments[0]["maxp"])) - this.minp = parseFloat((arguments[0]["minp"])) + this.maxp = parseFloat(arguments[0]["maxp"]) + this.minp = parseFloat(arguments[0]["minp"]) this.x = arg1; graphics = arg1.graphics; exprs = graphics.exprs; diff --git a/js/Misc/RELATIONALOP.js b/js/Misc/RELATIONALOP.js index 588397bb..3243c91f 100644 --- a/js/Misc/RELATIONALOP.js +++ b/js/Misc/RELATIONALOP.js @@ -28,9 +28,9 @@ function RELATIONALOP() { return options; } RELATIONALOP.prototype.set = function RELATIONALOP() { - this.rule = parseFloat((arguments[0]["rule"])) - this.zcr = parseFloat((arguments[0]["zcr"])) - this.Datatype = parseFloat((arguments[0]["Datatype"])) + this.rule = parseFloat(arguments[0]["rule"]) + this.zcr = parseFloat(arguments[0]["zcr"]) + this.Datatype = arguments[0]["Datatype"] this.x = arg1; graphics = arg1.graphics; exprs = graphics.exprs; diff --git a/js/Misc/TEXT_f.js b/js/Misc/TEXT_f.js index 8b4b2fbc..85cd9cf1 100644 --- a/js/Misc/TEXT_f.js +++ b/js/Misc/TEXT_f.js @@ -27,9 +27,9 @@ function TEXT_f() { return options; } TEXT_f.prototype.set = function TEXT_f() { - this.txt = parseFloat((arguments[0]["txt"])) - this.font = parseFloat((arguments[0]["font"])) - this.siz = parseFloat((arguments[0]["siz"])) + this.txt = arguments[0]["txt"] + this.font = parseFloat(arguments[0]["font"]) + this.siz = parseFloat(arguments[0]["siz"]) this.x = arg1; graphics = arg1.graphics; orig = graphics.orig; diff --git a/js/Misc/c_block.js b/js/Misc/c_block.js index b6ccbfdd..51dc7208 100644 --- a/js/Misc/c_block.js +++ b/js/Misc/c_block.js @@ -42,11 +42,11 @@ function c_block() { return options; } c_block.prototype.set = function c_block() { - this.i = parseFloat((arguments[0]["i"])) - this.o = parseFloat((arguments[0]["o"])) - this.rpar = inverse((arguments[0]["rpar"])) - this.funam = parseFloat((arguments[0]["funam"])) - this.lab = parseFloat((arguments[0]["lab"])) + this.i = parseFloat(arguments[0]["i"]) + this.o = parseFloat(arguments[0]["o"]) + this.rpar = inverse(arguments[0]["rpar"]) + this.funam = arguments[0]["funam"] + this.lab = arguments[0]["lab"] this.x = arg1; model = arg1.model; graphics = arg1.graphics; diff --git a/js/Misc/fortran_block.js b/js/Misc/fortran_block.js index 164da456..39673360 100644 --- a/js/Misc/fortran_block.js +++ b/js/Misc/fortran_block.js @@ -33,11 +33,11 @@ function fortran_block() { return options; } fortran_block.prototype.set = function fortran_block() { - this.i = parseFloat((arguments[0]["i"])) - this.o = parseFloat((arguments[0]["o"])) - this.rpar = inverse((arguments[0]["rpar"])) - this.funam = parseFloat((arguments[0]["funam"])) - this.lab = parseFloat((arguments[0]["lab"])) + this.i = parseFloat(arguments[0]["i"]) + this.o = parseFloat(arguments[0]["o"]) + this.rpar = inverse(arguments[0]["rpar"]) + this.funam = arguments[0]["funam"] + this.lab = arguments[0]["lab"] this.x = arg1; model = arg1.model; graphics = arg1.graphics; diff --git a/js/Misc/generic_block.js b/js/Misc/generic_block.js index ed6cf736..5325cc7e 100644 --- a/js/Misc/generic_block.js +++ b/js/Misc/generic_block.js @@ -43,20 +43,20 @@ function generic_block() { return options; } generic_block.prototype.set = function generic_block() { - this.function_name = parseFloat((arguments[0]["function_name"])) - this.funtyp = parseFloat((arguments[0]["funtyp"])) - this.i = parseFloat((arguments[0]["i"])) - this.o = parseFloat((arguments[0]["o"])) - this.ci = parseFloat((arguments[0]["ci"])) - this.co = parseFloat((arguments[0]["co"])) - this.xx = inverse((arguments[0]["xx"])) - this.z = inverse((arguments[0]["z"])) - this.rpar = inverse((arguments[0]["rpar"])) - this.ipar = parseFloat((arguments[0]["ipar"])) - this.auto0 = parseFloat((arguments[0]["auto0"])) - this.depu = parseBoolean((arguments[0]["depu"])) - this.dept = parseBoolean((arguments[0]["dept"])) - this.lab = parseFloat((arguments[0]["lab"])) + this.function_name = arguments[0]["function_name"] + this.funtyp = parseFloat(arguments[0]["funtyp"]) + this.i = parseFloat(arguments[0]["i"]) + this.o = parseFloat(arguments[0]["o"]) + this.ci = parseFloat(arguments[0]["ci"]) + this.co = parseFloat(arguments[0]["co"]) + this.xx = inverse(arguments[0]["xx"]) + this.z = inverse(arguments[0]["z"]) + this.rpar = inverse(arguments[0]["rpar"]) + this.ipar = parseFloat(arguments[0]["ipar"]) + this.auto0 = arguments[0]["auto0"] + this.depu = parseBoolean(arguments[0]["depu"]) + this.dept = parseBoolean(arguments[0]["dept"]) + this.lab = arguments[0]["lab"] this.x = arg1; model = arg1.model; graphics = arg1.graphics; diff --git a/js/Misc/generic_block2.js b/js/Misc/generic_block2.js index 015732d4..bdd9308a 100644 --- a/js/Misc/generic_block2.js +++ b/js/Misc/generic_block2.js @@ -45,22 +45,22 @@ function generic_block2() { return options; } generic_block2.prototype.set = function generic_block2() { - this.function_name = parseFloat((arguments[0]["function_name"])) - this.funtyp = parseFloat((arguments[0]["funtyp"])) - this.i = parseFloat((arguments[0]["i"])) - this.o = parseFloat((arguments[0]["o"])) - this.ci = parseFloat((arguments[0]["ci"])) - this.co = parseFloat((arguments[0]["co"])) - this.xx = inverse((arguments[0]["xx"])) - this.z = inverse((arguments[0]["z"])) - this.rpar = inverse((arguments[0]["rpar"])) - this.ipar = parseFloat((arguments[0]["ipar"])) - this.nmode = parseFloat((arguments[0]["nmode"])) - this.nzcr = parseFloat((arguments[0]["nzcr"])) - this.auto0 = parseFloat((arguments[0]["auto0"])) - this.depu = parseBoolean((arguments[0]["depu"])) - this.dept = parseBoolean((arguments[0]["dept"])) - this.lab = parseFloat((arguments[0]["lab"])) + this.function_name = arguments[0]["function_name"] + this.funtyp = parseFloat(arguments[0]["funtyp"]) + this.i = parseFloat(arguments[0]["i"]) + this.o = parseFloat(arguments[0]["o"]) + this.ci = parseFloat(arguments[0]["ci"]) + this.co = parseFloat(arguments[0]["co"]) + this.xx = inverse(arguments[0]["xx"]) + this.z = inverse(arguments[0]["z"]) + this.rpar = inverse(arguments[0]["rpar"]) + this.ipar = parseFloat(arguments[0]["ipar"]) + this.nmode = arguments[0]["nmode"] + this.nzcr = arguments[0]["nzcr"] + this.auto0 = arguments[0]["auto0"] + this.depu = parseBoolean(arguments[0]["depu"]) + this.dept = parseBoolean(arguments[0]["dept"]) + this.lab = arguments[0]["lab"] this.x = arg1; model = arg1.model; graphics = arg1.graphics; diff --git a/js/Misc/generic_block3.js b/js/Misc/generic_block3.js index 31ff8f57..137032a3 100644 --- a/js/Misc/generic_block3.js +++ b/js/Misc/generic_block3.js @@ -45,26 +45,26 @@ function generic_block3() { return options; } generic_block3.prototype.set = function generic_block3() { - this.function_name = parseFloat((arguments[0]["function_name"])) - this.funtyp = parseFloat((arguments[0]["funtyp"])) - this.in1 = parseFloat((arguments[0]["in1"])) - this.it = parseFloat((arguments[0]["it"])) - this.out = parseFloat((arguments[0]["out"])) - this.ot = parseFloat((arguments[0]["ot"])) - this.ci = parseFloat((arguments[0]["ci"])) - this.co = parseFloat((arguments[0]["co"])) - this.xx = inverse((arguments[0]["xx"])) - this.z = inverse((arguments[0]["z"])) - this.oz = parseFloat((arguments[0]["oz"])) - this.rpar = inverse((arguments[0]["rpar"])) - this.ipar = parseFloat((arguments[0]["ipar"])) - this.opar = parseFloat((arguments[0]["opar"])) - this.nmode = parseFloat((arguments[0]["nmode"])) - this.nzcr = parseFloat((arguments[0]["nzcr"])) - this.auto0 = parseFloat((arguments[0]["auto0"])) - this.depu = parseBoolean((arguments[0]["depu"])) - this.dept = parseBoolean((arguments[0]["dept"])) - this.lab = parseFloat((arguments[0]["lab"])) + this.function_name = arguments[0]["function_name"] + this.funtyp = parseFloat(arguments[0]["funtyp"]) + this.in1 = arguments[0]["in1"] + this.it = arguments[0]["it"] + this.out = arguments[0]["out"] + this.ot = arguments[0]["ot"] + this.ci = parseFloat(arguments[0]["ci"]) + this.co = parseFloat(arguments[0]["co"]) + this.xx = inverse(arguments[0]["xx"]) + this.z = inverse(arguments[0]["z"]) + this.oz = arguments[0]["oz"] + this.rpar = inverse(arguments[0]["rpar"]) + this.ipar = parseFloat(arguments[0]["ipar"]) + this.opar = arguments[0]["opar"] + this.nmode = arguments[0]["nmode"] + this.nzcr = arguments[0]["nzcr"] + this.auto0 = arguments[0]["auto0"] + this.depu = parseBoolean(arguments[0]["depu"]) + this.dept = parseBoolean(arguments[0]["dept"]) + this.lab = arguments[0]["lab"] this.x = arg1; model = arg1.model; graphics = arg1.graphics; diff --git a/js/Misc/scifunc_block.js b/js/Misc/scifunc_block.js index 71f3d0f1..4e016a08 100644 --- a/js/Misc/scifunc_block.js +++ b/js/Misc/scifunc_block.js @@ -47,16 +47,16 @@ function scifunc_block() { return options; } scifunc_block.prototype.set = function scifunc_block() { - this.i = parseFloat((arguments[0]["i"])) - this.o = parseFloat((arguments[0]["o"])) - this.ci = parseFloat((arguments[0]["ci"])) - this.co = parseFloat((arguments[0]["co"])) - this.xx = inverse((arguments[0]["xx"])) - this.z = inverse((arguments[0]["z"])) - this.rpar = inverse((arguments[0]["rpar"])) - this.auto0 = parseFloat((arguments[0]["auto0"])) - this.deptime = parseFloat((arguments[0]["deptime"])) - this.lab = parseFloat((arguments[0]["lab"])) + this.i = parseFloat(arguments[0]["i"]) + this.o = parseFloat(arguments[0]["o"]) + this.ci = parseFloat(arguments[0]["ci"]) + this.co = parseFloat(arguments[0]["co"]) + this.xx = inverse(arguments[0]["xx"]) + this.z = inverse(arguments[0]["z"]) + this.rpar = inverse(arguments[0]["rpar"]) + this.auto0 = arguments[0]["auto0"] + this.deptime = arguments[0]["deptime"] + this.lab = arguments[0]["lab"] needcompile = 0; this.x = arg1; model = arg1.model; diff --git a/js/Misc/scifunc_block_m.js b/js/Misc/scifunc_block_m.js index 92e417a9..f53b1d5d 100644 --- a/js/Misc/scifunc_block_m.js +++ b/js/Misc/scifunc_block_m.js @@ -52,16 +52,16 @@ function scifunc_block_m() { return options; } scifunc_block_m.prototype.set = function scifunc_block_m() { - this.i = parseFloat((arguments[0]["i"])) - this.o = parseFloat((arguments[0]["o"])) - this.ci = parseFloat((arguments[0]["ci"])) - this.co = parseFloat((arguments[0]["co"])) - this.xx = inverse((arguments[0]["xx"])) - this.z = inverse((arguments[0]["z"])) - this.rpar = inverse((arguments[0]["rpar"])) - this.auto0 = parseFloat((arguments[0]["auto0"])) - this.deptime = parseFloat((arguments[0]["deptime"])) - this.lab = parseFloat((arguments[0]["lab"])) + this.i = arguments[0]["i"] + this.o = arguments[0]["o"] + this.ci = parseFloat(arguments[0]["ci"]) + this.co = parseFloat(arguments[0]["co"]) + this.xx = inverse(arguments[0]["xx"]) + this.z = inverse(arguments[0]["z"]) + this.rpar = inverse(arguments[0]["rpar"]) + this.auto0 = arguments[0]["auto0"] + this.deptime = arguments[0]["deptime"] + this.lab = arguments[0]["lab"] needcompile = 0; this.x = arg1; model = arg1.model; diff --git a/js/NonLinear/ABS_VALUE.js b/js/NonLinear/ABS_VALUE.js index da4d3854..1d2e63c2 100644 --- a/js/NonLinear/ABS_VALUE.js +++ b/js/NonLinear/ABS_VALUE.js @@ -25,7 +25,7 @@ function ABS_VALUE() { return options; } ABS_VALUE.prototype.set = function ABS_VALUE() { - this.zcr = parseFloat((arguments[0]["zcr"])) + this.zcr = arguments[0]["zcr"] this.x = arg1; graphics = arg1.graphics; exprs = graphics.exprs; diff --git a/js/NonLinear/DLRADAPT_f.js b/js/NonLinear/DLRADAPT_f.js index 7845c28a..caadf701 100644 --- a/js/NonLinear/DLRADAPT_f.js +++ b/js/NonLinear/DLRADAPT_f.js @@ -38,12 +38,12 @@ function DLRADAPT_f() { return options; } DLRADAPT_f.prototype.set = function DLRADAPT_f() { - this.p = inverse((arguments[0]["p"])) - this.rn = inverse((arguments[0]["rn"])) - this.rd = inverse((arguments[0]["rd"])) - this.g = inverse((arguments[0]["g"])) - this.last_u = inverse((arguments[0]["last_u"])) - this.last_y = inverse((arguments[0]["last_y"])) + this.p = inverse(arguments[0]["p"]) + this.rn = inverse(arguments[0]["rn"]) + this.rd = inverse(arguments[0]["rd"]) + this.g = inverse(arguments[0]["g"]) + this.last_u = inverse(arguments[0]["last_u"]) + this.last_y = inverse(arguments[0]["last_y"]) this.x = arg1; graphics = arg1.graphics; exprs = graphics.exprs; diff --git a/js/NonLinear/EXPBLK_f.js b/js/NonLinear/EXPBLK_f.js index 1a47f639..5d5c28f6 100644 --- a/js/NonLinear/EXPBLK_f.js +++ b/js/NonLinear/EXPBLK_f.js @@ -24,7 +24,7 @@ function EXPBLK_f() { return options; } EXPBLK_f.prototype.set = function EXPBLK_f() { - this.a = parseFloat((arguments[0]["a"])) + this.a = parseFloat(arguments[0]["a"]) this.x = arg1; graphics = arg1.graphics; exprs = graphics.exprs; diff --git a/js/NonLinear/EXPBLK_m.js b/js/NonLinear/EXPBLK_m.js index fa981dc4..784a2f1b 100644 --- a/js/NonLinear/EXPBLK_m.js +++ b/js/NonLinear/EXPBLK_m.js @@ -28,7 +28,7 @@ function EXPBLK_m() { return options; } EXPBLK_m.prototype.set = function EXPBLK_m() { - this.a = parseFloat((arguments[0]["a"])) + this.a = parseFloat(arguments[0]["a"]) this.x = arg1; graphics = arg1.graphics; exprs = graphics.exprs; diff --git a/js/NonLinear/INTRP2BLK_f.js b/js/NonLinear/INTRP2BLK_f.js index 2ac420d8..dfae286e 100644 --- a/js/NonLinear/INTRP2BLK_f.js +++ b/js/NonLinear/INTRP2BLK_f.js @@ -29,9 +29,9 @@ function INTRP2BLK_f() { return options; } INTRP2BLK_f.prototype.set = function INTRP2BLK_f() { - this.a = inverse((arguments[0]["a"])) - this.b = inverse((arguments[0]["b"])) - this.c = inverse((arguments[0]["c"])) + this.a = inverse(arguments[0]["a"]) + this.b = inverse(arguments[0]["b"]) + this.c = inverse(arguments[0]["c"]) this.x = arg1; graphics = arg1.graphics; exprs = graphics.exprs; diff --git a/js/NonLinear/INTRPLBLK_f.js b/js/NonLinear/INTRPLBLK_f.js index 28c0d0e4..1ee8b5ce 100644 --- a/js/NonLinear/INTRPLBLK_f.js +++ b/js/NonLinear/INTRPLBLK_f.js @@ -26,8 +26,8 @@ function INTRPLBLK_f() { return options; } INTRPLBLK_f.prototype.set = function INTRPLBLK_f() { - this.a = inverse((arguments[0]["a"])) - this.b = inverse((arguments[0]["b"])) + this.a = inverse(arguments[0]["a"]) + this.b = inverse(arguments[0]["b"]) this.x = arg1; graphics = arg1.graphics; exprs = graphics.exprs; diff --git a/js/NonLinear/LOGBLK_f.js b/js/NonLinear/LOGBLK_f.js index 85bd7db0..0af1aac0 100644 --- a/js/NonLinear/LOGBLK_f.js +++ b/js/NonLinear/LOGBLK_f.js @@ -24,7 +24,7 @@ function LOGBLK_f() { return options; } LOGBLK_f.prototype.set = function LOGBLK_f() { - this.a = parseFloat((arguments[0]["a"])) + this.a = parseFloat(arguments[0]["a"]) this.x = arg1; graphics = arg1.graphics; exprs = graphics.exprs; diff --git a/js/NonLinear/LOOKUP2D.js b/js/NonLinear/LOOKUP2D.js index c83c9632..0a774ebf 100644 --- a/js/NonLinear/LOOKUP2D.js +++ b/js/NonLinear/LOOKUP2D.js @@ -35,11 +35,11 @@ function LOOKUP2D() { return options; } LOOKUP2D.prototype.set = function LOOKUP2D() { - this.xx = inverse((arguments[0]["xx"])) - this.yy = inverse((arguments[0]["yy"])) - this.zz = inverse((arguments[0]["zz"])) - this.Method = parseFloat((arguments[0]["Method"])) - this.graf = parseFloat((arguments[0]["graf"])) + this.xx = inverse(arguments[0]["xx"]) + this.yy = inverse(arguments[0]["yy"]) + this.zz = inverse(arguments[0]["zz"]) + this.Method = parseFloat(arguments[0]["Method"]) + this.graf = arguments[0]["graf"] this.x = arg1; model = arg1.model; graphics = arg1.graphics; diff --git a/js/NonLinear/MAXMIN.js b/js/NonLinear/MAXMIN.js index 1391dd7a..5c55ad5c 100644 --- a/js/NonLinear/MAXMIN.js +++ b/js/NonLinear/MAXMIN.js @@ -26,9 +26,9 @@ function MAXMIN() { return options; } MAXMIN.prototype.set = function MAXMIN() { - this.mm = parseFloat((arguments[0]["mm"])) - this.nin = parseFloat((arguments[0]["nin"])) - this.zcr = parseFloat((arguments[0]["zcr"])) + this.mm = parseFloat(arguments[0]["mm"]) + this.nin = arguments[0]["nin"] + this.zcr = parseFloat(arguments[0]["zcr"]) this.x = arg1; graphics = arg1.graphics; exprs = graphics.exprs; diff --git a/js/NonLinear/POWBLK_f.js b/js/NonLinear/POWBLK_f.js index 34a45d67..f2b1c07c 100644 --- a/js/NonLinear/POWBLK_f.js +++ b/js/NonLinear/POWBLK_f.js @@ -24,7 +24,7 @@ function POWBLK_f() { return options; } POWBLK_f.prototype.set = function POWBLK_f() { - this.a = parseFloat((arguments[0]["a"])) + this.a = parseFloat(arguments[0]["a"]) this.x = arg1; graphics = arg1.graphics; exprs = graphics.exprs; diff --git a/js/NonLinear/PRODUCT.js b/js/NonLinear/PRODUCT.js index 12d29acb..d7587964 100644 --- a/js/NonLinear/PRODUCT.js +++ b/js/NonLinear/PRODUCT.js @@ -23,7 +23,7 @@ function PRODUCT() { return options; } PRODUCT.prototype.set = function PRODUCT() { - this.sgn = inverse((arguments[0]["sgn"])) + this.sgn = inverse(arguments[0]["sgn"]) this.x = arg1; graphics = arg1.graphics; model = arg1.model; diff --git a/js/NonLinear/QUANT_f.js b/js/NonLinear/QUANT_f.js index 23b1aa28..bace34cc 100644 --- a/js/NonLinear/QUANT_f.js +++ b/js/NonLinear/QUANT_f.js @@ -27,8 +27,8 @@ function QUANT_f() { return options; } QUANT_f.prototype.set = function QUANT_f() { - this.pas = parseFloat((arguments[0]["pas"])) - this.meth = parseFloat((arguments[0]["meth"])) + this.pas = parseFloat(arguments[0]["pas"]) + this.meth = parseFloat(arguments[0]["meth"]) this.x = arg1; graphics = arg1.graphics; exprs = graphics.exprs; diff --git a/js/NonLinear/SATURATION.js b/js/NonLinear/SATURATION.js index 0506ce70..2eb79d27 100644 --- a/js/NonLinear/SATURATION.js +++ b/js/NonLinear/SATURATION.js @@ -30,9 +30,9 @@ function SATURATION() { return options; } SATURATION.prototype.set = function SATURATION() { - this.maxp = parseFloat((arguments[0]["maxp"])) - this.minp = parseFloat((arguments[0]["minp"])) - this.zeroc = parseFloat((arguments[0]["zeroc"])) + this.maxp = parseFloat(arguments[0]["maxp"]) + this.minp = parseFloat(arguments[0]["minp"]) + this.zeroc = arguments[0]["zeroc"] this.x = arg1; graphics = arg1.graphics; exprs = graphics.exprs; diff --git a/js/NonLinear/SAT_f.js b/js/NonLinear/SAT_f.js index 3dc10505..72812ed6 100644 --- a/js/NonLinear/SAT_f.js +++ b/js/NonLinear/SAT_f.js @@ -30,9 +30,9 @@ function SAT_f() { return options; } SAT_f.prototype.set = function SAT_f() { - this.minp = parseFloat((arguments[0]["minp"])) - this.maxp = parseFloat((arguments[0]["maxp"])) - this.pente = parseFloat((arguments[0]["pente"])) + this.minp = parseFloat(arguments[0]["minp"]) + this.maxp = parseFloat(arguments[0]["maxp"]) + this.pente = arguments[0]["pente"] this.x = arg1; graphics = arg1.graphics; exprs = graphics.exprs; diff --git a/js/NonLinear/SIGNUM.js b/js/NonLinear/SIGNUM.js index 99386542..f52c4715 100644 --- a/js/NonLinear/SIGNUM.js +++ b/js/NonLinear/SIGNUM.js @@ -25,7 +25,7 @@ function SIGNUM() { return options; } SIGNUM.prototype.set = function SIGNUM() { - this.zcr = parseFloat((arguments[0]["zcr"])) + this.zcr = arguments[0]["zcr"] this.x = arg1; graphics = arg1.graphics; exprs = graphics.exprs; diff --git a/js/NonLinear/TrigFun.js b/js/NonLinear/TrigFun.js index b3f30c82..e0392284 100644 --- a/js/NonLinear/TrigFun.js +++ b/js/NonLinear/TrigFun.js @@ -21,7 +21,7 @@ function TrigFun() { return options; } TrigFun.prototype.set = function TrigFun() { - this.fun = parseFloat((arguments[0]["fun"])) + this.fun = arguments[0]["fun"] this.x = arg1; graphics = arg1.graphics; exprs = graphics.exprs; diff --git a/js/PDE/PDE.js b/js/PDE/PDE.js index 91b3e33a..3268c0e0 100644 --- a/js/PDE/PDE.js +++ b/js/PDE/PDE.js @@ -23,9 +23,9 @@ function PDE() { return options; } PDE.prototype.set = function PDE() { - this.okk = parseBoolean((arguments[0]["okk"])) - this.rdnom = parseFloat((arguments[0]["rdnom"])) - this.lab = parseFloat((arguments[0]["lab"])) + this.okk = parseBoolean(arguments[0]["okk"]) + this.rdnom = arguments[0]["rdnom"] + this.lab = arguments[0]["lab"] this.x = arg1; graphics = arg1.graphics; label = graphics.exprs; diff --git a/js/Sinks/AFFICH_m.js b/js/Sinks/AFFICH_m.js index 6d6e3506..3b073df5 100644 --- a/js/Sinks/AFFICH_m.js +++ b/js/Sinks/AFFICH_m.js @@ -39,13 +39,13 @@ function AFFICH_m() { return options; } AFFICH_m.prototype.set = function AFFICH_m() { - this.in1 = inverse((arguments[0]["in1"])) - this.font = parseFloat((arguments[0]["font"])) - this.fontsize = parseFloat((arguments[0]["fontsize"])) - this.colr = parseFloat((arguments[0]["colr"])) - this.nt = parseFloat((arguments[0]["nt"])) - this.nd = parseFloat((arguments[0]["nd"])) - this.herit = parseFloat((arguments[0]["herit"])) + this.in1 = inverse(arguments[0]["in1"]) + this.font = parseFloat(arguments[0]["font"]) + this.fontsize = parseFloat(arguments[0]["fontsize"]) + this.colr = parseFloat(arguments[0]["colr"]) + this.nt = parseFloat(arguments[0]["nt"]) + this.nd = parseFloat(arguments[0]["nd"]) + this.herit = arguments[0]["herit"] this.x = arg1; graphics = arg1.graphics; exprs = graphics.exprs; diff --git a/js/Sinks/BARXY.js b/js/Sinks/BARXY.js index 657f2035..48eb2b5e 100644 --- a/js/Sinks/BARXY.js +++ b/js/Sinks/BARXY.js @@ -35,11 +35,11 @@ function BARXY() { return options; } BARXY.prototype.set = function BARXY() { - this.xmin = parseFloat((arguments[0]["xmin"])) - this.xmax = parseFloat((arguments[0]["xmax"])) - this.ymin = parseFloat((arguments[0]["ymin"])) - this.ymax = parseFloat((arguments[0]["ymax"])) - this.thickness = parseFloat((arguments[0]["thickness"])) + this.xmin = parseFloat(arguments[0]["xmin"]) + this.xmax = parseFloat(arguments[0]["xmax"]) + this.ymin = parseFloat(arguments[0]["ymin"]) + this.ymax = parseFloat(arguments[0]["ymax"]) + this.thickness = arguments[0]["thickness"] this.x = arg1; graphics = arg1.graphics; exprs = graphics.exprs; diff --git a/js/Sinks/CANIMXY.js b/js/Sinks/CANIMXY.js index 6473d23b..3502c2e9 100644 --- a/js/Sinks/CANIMXY.js +++ b/js/Sinks/CANIMXY.js @@ -48,17 +48,17 @@ function CANIMXY() { return options; } CANIMXY.prototype.set = function CANIMXY() { - this.nbr_curves = parseFloat((arguments[0]["nbr_curves"])) - this.clrs = parseFloat((arguments[0]["clrs"])) - this.siz = parseFloat((arguments[0]["siz"])) - this.win = parseFloat((arguments[0]["win"])) - this.wpos = inverse((arguments[0]["wpos"])) - this.wdim = inverse((arguments[0]["wdim"])) - this.xmin = parseFloat((arguments[0]["xmin"])) - this.xmax = parseFloat((arguments[0]["xmax"])) - this.ymin = parseFloat((arguments[0]["ymin"])) - this.ymax = parseFloat((arguments[0]["ymax"])) - this.N = parseFloat((arguments[0]["N"])) + this.nbr_curves = parseFloat(arguments[0]["nbr_curves"]) + this.clrs = parseFloat(arguments[0]["clrs"]) + this.siz = parseFloat(arguments[0]["siz"]) + this.win = parseFloat(arguments[0]["win"]) + this.wpos = inverse(arguments[0]["wpos"]) + this.wdim = inverse(arguments[0]["wdim"]) + this.xmin = parseFloat(arguments[0]["xmin"]) + this.xmax = parseFloat(arguments[0]["xmax"]) + this.ymin = parseFloat(arguments[0]["ymin"]) + this.ymax = parseFloat(arguments[0]["ymax"]) + this.N = parseFloat(arguments[0]["N"]) this.x = arg1; graphics = arg1.graphics; exprs = graphics.exprs; diff --git a/js/Sinks/CANIMXY3D.js b/js/Sinks/CANIMXY3D.js index 6488cddc..a68ddeb6 100644 --- a/js/Sinks/CANIMXY3D.js +++ b/js/Sinks/CANIMXY3D.js @@ -48,17 +48,17 @@ function CANIMXY3D() { return options; } CANIMXY3D.prototype.set = function CANIMXY3D() { - this.nbr_curves = parseFloat((arguments[0]["nbr_curves"])) - this.clrs = inverse((arguments[0]["clrs"])) - this.siz = inverse((arguments[0]["siz"])) - this.win = parseFloat((arguments[0]["win"])) - this.wpos = inverse((arguments[0]["wpos"])) - this.wdim = inverse((arguments[0]["wdim"])) - this.vec_x = inverse((arguments[0]["vec_x"])) - this.vec_y = inverse((arguments[0]["vec_y"])) - this.vec_z = inverse((arguments[0]["vec_z"])) - this.param3ds = inverse((arguments[0]["param3ds"])) - this.N = parseFloat((arguments[0]["N"])) + this.nbr_curves = parseFloat(arguments[0]["nbr_curves"]) + this.clrs = inverse(arguments[0]["clrs"]) + this.siz = inverse(arguments[0]["siz"]) + this.win = parseFloat(arguments[0]["win"]) + this.wpos = inverse(arguments[0]["wpos"]) + this.wdim = inverse(arguments[0]["wdim"]) + this.vec_x = inverse(arguments[0]["vec_x"]) + this.vec_y = inverse(arguments[0]["vec_y"]) + this.vec_z = inverse(arguments[0]["vec_z"]) + this.param3ds = inverse(arguments[0]["param3ds"]) + this.N = parseFloat(arguments[0]["N"]) this.x = arg1; graphics = arg1.graphics; exprs = graphics.exprs; diff --git a/js/Sinks/CEVENTSCOPE.js b/js/Sinks/CEVENTSCOPE.js index bb514ece..c69e296c 100644 --- a/js/Sinks/CEVENTSCOPE.js +++ b/js/Sinks/CEVENTSCOPE.js @@ -34,12 +34,12 @@ function CEVENTSCOPE() { return options; } CEVENTSCOPE.prototype.set = function CEVENTSCOPE() { - this.nclock = parseFloat((arguments[0]["nclock"])) - this.clrs = inverse((arguments[0]["clrs"])) - this.win = parseFloat((arguments[0]["win"])) - this.wpos = inverse((arguments[0]["wpos"])) - this.wdim = inverse((arguments[0]["wdim"])) - this.per = parseFloat((arguments[0]["per"])) + this.nclock = parseFloat(arguments[0]["nclock"]) + this.clrs = inverse(arguments[0]["clrs"]) + this.win = parseFloat(arguments[0]["win"]) + this.wpos = inverse(arguments[0]["wpos"]) + this.wdim = inverse(arguments[0]["wdim"]) + this.per = parseFloat(arguments[0]["per"]) this.x = arg1; graphics = arg1.graphics; exprs = graphics.exprs; diff --git a/js/Sinks/CFSCOPE.js b/js/Sinks/CFSCOPE.js index 4c3738d1..b20b44d9 100644 --- a/js/Sinks/CFSCOPE.js +++ b/js/Sinks/CFSCOPE.js @@ -39,15 +39,15 @@ function CFSCOPE() { return options; } CFSCOPE.prototype.set = function CFSCOPE() { - this.clrs = inverse((arguments[0]["clrs"])) - this.win = parseFloat((arguments[0]["win"])) - this.wpos = inverse((arguments[0]["wpos"])) - this.wdim = inverse((arguments[0]["wdim"])) - this.ymin = parseFloat((arguments[0]["ymin"])) - this.ymax = parseFloat((arguments[0]["ymax"])) - this.per = parseFloat((arguments[0]["per"])) - this.N = parseFloat((arguments[0]["N"])) - this.wu = parseFloat((arguments[0]["wu"])) + this.clrs = inverse(arguments[0]["clrs"]) + this.win = parseFloat(arguments[0]["win"]) + this.wpos = inverse(arguments[0]["wpos"]) + this.wdim = inverse(arguments[0]["wdim"]) + this.ymin = parseFloat(arguments[0]["ymin"]) + this.ymax = parseFloat(arguments[0]["ymax"]) + this.per = parseFloat(arguments[0]["per"]) + this.N = parseFloat(arguments[0]["N"]) + this.wu = arguments[0]["wu"] this.x = arg1; graphics = arg1.graphics; exprs = graphics.exprs; diff --git a/js/Sinks/CLKOUTV_f.js b/js/Sinks/CLKOUTV_f.js index 69f7b5cb..4e80cd28 100644 --- a/js/Sinks/CLKOUTV_f.js +++ b/js/Sinks/CLKOUTV_f.js @@ -22,7 +22,7 @@ function CLKOUTV_f() { return options; } CLKOUTV_f.prototype.set = function CLKOUTV_f() { - this.prt = parseFloat((arguments[0]["prt"])) + this.prt = arguments[0]["prt"] this.x = arg1; graphics = arg1.graphics; model = arg1.model; diff --git a/js/Sinks/CLKOUT_f.js b/js/Sinks/CLKOUT_f.js index 4d36da39..985ef1d8 100644 --- a/js/Sinks/CLKOUT_f.js +++ b/js/Sinks/CLKOUT_f.js @@ -22,7 +22,7 @@ function CLKOUT_f() { return options; } CLKOUT_f.prototype.set = function CLKOUT_f() { - this.prt = parseFloat((arguments[0]["prt"])) + this.prt = parseFloat(arguments[0]["prt"]) this.x = arg1; graphics = arg1.graphics; model = arg1.model; diff --git a/js/Sinks/CMAT3D.js b/js/Sinks/CMAT3D.js index ea3cf4b8..a9d7bb37 100644 --- a/js/Sinks/CMAT3D.js +++ b/js/Sinks/CMAT3D.js @@ -38,11 +38,11 @@ function CMAT3D() { return options; } CMAT3D.prototype.set = function CMAT3D() { - this.vec_x = parseFloat((arguments[0]["vec_x"])) - this.vec_y = parseFloat((arguments[0]["vec_y"])) - this.colormap = parseFloat((arguments[0]["colormap"])) - this.cmin = parseFloat((arguments[0]["cmin"])) - this.cmax = parseFloat((arguments[0]["cmax"])) + this.vec_x = arguments[0]["vec_x"] + this.vec_y = arguments[0]["vec_y"] + this.colormap = parseFloat(arguments[0]["colormap"]) + this.cmin = parseFloat(arguments[0]["cmin"]) + this.cmax = parseFloat(arguments[0]["cmax"]) this.x = arg1; graphics = arg1.graphics; exprs = graphics.exprs; diff --git a/js/Sinks/CMATVIEW.js b/js/Sinks/CMATVIEW.js index 95a83038..3789d80b 100644 --- a/js/Sinks/CMATVIEW.js +++ b/js/Sinks/CMATVIEW.js @@ -34,9 +34,9 @@ function CMATVIEW() { return options; } CMATVIEW.prototype.set = function CMATVIEW() { - this.colormap = parseFloat((arguments[0]["colormap"])) - this.cmin = parseFloat((arguments[0]["cmin"])) - this.cmax = parseFloat((arguments[0]["cmax"])) + this.colormap = parseFloat(arguments[0]["colormap"]) + this.cmin = parseFloat(arguments[0]["cmin"]) + this.cmax = parseFloat(arguments[0]["cmax"]) this.x = arg1; graphics = arg1.graphics; exprs = graphics.exprs; diff --git a/js/Sinks/CMSCOPE.js b/js/Sinks/CMSCOPE.js index 2192a6b7..d005be05 100644 --- a/js/Sinks/CMSCOPE.js +++ b/js/Sinks/CMSCOPE.js @@ -47,17 +47,17 @@ function CMSCOPE() { return options; } CMSCOPE.prototype.set = function CMSCOPE() { - this.in1 = inverse((arguments[0]["in1"])) - this.clrs = inverse((arguments[0]["clrs"])) - this.win = parseFloat((arguments[0]["win"])) - this.wpos = inverse((arguments[0]["wpos"])) - this.wdim = inverse((arguments[0]["wdim"])) - this.ymin = inverse((arguments[0]["ymin"])) - this.ymax = inverse((arguments[0]["ymax"])) - this.per = inverse((arguments[0]["per"])) - this.N = parseFloat((arguments[0]["N"])) - this.heritance = parseFloat((arguments[0]["heritance"])) - this.nom = parseFloat((arguments[0]["nom"])) + this.in1 = inverse(arguments[0]["in1"]) + this.clrs = inverse(arguments[0]["clrs"]) + this.win = parseFloat(arguments[0]["win"]) + this.wpos = inverse(arguments[0]["wpos"]) + this.wdim = inverse(arguments[0]["wdim"]) + this.ymin = inverse(arguments[0]["ymin"]) + this.ymax = inverse(arguments[0]["ymax"]) + this.per = inverse(arguments[0]["per"]) + this.N = parseFloat(arguments[0]["N"]) + this.heritance = arguments[0]["heritance"] + this.nom = arguments[0]["nom"] this.x = arg1; graphics = arg1.graphics; exprs = graphics.exprs; diff --git a/js/Sinks/CSCOPE.js b/js/Sinks/CSCOPE.js index 4726b9c9..82bd20c3 100644 --- a/js/Sinks/CSCOPE.js +++ b/js/Sinks/CSCOPE.js @@ -42,16 +42,16 @@ function CSCOPE() { return options; } CSCOPE.prototype.set = function CSCOPE() { - this.clrs = inverse((arguments[0]["clrs"])) - this.win = parseFloat((arguments[0]["win"])) - this.wpos = inverse((arguments[0]["wpos"])) - this.wdim = inverse((arguments[0]["wdim"])) - this.ymin = parseFloat((arguments[0]["ymin"])) - this.ymax = parseFloat((arguments[0]["ymax"])) - this.per = parseFloat((arguments[0]["per"])) - this.N = parseFloat((arguments[0]["N"])) - this.heritance = parseFloat((arguments[0]["heritance"])) - this.nom = parseFloat((arguments[0]["nom"])) + this.clrs = inverse(arguments[0]["clrs"]) + this.win = parseFloat(arguments[0]["win"]) + this.wpos = inverse(arguments[0]["wpos"]) + this.wdim = inverse(arguments[0]["wdim"]) + this.ymin = parseFloat(arguments[0]["ymin"]) + this.ymax = parseFloat(arguments[0]["ymax"]) + this.per = parseFloat(arguments[0]["per"]) + this.N = parseFloat(arguments[0]["N"]) + this.heritance = arguments[0]["heritance"] + this.nom = arguments[0]["nom"] this.x = arg1; graphics = arg1.graphics; exprs = graphics.exprs; diff --git a/js/Sinks/CSCOPXY.js b/js/Sinks/CSCOPXY.js index 71082262..e07d4078 100644 --- a/js/Sinks/CSCOPXY.js +++ b/js/Sinks/CSCOPXY.js @@ -47,17 +47,17 @@ function CSCOPXY() { return options; } CSCOPXY.prototype.set = function CSCOPXY() { - this.nbr_curves = parseFloat((arguments[0]["nbr_curves"])) - this.clrs = parseFloat((arguments[0]["clrs"])) - this.siz = parseFloat((arguments[0]["siz"])) - this.win = parseFloat((arguments[0]["win"])) - this.wpos = inverse((arguments[0]["wpos"])) - this.wdim = inverse((arguments[0]["wdim"])) - this.xmin = parseFloat((arguments[0]["xmin"])) - this.xmax = parseFloat((arguments[0]["xmax"])) - this.ymin = parseFloat((arguments[0]["ymin"])) - this.ymax = parseFloat((arguments[0]["ymax"])) - this.N = parseFloat((arguments[0]["N"])) + this.nbr_curves = parseFloat(arguments[0]["nbr_curves"]) + this.clrs = parseFloat(arguments[0]["clrs"]) + this.siz = parseFloat(arguments[0]["siz"]) + this.win = parseFloat(arguments[0]["win"]) + this.wpos = inverse(arguments[0]["wpos"]) + this.wdim = inverse(arguments[0]["wdim"]) + this.xmin = parseFloat(arguments[0]["xmin"]) + this.xmax = parseFloat(arguments[0]["xmax"]) + this.ymin = parseFloat(arguments[0]["ymin"]) + this.ymax = parseFloat(arguments[0]["ymax"]) + this.N = parseFloat(arguments[0]["N"]) this.x = arg1; graphics = arg1.graphics; exprs = graphics.exprs; diff --git a/js/Sinks/CSCOPXY3D.js b/js/Sinks/CSCOPXY3D.js index 59e254ad..f24d67cb 100644 --- a/js/Sinks/CSCOPXY3D.js +++ b/js/Sinks/CSCOPXY3D.js @@ -47,17 +47,17 @@ function CSCOPXY3D() { return options; } CSCOPXY3D.prototype.set = function CSCOPXY3D() { - this.nbr_curves = parseFloat((arguments[0]["nbr_curves"])) - this.clrs = inverse((arguments[0]["clrs"])) - this.siz = inverse((arguments[0]["siz"])) - this.win = parseFloat((arguments[0]["win"])) - this.wpos = inverse((arguments[0]["wpos"])) - this.wdim = inverse((arguments[0]["wdim"])) - this.vec_x = inverse((arguments[0]["vec_x"])) - this.vec_y = inverse((arguments[0]["vec_y"])) - this.vec_z = inverse((arguments[0]["vec_z"])) - this.param3ds = inverse((arguments[0]["param3ds"])) - this.N = parseFloat((arguments[0]["N"])) + this.nbr_curves = parseFloat(arguments[0]["nbr_curves"]) + this.clrs = inverse(arguments[0]["clrs"]) + this.siz = inverse(arguments[0]["siz"]) + this.win = parseFloat(arguments[0]["win"]) + this.wpos = inverse(arguments[0]["wpos"]) + this.wdim = inverse(arguments[0]["wdim"]) + this.vec_x = inverse(arguments[0]["vec_x"]) + this.vec_y = inverse(arguments[0]["vec_y"]) + this.vec_z = inverse(arguments[0]["vec_z"]) + this.param3ds = inverse(arguments[0]["param3ds"]) + this.N = parseFloat(arguments[0]["N"]) this.x = arg1; graphics = arg1.graphics; exprs = graphics.exprs; diff --git a/js/Sinks/OUTIMPL_f.js b/js/Sinks/OUTIMPL_f.js index 3656ece7..eb1aff0e 100644 --- a/js/Sinks/OUTIMPL_f.js +++ b/js/Sinks/OUTIMPL_f.js @@ -28,7 +28,7 @@ function OUTIMPL_f() { return options; } OUTIMPL_f.prototype.set = function OUTIMPL_f() { - this.prt = parseFloat((arguments[0]["prt"])) + this.prt = parseFloat(arguments[0]["prt"]) this.x = arg1; graphics = arg1.graphics; exprs = graphics.exprs; diff --git a/js/Sinks/OUT_f.js b/js/Sinks/OUT_f.js index be1b1738..4a81d71f 100644 --- a/js/Sinks/OUT_f.js +++ b/js/Sinks/OUT_f.js @@ -25,7 +25,7 @@ function OUT_f() { return options; } OUT_f.prototype.set = function OUT_f() { - this.prt = parseFloat((arguments[0]["prt"])) + this.prt = parseFloat(arguments[0]["prt"]) this.x = arg1; graphics = arg1.graphics; model = arg1.model; diff --git a/js/Sinks/TOWS_c.js b/js/Sinks/TOWS_c.js index 3d2bec1b..67f4cf64 100644 --- a/js/Sinks/TOWS_c.js +++ b/js/Sinks/TOWS_c.js @@ -35,9 +35,9 @@ function TOWS_c() { return options; } TOWS_c.prototype.set = function TOWS_c() { - this.nz = parseFloat((arguments[0]["nz"])) - this.varnam = parseFloat((arguments[0]["varnam"])) - this.herit = parseFloat((arguments[0]["herit"])) + this.nz = parseFloat(arguments[0]["nz"]) + this.varnam = arguments[0]["varnam"] + this.herit = parseFloat(arguments[0]["herit"]) this.x = arg1; graphics = arg1.graphics; model = arg1.model; diff --git a/js/Sinks/WFILE_f.js b/js/Sinks/WFILE_f.js index 35514384..96bf2ea2 100644 --- a/js/Sinks/WFILE_f.js +++ b/js/Sinks/WFILE_f.js @@ -33,10 +33,10 @@ function WFILE_f() { return options; } WFILE_f.prototype.set = function WFILE_f() { - this.in1 = parseFloat((arguments[0]["in1"])) - this.fname1 = parseFloat((arguments[0]["fname1"])) - this.frmt1 = parseFloat((arguments[0]["frmt1"])) - this.N = parseFloat((arguments[0]["N"])) + this.in1 = parseFloat(arguments[0]["in1"]) + this.fname1 = parseFloat(arguments[0]["fname1"]) + this.frmt1 = parseFloat(arguments[0]["frmt1"]) + this.N = parseFloat(arguments[0]["N"]) warnobsolete("WRITEC_f","6.0.0"); warnMessage = msprintf(_("Feature %s is obsolete."),"WFILE_f"); warnAdvise = msprintf(_("Please use %s instead."),"WRITEC_f"); diff --git a/js/Sinks/WRITEAU_f.js b/js/Sinks/WRITEAU_f.js index 4b4caa17..d5302a86 100644 --- a/js/Sinks/WRITEAU_f.js +++ b/js/Sinks/WRITEAU_f.js @@ -32,8 +32,8 @@ function WRITEAU_f() { return options; } WRITEAU_f.prototype.set = function WRITEAU_f() { - this.N = parseFloat((arguments[0]["N"])) - this.swap = parseFloat((arguments[0]["swap"])) + this.N = parseFloat(arguments[0]["N"]) + this.swap = parseFloat(arguments[0]["swap"]) this.x = arg1; graphics = arg1.graphics; exprs = graphics.exprs; diff --git a/js/Sinks/WRITEC_f.js b/js/Sinks/WRITEC_f.js index 1e4800a2..b8be9fc4 100644 --- a/js/Sinks/WRITEC_f.js +++ b/js/Sinks/WRITEC_f.js @@ -35,11 +35,11 @@ function WRITEC_f() { return options; } WRITEC_f.prototype.set = function WRITEC_f() { - this.in1 = parseFloat((arguments[0]["in1"])) - this.fname1 = parseFloat((arguments[0]["fname1"])) - this.frmt1 = parseFloat((arguments[0]["frmt1"])) - this.N = parseFloat((arguments[0]["N"])) - this.swap = parseFloat((arguments[0]["swap"])) + this.in1 = parseFloat(arguments[0]["in1"]) + this.fname1 = parseFloat(arguments[0]["fname1"]) + this.frmt1 = arguments[0]["frmt1"] + this.N = parseFloat(arguments[0]["N"]) + this.swap = parseFloat(arguments[0]["swap"]) this.x = arg1; graphics = arg1.graphics; exprs = graphics.exprs; diff --git a/js/Sources/CLKINV_f.js b/js/Sources/CLKINV_f.js index 8a10a229..15cccf2a 100644 --- a/js/Sources/CLKINV_f.js +++ b/js/Sources/CLKINV_f.js @@ -23,7 +23,7 @@ function CLKINV_f() { return options; } CLKINV_f.prototype.set = function CLKINV_f() { - this.prt = parseFloat((arguments[0]["prt"])) + this.prt = parseFloat(arguments[0]["prt"]) this.x = arg1; graphics = arg1.graphics; model = arg1.model; diff --git a/js/Sources/CLKIN_f.js b/js/Sources/CLKIN_f.js index ff42d1da..08373047 100644 --- a/js/Sources/CLKIN_f.js +++ b/js/Sources/CLKIN_f.js @@ -22,7 +22,7 @@ function CLKIN_f() { return options; } CLKIN_f.prototype.set = function CLKIN_f() { - this.prt = parseFloat((arguments[0]["prt"])) + this.prt = parseFloat(arguments[0]["prt"]) this.x = arg1; graphics = arg1.graphics; model = arg1.model; diff --git a/js/Sources/CLOCK_c.js b/js/Sources/CLOCK_c.js index 9635ac4c..97df9d39 100644 --- a/js/Sources/CLOCK_c.js +++ b/js/Sources/CLOCK_c.js @@ -53,9 +53,9 @@ function CLOCK_c() { return options; } CLOCK_c.prototype.set = function CLOCK_c() { - this.dt = parseFloat((arguments[0]["dt"])) - this.t0 = parseFloat((arguments[0]["t0"])) - this.exprs0 = parseFloat((arguments[0]["exprs0"])) + this.dt = arguments[0]["dt"] + this.t0 = arguments[0]["t0"] + this.exprs0 = arguments[0]["exprs0"] for (i=1;i<=length(arg1.model.rpar.objs);i+=1) { o = arg1.model.rpar.objs[i-1]; if (typeof(o)=="Block"&&o.gui=="EVTDLY_c") { diff --git a/js/Sources/CLOCK_f.js b/js/Sources/CLOCK_f.js index 7ef76e89..2f7509a5 100644 --- a/js/Sources/CLOCK_f.js +++ b/js/Sources/CLOCK_f.js @@ -53,9 +53,9 @@ function CLOCK_f() { return options; } CLOCK_f.prototype.set = function CLOCK_f() { - this.dt = parseFloat((arguments[0]["dt"])) - this.t0 = parseFloat((arguments[0]["t0"])) - this.exprs0 = parseFloat((arguments[0]["exprs0"])) + this.dt = arguments[0]["dt"] + this.t0 = arguments[0]["t0"] + this.exprs0 = arguments[0]["exprs0"] for (i=1;i<=length(arg1.model.rpar.objs);i+=1) { o = arg1.model.rpar.objs[i-1]; if (typeof(o)=="Block"&&o.gui=="EVTDLY_f") { diff --git a/js/Sources/CONST.js b/js/Sources/CONST.js index de7dd51a..34c1ca06 100644 --- a/js/Sources/CONST.js +++ b/js/Sources/CONST.js @@ -23,7 +23,7 @@ function CONST() { return options; } CONST.prototype.set = function CONST() { - this.C = parseFloat((arguments[0]["C"])) + this.C = parseFloat(arguments[0]["C"]) this.x = arg1; graphics = arg1.graphics; exprs = graphics.exprs; diff --git a/js/Sources/CONST_f.js b/js/Sources/CONST_f.js index f6a3306d..900a953b 100644 --- a/js/Sources/CONST_f.js +++ b/js/Sources/CONST_f.js @@ -23,7 +23,7 @@ function CONST_f() { return options; } CONST_f.prototype.set = function CONST_f() { - this.C = parseFloat((arguments[0]["C"])) + this.C = parseFloat(arguments[0]["C"]) this.x = arg1; graphics = arg1.graphics; exprs = graphics.exprs; diff --git a/js/Sources/CONST_m.js b/js/Sources/CONST_m.js index 67ef14df..2c187bf2 100644 --- a/js/Sources/CONST_m.js +++ b/js/Sources/CONST_m.js @@ -26,7 +26,7 @@ function CONST_m() { return options; } CONST_m.prototype.set = function CONST_m() { - this.C = inverse((arguments[0]["C"])) + this.C = inverse(arguments[0]["C"]) this.x = arg1; graphics = arg1.graphics; exprs = graphics.exprs; diff --git a/js/Sources/Counter.js b/js/Sources/Counter.js index 64d87996..5ef219d4 100644 --- a/js/Sources/Counter.js +++ b/js/Sources/Counter.js @@ -30,9 +30,9 @@ function Counter() { return options; } Counter.prototype.set = function Counter() { - this.minim = parseFloat((arguments[0]["minim"])) - this.maxim = parseFloat((arguments[0]["maxim"])) - this.rule = parseFloat((arguments[0]["rule"])) + this.minim = parseFloat(arguments[0]["minim"]) + this.maxim = parseFloat(arguments[0]["maxim"]) + this.rule = parseFloat(arguments[0]["rule"]) this.x = arg1; graphics = arg1.graphics; exprs = graphics.exprs; diff --git a/js/Sources/FROMWS_c.js b/js/Sources/FROMWS_c.js index 01d4c245..00630b65 100644 --- a/js/Sources/FROMWS_c.js +++ b/js/Sources/FROMWS_c.js @@ -34,10 +34,10 @@ function FROMWS_c() { return options; } FROMWS_c.prototype.set = function FROMWS_c() { - this.varnam = parseFloat((arguments[0]["varnam"])) - this.Method = parseFloat((arguments[0]["Method"])) - this.ZC = parseFloat((arguments[0]["ZC"])) - this.OutEnd = parseFloat((arguments[0]["OutEnd"])) + this.varnam = arguments[0]["varnam"] + this.Method = parseFloat(arguments[0]["Method"]) + this.ZC = parseFloat(arguments[0]["ZC"]) + this.OutEnd = parseFloat(arguments[0]["OutEnd"]) this.x = arg1; graphics = arg1.graphics; exprs = graphics.exprs; diff --git a/js/Sources/GENSIN_f.js b/js/Sources/GENSIN_f.js index 00fda26a..93ce008b 100644 --- a/js/Sources/GENSIN_f.js +++ b/js/Sources/GENSIN_f.js @@ -28,9 +28,9 @@ function GENSIN_f() { return options; } GENSIN_f.prototype.set = function GENSIN_f() { - this.M = parseFloat((arguments[0]["M"])) - this.F = parseFloat((arguments[0]["F"])) - this.P = parseFloat((arguments[0]["P"])) + this.M = arguments[0]["M"] + this.F = arguments[0]["F"] + this.P = arguments[0]["P"] this.x = arg1; graphics = arg1.graphics; exprs = graphics.exprs; diff --git a/js/Sources/GENSQR_f.js b/js/Sources/GENSQR_f.js index 6839e96a..d4dbe567 100644 --- a/js/Sources/GENSQR_f.js +++ b/js/Sources/GENSQR_f.js @@ -26,7 +26,7 @@ function GENSQR_f() { return options; } GENSQR_f.prototype.set = function GENSQR_f() { - this.Amplitude = parseFloat((arguments[0]["Amplitude"])) + this.Amplitude = parseFloat(arguments[0]["Amplitude"]) this.x = arg1; graphics = arg1.graphics; exprs = graphics.exprs; diff --git a/js/Sources/GEN_SQR.js b/js/Sources/GEN_SQR.js index 39a3ec95..d6a3d32a 100644 --- a/js/Sources/GEN_SQR.js +++ b/js/Sources/GEN_SQR.js @@ -59,10 +59,10 @@ function GEN_SQR() { return options; } GEN_SQR.prototype.set = function GEN_SQR() { - scicos_context.Amin = parseFloat((arguments[0]["scicos_context.Amin"])) - scicos_context.Amax = parseFloat((arguments[0]["scicos_context.Amax"])) - scicos_context.rule = parseFloat((arguments[0]["scicos_context.rule"])) - scicos_context.F = parseFloat((arguments[0]["scicos_context.F"])) + scicos_context.Amin = arguments[0]["scicos_context.Amin"] + scicos_context.Amax = arguments[0]["scicos_context.Amax"] + scicos_context.rule = arguments[0]["scicos_context.rule"] + scicos_context.F = arguments[0]["scicos_context.F"] y = this.needcompile; arg1.model.ipar = 1; typ = list(); diff --git a/js/Sources/INIMPL_f.js b/js/Sources/INIMPL_f.js index 16e681a2..9df4edbe 100644 --- a/js/Sources/INIMPL_f.js +++ b/js/Sources/INIMPL_f.js @@ -28,7 +28,7 @@ function INIMPL_f() { return options; } INIMPL_f.prototype.set = function INIMPL_f() { - this.prt = parseFloat((arguments[0]["prt"])) + this.prt = parseFloat(arguments[0]["prt"]) this.x = arg1; graphics = arg1.graphics; exprs = graphics.exprs; diff --git a/js/Sources/Modulo_Count.js b/js/Sources/Modulo_Count.js index 9a37d409..d65b6931 100644 --- a/js/Sources/Modulo_Count.js +++ b/js/Sources/Modulo_Count.js @@ -27,8 +27,8 @@ function Modulo_Count() { return options; } Modulo_Count.prototype.set = function Modulo_Count() { - this.ini_c = parseFloat((arguments[0]["ini_c"])) - this.base = parseFloat((arguments[0]["base"])) + this.ini_c = parseFloat(arguments[0]["ini_c"]) + this.base = parseFloat(arguments[0]["base"]) this.x = arg1; graphics = arg1.graphics; exprs = graphics.exprs; diff --git a/js/Sources/PULSE_SC.js b/js/Sources/PULSE_SC.js index 45440f1b..496a0a2d 100644 --- a/js/Sources/PULSE_SC.js +++ b/js/Sources/PULSE_SC.js @@ -54,10 +54,10 @@ function PULSE_SC() { return options; } PULSE_SC.prototype.set = function PULSE_SC() { - scicos_context.E = parseFloat((arguments[0]["scicos_context.E"])) - scicos_context.W = parseFloat((arguments[0]["scicos_context.W"])) - scicos_context.F = parseFloat((arguments[0]["scicos_context.F"])) - scicos_context.A = parseFloat((arguments[0]["scicos_context.A"])) + scicos_context.E = arguments[0]["scicos_context.E"] + scicos_context.W = arguments[0]["scicos_context.W"] + scicos_context.F = arguments[0]["scicos_context.F"] + scicos_context.A = arguments[0]["scicos_context.A"] y = this.needcompile; arg1.model.ipar = 1; typ = list(); diff --git a/js/Sources/RAMP.js b/js/Sources/RAMP.js index 4567458e..f34a816a 100644 --- a/js/Sources/RAMP.js +++ b/js/Sources/RAMP.js @@ -31,9 +31,9 @@ function RAMP() { return options; } RAMP.prototype.set = function RAMP() { - this.slope = parseFloat((arguments[0]["slope"])) - this.stt = parseFloat((arguments[0]["stt"])) - this.iout = parseFloat((arguments[0]["iout"])) + this.slope = parseFloat(arguments[0]["slope"]) + this.stt = parseFloat(arguments[0]["stt"]) + this.iout = parseFloat(arguments[0]["iout"]) this.x = arg1; graphics = arg1.graphics; exprs = graphics.exprs; diff --git a/js/Sources/RAND_f.js b/js/Sources/RAND_f.js index c6bc527f..fb90a1e8 100644 --- a/js/Sources/RAND_f.js +++ b/js/Sources/RAND_f.js @@ -33,10 +33,10 @@ function RAND_f() { return options; } RAND_f.prototype.set = function RAND_f() { - this.flag = parseFloat((arguments[0]["flag"])) - this.a = parseFloat((arguments[0]["a"])) - this.b = parseFloat((arguments[0]["b"])) - this.seed_c = parseFloat((arguments[0]["seed_c"])) + this.flag = parseFloat(arguments[0]["flag"]) + this.a = parseFloat(arguments[0]["a"]) + this.b = parseFloat(arguments[0]["b"]) + this.seed_c = arguments[0]["seed_c"] this.x = arg1; graphics = arg1.graphics; exprs = graphics.exprs; diff --git a/js/Sources/RAND_m.js b/js/Sources/RAND_m.js index 5974246b..f602ae68 100644 --- a/js/Sources/RAND_m.js +++ b/js/Sources/RAND_m.js @@ -43,11 +43,11 @@ function RAND_m() { return options; } RAND_m.prototype.set = function RAND_m() { - this.typ = inverse((arguments[0]["typ"])) - this.flag = parseFloat((arguments[0]["flag"])) - this.a = parseFloat((arguments[0]["a"])) - this.b = parseFloat((arguments[0]["b"])) - this.seed_c = parseFloat((arguments[0]["seed_c"])) + this.typ = inverse(arguments[0]["typ"]) + this.flag = parseFloat(arguments[0]["flag"]) + this.a = parseFloat(arguments[0]["a"]) + this.b = parseFloat(arguments[0]["b"]) + this.seed_c = arguments[0]["seed_c"] this.x = arg1; graphics = arg1.graphics; exprs = graphics.exprs; diff --git a/js/Sources/READAU_f.js b/js/Sources/READAU_f.js index a6d63862..e808579b 100644 --- a/js/Sources/READAU_f.js +++ b/js/Sources/READAU_f.js @@ -37,9 +37,9 @@ function READAU_f() { return options; } READAU_f.prototype.set = function READAU_f() { - this.fname1 = parseFloat((arguments[0]["fname1"])) - this.N = parseFloat((arguments[0]["N"])) - this.swap = parseFloat((arguments[0]["swap"])) + this.fname1 = parseFloat(arguments[0]["fname1"]) + this.N = parseFloat(arguments[0]["N"]) + this.swap = parseFloat(arguments[0]["swap"]) this.x = arg1; graphics = arg1.graphics; exprs = graphics.exprs; diff --git a/js/Sources/READC_f.js b/js/Sources/READC_f.js index a22e610b..e6f44c28 100644 --- a/js/Sources/READC_f.js +++ b/js/Sources/READC_f.js @@ -46,14 +46,14 @@ function READC_f() { return options; } READC_f.prototype.set = function READC_f() { - this.tmask1 = parseFloat((arguments[0]["tmask1"])) - this.outmask = parseFloat((arguments[0]["outmask"])) - this.fname1 = parseFloat((arguments[0]["fname1"])) - this.frmt1 = parseFloat((arguments[0]["frmt1"])) - this.M = parseFloat((arguments[0]["M"])) - this.N = parseFloat((arguments[0]["N"])) - this.offset = parseFloat((arguments[0]["offset"])) - this.swap = parseFloat((arguments[0]["swap"])) + this.tmask1 = parseFloat(arguments[0]["tmask1"]) + this.outmask = parseFloat(arguments[0]["outmask"]) + this.fname1 = parseFloat(arguments[0]["fname1"]) + this.frmt1 = arguments[0]["frmt1"] + this.M = parseFloat(arguments[0]["M"]) + this.N = parseFloat(arguments[0]["N"]) + this.offset = parseFloat(arguments[0]["offset"]) + this.swap = parseFloat(arguments[0]["swap"]) this.x = arg1; model = this.x.model; graphics = arg1.graphics; diff --git a/js/Sources/RFILE_f.js b/js/Sources/RFILE_f.js index e4a81fe2..419f0bb1 100644 --- a/js/Sources/RFILE_f.js +++ b/js/Sources/RFILE_f.js @@ -39,11 +39,11 @@ function RFILE_f() { return options; } RFILE_f.prototype.set = function RFILE_f() { - this.tmask1 = parseFloat((arguments[0]["tmask1"])) - this.outmask = parseFloat((arguments[0]["outmask"])) - this.fname1 = parseFloat((arguments[0]["fname1"])) - this.frmt1 = parseFloat((arguments[0]["frmt1"])) - this.N = parseFloat((arguments[0]["N"])) + this.tmask1 = parseFloat(arguments[0]["tmask1"]) + this.outmask = parseFloat(arguments[0]["outmask"]) + this.fname1 = parseFloat(arguments[0]["fname1"]) + this.frmt1 = parseFloat(arguments[0]["frmt1"]) + this.N = parseFloat(arguments[0]["N"]) this.x = arg1; graphics = arg1.graphics; exprs = graphics.exprs; diff --git a/js/Sources/STEP.js b/js/Sources/STEP.js index 42b032fa..1d5fbe8a 100644 --- a/js/Sources/STEP.js +++ b/js/Sources/STEP.js @@ -30,9 +30,9 @@ function STEP() { return options; } STEP.prototype.set = function STEP() { - this.temps = parseFloat((arguments[0]["temps"])) - this.in1 = parseFloat((arguments[0]["in1"])) - this.fi = parseFloat((arguments[0]["fi"])) + this.temps = arguments[0]["temps"] + this.in1 = arguments[0]["in1"] + this.fi = arguments[0]["fi"] this.x = arg1; graphics = arg1.graphics; exprs = graphics.exprs; diff --git a/js/Sources/SampleCLK.js b/js/Sources/SampleCLK.js index 642d6bd7..a91881eb 100644 --- a/js/Sources/SampleCLK.js +++ b/js/Sources/SampleCLK.js @@ -23,8 +23,8 @@ function SampleCLK() { return options; } SampleCLK.prototype.set = function SampleCLK() { - this.frequ = parseFloat((arguments[0]["frequ"])) - this.offset = parseFloat((arguments[0]["offset"])) + this.frequ = arguments[0]["frequ"] + this.offset = arguments[0]["offset"] this.x = arg1; graphics = arg1.graphics; model = arg1.model; diff --git a/js/Sources/TKSCALE.js b/js/Sources/TKSCALE.js index 9de93dd4..c29ec00e 100644 --- a/js/Sources/TKSCALE.js +++ b/js/Sources/TKSCALE.js @@ -28,9 +28,9 @@ function TKSCALE() { return options; } TKSCALE.prototype.set = function TKSCALE() { - this.a = parseFloat((arguments[0]["a"])) - this.b = parseFloat((arguments[0]["b"])) - this.f = parseFloat((arguments[0]["f"])) + this.a = parseFloat(arguments[0]["a"]) + this.b = parseFloat(arguments[0]["b"]) + this.f = parseFloat(arguments[0]["f"]) this.x = arg1; graphics = arg1.graphics; exprs = graphics.exprs; diff --git a/js/Threshold/GENERAL_f.js b/js/Threshold/GENERAL_f.js index b3d38232..adc77cb3 100644 --- a/js/Threshold/GENERAL_f.js +++ b/js/Threshold/GENERAL_f.js @@ -29,8 +29,8 @@ function GENERAL_f() { return options; } GENERAL_f.prototype.set = function GENERAL_f() { - this.in1 = parseFloat((arguments[0]["in1"])) - this.out = parseFloat((arguments[0]["out"])) + this.in1 = parseFloat(arguments[0]["in1"]) + this.out = parseFloat(arguments[0]["out"]) this.x = arg1; graphics = arg1.graphics; exprs = graphics.exprs; diff --git a/js/Threshold/ZCROSS_f.js b/js/Threshold/ZCROSS_f.js index 50015c59..fae6bbaf 100644 --- a/js/Threshold/ZCROSS_f.js +++ b/js/Threshold/ZCROSS_f.js @@ -26,7 +26,7 @@ function ZCROSS_f() { return options; } ZCROSS_f.prototype.set = function ZCROSS_f() { - this.in1 = parseFloat((arguments[0]["in1"])) + this.in1 = parseFloat(arguments[0]["in1"]) this.x = arg1; graphics = arg1.graphics; exprs = graphics.exprs; |