summaryrefslogtreecommitdiff
path: root/js/NonLinear/DLRADAPT_f.js
diff options
context:
space:
mode:
authorSunil Shetye2018-07-02 22:51:03 +0530
committerSunil Shetye2018-07-02 22:51:03 +0530
commitca1a67f78f7de40a7956c69e41f4ddae2542f4f2 (patch)
tree6a07bd0428e542567726ff7325fcb71203ad6d15 /js/NonLinear/DLRADAPT_f.js
parent5ea6bd919623bb0dd58f235329b985b2bb6cb4ba (diff)
downloadsci2js-ca1a67f78f7de40a7956c69e41f4ddae2542f4f2.tar.gz
sci2js-ca1a67f78f7de40a7956c69e41f4ddae2542f4f2.tar.bz2
sci2js-ca1a67f78f7de40a7956c69e41f4ddae2542f4f2.zip
add options block
Diffstat (limited to 'js/NonLinear/DLRADAPT_f.js')
-rw-r--r--js/NonLinear/DLRADAPT_f.js9
1 files changed, 9 insertions, 0 deletions
diff --git a/js/NonLinear/DLRADAPT_f.js b/js/NonLinear/DLRADAPT_f.js
index b8018d7b..3bb3e9bd 100644
--- a/js/NonLinear/DLRADAPT_f.js
+++ b/js/NonLinear/DLRADAPT_f.js
@@ -27,6 +27,15 @@ function DLRADAPT_f() {
return this.x;
}
DLRADAPT_f.prototype.get = function DLRADAPT_f() {
+ var options = {
+ p:["Vector of p mesh points",this.p],
+ rn:["Numerator roots (one line for each mesh)",this.rn],
+ rd:["Denominator roots (one line for each mesh)",this.rd],
+ g:["Vector of gain at mesh points",this.g],
+ last_u:["past inputs (Num degree values)",this.last_u],
+ last_y:["past outputs (Den degree values)",this.last_y],
+ }
+ return options;
}
DLRADAPT_f.prototype.set = function DLRADAPT_f() {
this.p = parseFloat((arguments[0]["p"]))