summaryrefslogtreecommitdiff
path: root/js/NonLinear
diff options
context:
space:
mode:
Diffstat (limited to 'js/NonLinear')
-rw-r--r--js/NonLinear/ABS_VALUE.js2
-rw-r--r--js/NonLinear/DLRADAPT_f.js12
-rw-r--r--js/NonLinear/EXPBLK_f.js2
-rw-r--r--js/NonLinear/EXPBLK_m.js2
-rw-r--r--js/NonLinear/INTRP2BLK_f.js6
-rw-r--r--js/NonLinear/INTRPLBLK_f.js4
-rw-r--r--js/NonLinear/LOGBLK_f.js2
-rw-r--r--js/NonLinear/LOOKUP2D.js10
-rw-r--r--js/NonLinear/MAXMIN.js6
-rw-r--r--js/NonLinear/POWBLK_f.js2
-rw-r--r--js/NonLinear/PRODUCT.js2
-rw-r--r--js/NonLinear/QUANT_f.js4
-rw-r--r--js/NonLinear/SATURATION.js6
-rw-r--r--js/NonLinear/SAT_f.js6
-rw-r--r--js/NonLinear/SIGNUM.js2
-rw-r--r--js/NonLinear/TrigFun.js2
16 files changed, 35 insertions, 35 deletions
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;