summaryrefslogtreecommitdiff
path: root/js/NonLinear
diff options
context:
space:
mode:
Diffstat (limited to 'js/NonLinear')
-rw-r--r--js/NonLinear/EXPBLK_f.js5
-rw-r--r--js/NonLinear/EXPBLK_m.js5
-rw-r--r--js/NonLinear/LOGBLK_f.js5
-rw-r--r--js/NonLinear/POWBLK_f.js5
-rw-r--r--js/NonLinear/PRODUCT.js5
-rw-r--r--js/NonLinear/TrigFun.js5
6 files changed, 24 insertions, 6 deletions
diff --git a/js/NonLinear/EXPBLK_f.js b/js/NonLinear/EXPBLK_f.js
index 2b4cc440..8d08da66 100644
--- a/js/NonLinear/EXPBLK_f.js
+++ b/js/NonLinear/EXPBLK_f.js
@@ -19,7 +19,10 @@ function EXPBLK_f() {
return this.x;
}
EXPBLK_f.prototype.get = function EXPBLK_f() {
- alert("parameters cannot be modified");
+ var options = {
+ a:["a (>0)",this.a],
+ }
+ return options;
}
EXPBLK_f.prototype.set = function EXPBLK_f() {
this.exprs = this.graphics.exprs;
diff --git a/js/NonLinear/EXPBLK_m.js b/js/NonLinear/EXPBLK_m.js
index 3aa7f33e..df1fc9d3 100644
--- a/js/NonLinear/EXPBLK_m.js
+++ b/js/NonLinear/EXPBLK_m.js
@@ -23,7 +23,10 @@ function EXPBLK_m() {
return this.x;
}
EXPBLK_m.prototype.get = function EXPBLK_m() {
- alert("parameters cannot be modified");
+ var options = {
+ a:["a (>0)",this.a],
+ }
+ return options;
}
EXPBLK_m.prototype.set = function EXPBLK_m() {
this.exprs = this.graphics.exprs;
diff --git a/js/NonLinear/LOGBLK_f.js b/js/NonLinear/LOGBLK_f.js
index 59ee4067..aa223ced 100644
--- a/js/NonLinear/LOGBLK_f.js
+++ b/js/NonLinear/LOGBLK_f.js
@@ -19,7 +19,10 @@ function LOGBLK_f() {
return this.x;
}
LOGBLK_f.prototype.get = function LOGBLK_f() {
- alert("parameters cannot be modified");
+ var options = {
+ a:["Basis (>1)",this.a],
+ }
+ return options;
}
LOGBLK_f.prototype.set = function LOGBLK_f() {
this.exprs = this.graphics.exprs;
diff --git a/js/NonLinear/POWBLK_f.js b/js/NonLinear/POWBLK_f.js
index 9bbda8a7..3d315239 100644
--- a/js/NonLinear/POWBLK_f.js
+++ b/js/NonLinear/POWBLK_f.js
@@ -19,7 +19,10 @@ function POWBLK_f() {
return this.x;
}
POWBLK_f.prototype.get = function POWBLK_f() {
- alert("parameters cannot be modified");
+ var options = {
+ a:["to the power of",this.a],
+ }
+ return options;
}
POWBLK_f.prototype.set = function POWBLK_f() {
this.exprs = this.graphics.exprs;
diff --git a/js/NonLinear/PRODUCT.js b/js/NonLinear/PRODUCT.js
index a4db3880..f8d80ab4 100644
--- a/js/NonLinear/PRODUCT.js
+++ b/js/NonLinear/PRODUCT.js
@@ -18,7 +18,10 @@ function PRODUCT() {
return this.x;
}
PRODUCT.prototype.get = function PRODUCT() {
- alert("parameters cannot be modified");
+ var options = {
+ sgn:["Number of inputs or sign vector",this.sgn.toString().replace(/,/g," ")],
+ }
+ return options;
}
PRODUCT.prototype.set = function PRODUCT() {
this.exprs = this.graphics.exprs;
diff --git a/js/NonLinear/TrigFun.js b/js/NonLinear/TrigFun.js
index 776e2309..827ba815 100644
--- a/js/NonLinear/TrigFun.js
+++ b/js/NonLinear/TrigFun.js
@@ -16,7 +16,10 @@ function TrigFun() {
return this.x;
}
TrigFun.prototype.get = function TrigFun() {
- alert("parameters cannot be modified");
+ var options = {
+ fun:["Function",this.fun],
+ }
+ return options;
}
TrigFun.prototype.set = function TrigFun() {
this.exprs = this.graphics.exprs;