summaryrefslogtreecommitdiff
path: root/js/Misc
diff options
context:
space:
mode:
Diffstat (limited to 'js/Misc')
-rw-r--r--js/Misc/BACKLASH.js6
-rw-r--r--js/Misc/BOUNCE.js18
-rw-r--r--js/Misc/BOUNCEXY.js16
-rw-r--r--js/Misc/BPLATFORM.js14
-rw-r--r--js/Misc/CBLOCK.js30
-rw-r--r--js/Misc/CBLOCK4.js40
-rw-r--r--js/Misc/CONSTRAINT2_c.js6
-rw-r--r--js/Misc/CONSTRAINT_c.js2
-rw-r--r--js/Misc/DEADBAND.js6
-rw-r--r--js/Misc/DIFF_f.js4
-rw-r--r--js/Misc/EDGETRIGGER.js2
-rw-r--r--js/Misc/HYSTHERESIS.js10
-rw-r--r--js/Misc/LOGICAL_OP.js8
-rw-r--r--js/Misc/MBLOCK.js16
-rw-r--r--js/Misc/MEMORY_f.js4
-rw-r--r--js/Misc/PENDULUM_ANIM.js14
-rw-r--r--js/Misc/RATELIMITER.js4
-rw-r--r--js/Misc/RELATIONALOP.js6
-rw-r--r--js/Misc/TEXT_f.js6
-rw-r--r--js/Misc/c_block.js10
-rw-r--r--js/Misc/fortran_block.js10
-rw-r--r--js/Misc/generic_block.js28
-rw-r--r--js/Misc/generic_block2.js32
-rw-r--r--js/Misc/generic_block3.js40
-rw-r--r--js/Misc/scifunc_block.js20
-rw-r--r--js/Misc/scifunc_block_m.js20
26 files changed, 186 insertions, 186 deletions
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;