From 5c011853630a1b466ef4789d5b600dd530d0a3ec Mon Sep 17 00:00:00 2001 From: Sunil Shetye Date: Fri, 6 Jul 2018 12:20:13 +0530 Subject: use different syntax for matrix options --- js/Linear/DIFF_c.js | 2 +- js/Linear/SUMMATION.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'js/Linear') 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; -- cgit