summaryrefslogtreecommitdiff
path: root/js/Linear
diff options
context:
space:
mode:
authorSunil Shetye2018-07-06 12:20:13 +0530
committerSunil Shetye2018-07-09 12:16:25 +0530
commit5c011853630a1b466ef4789d5b600dd530d0a3ec (patch)
treefe2935154d2c500f1d883a4b319235bb67628477 /js/Linear
parent5a28e41a3105338f747b8a30f67000920490c67d (diff)
downloadsci2js-5c011853630a1b466ef4789d5b600dd530d0a3ec.tar.gz
sci2js-5c011853630a1b466ef4789d5b600dd530d0a3ec.tar.bz2
sci2js-5c011853630a1b466ef4789d5b600dd530d0a3ec.zip
use different syntax for matrix options
Diffstat (limited to 'js/Linear')
-rw-r--r--js/Linear/DIFF_c.js2
-rw-r--r--js/Linear/SUMMATION.js2
2 files changed, 2 insertions, 2 deletions
diff --git a/js/Linear/DIFF_c.js b/js/Linear/DIFF_c.js
index dd3f6722..11b4281f 100644
--- a/js/Linear/DIFF_c.js
+++ b/js/Linear/DIFF_c.js
@@ -19,7 +19,7 @@ function DIFF_c() {
}
DIFF_c.prototype.get = function DIFF_c() {
var options = {
- x0:["Initial state",this.x0],
+ x0:["Initial state",this.x0.toString().replace(/,/g," ")],
xd0:["Initial Derivative",this.xd0],
}
return options;
diff --git a/js/Linear/SUMMATION.js b/js/Linear/SUMMATION.js
index 2c8e8eb8..0aabff5e 100644
--- a/js/Linear/SUMMATION.js
+++ b/js/Linear/SUMMATION.js
@@ -22,7 +22,7 @@ function SUMMATION() {
SUMMATION.prototype.get = function SUMMATION() {
var options = {
Datatype:["Datatype (1=real double 2=complex 3=int32 ...)",this.Datatype],
- sgn:["Number of inputs or sign vector (of +1, -1)",this.sgn],
+ sgn:["Number of inputs or sign vector (of +1, -1)",this.sgn.toString().replace(/,/g," ")],
satur:["Do on Overflow(0=Nothing 1=Saturate 2=Error)",this.satur],
}
return options;