diff options
author | Sunil Shetye | 2018-07-16 15:29:15 +0530 |
---|---|---|
committer | Sunil Shetye | 2018-07-16 15:31:24 +0530 |
commit | 5929c9088b6d5dcd23e8bbf9abdc5c9b4a49df1f (patch) | |
tree | 8b842ea29c504a11164c39221e948fdaa8fa9035 /js/MatrixOp | |
parent | 614f18061faa4fc126f0d3577792dd9adfb3f240 (diff) | |
download | sci2js-5929c9088b6d5dcd23e8bbf9abdc5c9b4a49df1f.tar.gz sci2js-5929c9088b6d5dcd23e8bbf9abdc5c9b4a49df1f.tar.bz2 sci2js-5929c9088b6d5dcd23e8bbf9abdc5c9b4a49df1f.zip |
treat third argument of standard_define as model expression
Diffstat (limited to 'js/MatrixOp')
-rw-r--r-- | js/MatrixOp/CUMSUM.js | 2 | ||||
-rw-r--r-- | js/MatrixOp/EXTRACT.js | 2 | ||||
-rw-r--r-- | js/MatrixOp/EXTTRI.js | 2 | ||||
-rw-r--r-- | js/MatrixOp/MATBKSL.js | 2 | ||||
-rw-r--r-- | js/MatrixOp/MATCATH.js | 2 | ||||
-rw-r--r-- | js/MatrixOp/MATCATV.js | 2 | ||||
-rw-r--r-- | js/MatrixOp/MATDET.js | 2 | ||||
-rw-r--r-- | js/MatrixOp/MATDIAG.js | 2 | ||||
-rw-r--r-- | js/MatrixOp/MATDIV.js | 2 | ||||
-rw-r--r-- | js/MatrixOp/MATEIG.js | 2 | ||||
-rw-r--r-- | js/MatrixOp/MATEXPM.js | 2 | ||||
-rw-r--r-- | js/MatrixOp/MATINV.js | 2 | ||||
-rw-r--r-- | js/MatrixOp/MATLU.js | 2 | ||||
-rw-r--r-- | js/MatrixOp/MATMAGPHI.js | 2 | ||||
-rw-r--r-- | js/MatrixOp/MATMUL.js | 2 | ||||
-rw-r--r-- | js/MatrixOp/MATPINV.js | 2 | ||||
-rw-r--r-- | js/MatrixOp/MATRESH.js | 2 | ||||
-rw-r--r-- | js/MatrixOp/MATSING.js | 2 | ||||
-rw-r--r-- | js/MatrixOp/MATSUM.js | 2 | ||||
-rw-r--r-- | js/MatrixOp/MATTRAN.js | 2 | ||||
-rw-r--r-- | js/MatrixOp/MATZCONJ.js | 2 | ||||
-rw-r--r-- | js/MatrixOp/MATZREIM.js | 2 | ||||
-rw-r--r-- | js/MatrixOp/RICC.js | 2 | ||||
-rw-r--r-- | js/MatrixOp/ROOTCOEF.js | 2 | ||||
-rw-r--r-- | js/MatrixOp/SQRT.js | 2 | ||||
-rw-r--r-- | js/MatrixOp/SUBMAT.js | 2 |
26 files changed, 26 insertions, 26 deletions
diff --git a/js/MatrixOp/CUMSUM.js b/js/MatrixOp/CUMSUM.js index e2ae9582..82680d40 100644 --- a/js/MatrixOp/CUMSUM.js +++ b/js/MatrixOp/CUMSUM.js @@ -22,7 +22,7 @@ function CUMSUM() { this.model.dep_ut = new ScilabBoolean([true,false]); var label = [[sci2exp(1)],[sci2exp(0)]]; this.gr_i = new ScilabString(["xstringb(orig(1),orig(2),\"CUMSUM\",sz(1),sz(2));"]); - this.x = new standard_define(new ScilabDouble([3,2]),this.model,label,this.gr_i); + this.x = new standard_define(new ScilabDouble([3,2]),this.model,new ScilabDouble(label),this.gr_i); return new BasicBlock(this.x); } CUMSUM.prototype.details = function CUMSUM() { diff --git a/js/MatrixOp/EXTRACT.js b/js/MatrixOp/EXTRACT.js index e71d07f2..3bf7f5f9 100644 --- a/js/MatrixOp/EXTRACT.js +++ b/js/MatrixOp/EXTRACT.js @@ -22,7 +22,7 @@ function EXTRACT() { this.model.dep_ut = new ScilabBoolean([true,false]); var label = [[sci2exp(1)],[sci2exp([1])],[sci2exp([1])]]; this.gr_i = new ScilabString(["xstringb(orig(1),orig(2),\"EXTRACT\",sz(1),sz(2));"]); - this.x = new standard_define(new ScilabDouble([3,2]),this.model,label,this.gr_i); + this.x = new standard_define(new ScilabDouble([3,2]),this.model,new ScilabDouble(label),this.gr_i); return new BasicBlock(this.x); } EXTRACT.prototype.details = function EXTRACT() { diff --git a/js/MatrixOp/EXTTRI.js b/js/MatrixOp/EXTTRI.js index eef761b9..aa605214 100644 --- a/js/MatrixOp/EXTTRI.js +++ b/js/MatrixOp/EXTTRI.js @@ -22,7 +22,7 @@ function EXTTRI() { this.model.dep_ut = new ScilabBoolean([true,false]); var label = [[sci2exp(1)],[sci2exp(1)]]; this.gr_i = new ScilabString(["xstringb(orig(1),orig(2),\"EXTTRI\",sz(1),sz(2));"]); - this.x = new standard_define(new ScilabDouble([3,2]),this.model,label,this.gr_i); + this.x = new standard_define(new ScilabDouble([3,2]),this.model,new ScilabDouble(label),this.gr_i); return new BasicBlock(this.x); } EXTTRI.prototype.details = function EXTTRI() { diff --git a/js/MatrixOp/MATBKSL.js b/js/MatrixOp/MATBKSL.js index c91090d2..1abaa75b 100644 --- a/js/MatrixOp/MATBKSL.js +++ b/js/MatrixOp/MATBKSL.js @@ -22,7 +22,7 @@ function MATBKSL() { this.model.dep_ut = new ScilabBoolean([true,false]); var label = [sci2exp(1)]; this.gr_i = new ScilabString(["xstringb(orig(1),orig(2),\"MATBKSL\",sz(1),sz(2));"]); - this.x = new standard_define(new ScilabDouble([2,2]),this.model,label,this.gr_i); + this.x = new standard_define(new ScilabDouble([2,2]),this.model,new ScilabString(label),this.gr_i); return new BasicBlock(this.x); } MATBKSL.prototype.details = function MATBKSL() { diff --git a/js/MatrixOp/MATCATH.js b/js/MatrixOp/MATCATH.js index a547fdef..36708895 100644 --- a/js/MatrixOp/MATCATH.js +++ b/js/MatrixOp/MATCATH.js @@ -22,7 +22,7 @@ function MATCATH() { this.model.dep_ut = new ScilabBoolean([true,false]); var label = [sci2exp(2)]; this.gr_i = new ScilabString(["xstringb(orig(1),orig(2),\"MATCATH\",sz(1),sz(2));"]); - this.x = new standard_define(new ScilabDouble([2,3]),this.model,label,this.gr_i); + this.x = new standard_define(new ScilabDouble([2,3]),this.model,new ScilabString(label),this.gr_i); return new BasicBlock(this.x); } MATCATH.prototype.details = function MATCATH() { diff --git a/js/MatrixOp/MATCATV.js b/js/MatrixOp/MATCATV.js index b99fc5ad..70b11951 100644 --- a/js/MatrixOp/MATCATV.js +++ b/js/MatrixOp/MATCATV.js @@ -23,7 +23,7 @@ function MATCATV() { this.model.dep_ut = new ScilabBoolean([true,false]); var label = [sci2exp(2)]; this.gr_i = new ScilabString(["xstringb(orig(1),orig(2),\"MATCATV\",sz(1),sz(2));"]); - this.x = new standard_define(new ScilabDouble([2,3]),this.model,label,this.gr_i); + this.x = new standard_define(new ScilabDouble([2,3]),this.model,new ScilabString(label),this.gr_i); return new BasicBlock(this.x); } MATCATV.prototype.details = function MATCATV() { diff --git a/js/MatrixOp/MATDET.js b/js/MatrixOp/MATDET.js index 635de6a6..995c94a4 100644 --- a/js/MatrixOp/MATDET.js +++ b/js/MatrixOp/MATDET.js @@ -22,7 +22,7 @@ function MATDET() { this.model.dep_ut = new ScilabBoolean([true,false]); var label = [sci2exp(1)]; this.gr_i = new ScilabString(["xstringb(orig(1),orig(2),\"MATDET\",sz(1),sz(2));"]); - this.x = new standard_define(new ScilabDouble([2,2]),this.model,label,this.gr_i); + this.x = new standard_define(new ScilabDouble([2,2]),this.model,new ScilabString(label),this.gr_i); return new BasicBlock(this.x); } MATDET.prototype.details = function MATDET() { diff --git a/js/MatrixOp/MATDIAG.js b/js/MatrixOp/MATDIAG.js index 5133d522..aa80bfe1 100644 --- a/js/MatrixOp/MATDIAG.js +++ b/js/MatrixOp/MATDIAG.js @@ -22,7 +22,7 @@ function MATDIAG() { this.model.dep_ut = new ScilabBoolean([true,false]); var label = [sci2exp(1)]; this.gr_i = new ScilabString(["xstringb(orig(1),orig(2),\"MATDIAG\",sz(1),sz(2));"]); - this.x = new standard_define(new ScilabDouble([2,2]),this.model,label,this.gr_i); + this.x = new standard_define(new ScilabDouble([2,2]),this.model,new ScilabString(label),this.gr_i); return new BasicBlock(this.x); } MATDIAG.prototype.details = function MATDIAG() { diff --git a/js/MatrixOp/MATDIV.js b/js/MatrixOp/MATDIV.js index 847432e6..35b81a81 100644 --- a/js/MatrixOp/MATDIV.js +++ b/js/MatrixOp/MATDIV.js @@ -22,7 +22,7 @@ function MATDIV() { this.model.dep_ut = new ScilabBoolean([true,false]); var label = [sci2exp(1)]; this.gr_i = new ScilabString(["xstringb(orig(1),orig(2),\"MATDIV\",sz(1),sz(2));"]); - this.x = new standard_define(new ScilabDouble([2,2]),this.model,label,this.gr_i); + this.x = new standard_define(new ScilabDouble([2,2]),this.model,new ScilabString(label),this.gr_i); return new BasicBlock(this.x); } MATDIV.prototype.details = function MATDIV() { diff --git a/js/MatrixOp/MATEIG.js b/js/MatrixOp/MATEIG.js index bb1eb12c..56a5dab1 100644 --- a/js/MatrixOp/MATEIG.js +++ b/js/MatrixOp/MATEIG.js @@ -22,7 +22,7 @@ function MATEIG() { this.model.dep_ut = new ScilabBoolean([true,false]); var label = [[sci2exp(1)],[sci2exp(1)]]; this.gr_i = new ScilabString(["xstringb(orig(1),orig(2),\"MATEIG\",sz(1),sz(2));"]); - this.x = new standard_define(new ScilabDouble([2,2]),this.model,label,this.gr_i); + this.x = new standard_define(new ScilabDouble([2,2]),this.model,new ScilabDouble(label),this.gr_i); return new BasicBlock(this.x); } MATEIG.prototype.details = function MATEIG() { diff --git a/js/MatrixOp/MATEXPM.js b/js/MatrixOp/MATEXPM.js index fca1a921..7e96b899 100644 --- a/js/MatrixOp/MATEXPM.js +++ b/js/MatrixOp/MATEXPM.js @@ -22,7 +22,7 @@ function MATEXPM() { this.model.dep_ut = new ScilabBoolean([true,false]); var label = [sci2exp(1)]; this.gr_i = new ScilabString(["xstringb(orig(1),orig(2),\"MATEXPM\",sz(1),sz(2));"]); - this.x = new standard_define(new ScilabDouble([2,2]),this.model,label,this.gr_i); + this.x = new standard_define(new ScilabDouble([2,2]),this.model,new ScilabString(label),this.gr_i); return new BasicBlock(this.x); } MATEXPM.prototype.details = function MATEXPM() { diff --git a/js/MatrixOp/MATINV.js b/js/MatrixOp/MATINV.js index ee051754..aed1155e 100644 --- a/js/MatrixOp/MATINV.js +++ b/js/MatrixOp/MATINV.js @@ -22,7 +22,7 @@ function MATINV() { this.model.dep_ut = new ScilabBoolean([true,false]); var label = [sci2exp(1)]; this.gr_i = new ScilabString(["xstringb(orig(1),orig(2),\"MATINV\",sz(1),sz(2));"]); - this.x = new standard_define(new ScilabDouble([2,2]),this.model,label,this.gr_i); + this.x = new standard_define(new ScilabDouble([2,2]),this.model,new ScilabString(label),this.gr_i); return new BasicBlock(this.x); } MATINV.prototype.details = function MATINV() { diff --git a/js/MatrixOp/MATLU.js b/js/MatrixOp/MATLU.js index c2880d3f..5d119e87 100644 --- a/js/MatrixOp/MATLU.js +++ b/js/MatrixOp/MATLU.js @@ -22,7 +22,7 @@ function MATLU() { this.model.dep_ut = new ScilabBoolean([true,false]); var label = sci2exp(1); this.gr_i = new ScilabString(["xstringb(orig(1),orig(2),\"MATLU\",sz(1),sz(2));"]); - this.x = new standard_define(new ScilabDouble([2,2]),this.model,label,this.gr_i); + this.x = new standard_define(new ScilabDouble([2,2]),this.model,new ScilabString([label]),this.gr_i); return new BasicBlock(this.x); } MATLU.prototype.details = function MATLU() { diff --git a/js/MatrixOp/MATMAGPHI.js b/js/MatrixOp/MATMAGPHI.js index 74b002b3..85b9dfa5 100644 --- a/js/MatrixOp/MATMAGPHI.js +++ b/js/MatrixOp/MATMAGPHI.js @@ -22,7 +22,7 @@ function MATMAGPHI() { this.model.dep_ut = new ScilabBoolean([true,false]); var label = [sci2exp(1)]; this.gr_i = new ScilabString(["xstringb(orig(1),orig(2),\"MATMAGPHI\",sz(1),sz(2));"]); - this.x = new standard_define(new ScilabDouble([3,2]),this.model,label,this.gr_i); + this.x = new standard_define(new ScilabDouble([3,2]),this.model,new ScilabString(label),this.gr_i); return new BasicBlock(this.x); } MATMAGPHI.prototype.details = function MATMAGPHI() { diff --git a/js/MatrixOp/MATMUL.js b/js/MatrixOp/MATMUL.js index cade1e5a..d19732dd 100644 --- a/js/MatrixOp/MATMUL.js +++ b/js/MatrixOp/MATMUL.js @@ -11,7 +11,7 @@ function MATMUL() { this.model.ipar = new ScilabDouble([1]); var label = [sci2exp(this.model.ipar)]; this.gr_i = new ScilabString(["xstringb(orig(1),orig(2),\"MATMUL\",sz(1),sz(2));"]); - this.x = new standard_define(new ScilabDouble([3,2]),this.model,label,this.gr_i); + this.x = new standard_define(new ScilabDouble([3,2]),this.model,new ScilabString(label),this.gr_i); return new BasicBlock(this.x); } MATMUL.prototype.details = function MATMUL() { diff --git a/js/MatrixOp/MATPINV.js b/js/MatrixOp/MATPINV.js index a8825b04..64fc901c 100644 --- a/js/MatrixOp/MATPINV.js +++ b/js/MatrixOp/MATPINV.js @@ -22,7 +22,7 @@ function MATPINV() { this.model.dep_ut = new ScilabBoolean([true,false]); var label = [sci2exp(1)]; this.gr_i = new ScilabString(["xstringb(orig(1),orig(2),\"MATPINV\",sz(1),sz(2));"]); - this.x = new standard_define(new ScilabDouble([2,2]),this.model,label,this.gr_i); + this.x = new standard_define(new ScilabDouble([2,2]),this.model,new ScilabString(label),this.gr_i); return new BasicBlock(this.x); } MATPINV.prototype.details = function MATPINV() { diff --git a/js/MatrixOp/MATRESH.js b/js/MatrixOp/MATRESH.js index 3ffb9fd6..2dd99416 100644 --- a/js/MatrixOp/MATRESH.js +++ b/js/MatrixOp/MATRESH.js @@ -22,7 +22,7 @@ function MATRESH() { this.model.dep_ut = new ScilabBoolean([true,false]); var label = [[sci2exp(1)],[sci2exp([1,1])],[sci2exp([1,1])]]; this.gr_i = new ScilabString(["xstringb(orig(1),orig(2),\"MATRESH\",sz(1),sz(2));"]); - this.x = new standard_define(new ScilabDouble([3,2]),this.model,label,this.gr_i); + this.x = new standard_define(new ScilabDouble([3,2]),this.model,new ScilabDouble(label),this.gr_i); return new BasicBlock(this.x); } MATRESH.prototype.details = function MATRESH() { diff --git a/js/MatrixOp/MATSING.js b/js/MatrixOp/MATSING.js index 6f0abe08..68f78b93 100644 --- a/js/MatrixOp/MATSING.js +++ b/js/MatrixOp/MATSING.js @@ -22,7 +22,7 @@ function MATSING() { this.model.dep_ut = new ScilabBoolean([true,false]); var label = [[sci2exp(1)],[sci2exp(1)]]; this.gr_i = new ScilabString(["xstringb(orig(1),orig(2),\"MATSING\",sz(1),sz(2));"]); - this.x = new standard_define(new ScilabDouble([2,2]),this.model,label,this.gr_i); + this.x = new standard_define(new ScilabDouble([2,2]),this.model,new ScilabDouble(label),this.gr_i); return new BasicBlock(this.x); } MATSING.prototype.details = function MATSING() { diff --git a/js/MatrixOp/MATSUM.js b/js/MatrixOp/MATSUM.js index f2f0027c..c2e55a3e 100644 --- a/js/MatrixOp/MATSUM.js +++ b/js/MatrixOp/MATSUM.js @@ -22,7 +22,7 @@ function MATSUM() { this.model.dep_ut = new ScilabBoolean([true,false]); var label = [[sci2exp(1)],[sci2exp(0)]]; this.gr_i = new ScilabString(["xstringb(orig(1),orig(2),\"MATSUM\",sz(1),sz(2));"]); - this.x = new standard_define(new ScilabDouble([3,2]),this.model,label,this.gr_i); + this.x = new standard_define(new ScilabDouble([3,2]),this.model,new ScilabDouble(label),this.gr_i); return new BasicBlock(this.x); } MATSUM.prototype.details = function MATSUM() { diff --git a/js/MatrixOp/MATTRAN.js b/js/MatrixOp/MATTRAN.js index 09baf44f..94b4c12c 100644 --- a/js/MatrixOp/MATTRAN.js +++ b/js/MatrixOp/MATTRAN.js @@ -10,7 +10,7 @@ function MATTRAN() { this.model.dep_ut = new ScilabBoolean([true,false]); var label = [sci2exp(1)]; this.gr_i = new ScilabString(["xstringb(orig(1),orig(2),\"MATTRAN\",sz(1),sz(2));"]); - this.x = new standard_define(new ScilabDouble([3,2]),this.model,label,this.gr_i); + this.x = new standard_define(new ScilabDouble([3,2]),this.model,new ScilabString(label),this.gr_i); return new BasicBlock(this.x); } MATTRAN.prototype.details = function MATTRAN() { diff --git a/js/MatrixOp/MATZCONJ.js b/js/MatrixOp/MATZCONJ.js index 2b56c057..1fa6859a 100644 --- a/js/MatrixOp/MATZCONJ.js +++ b/js/MatrixOp/MATZCONJ.js @@ -22,7 +22,7 @@ function MATZCONJ() { this.model.dep_ut = new ScilabBoolean([true,false]); var label = []; this.gr_i = new ScilabString(["xstringb(orig(1),orig(2),\"MATZCONJ\",sz(1),sz(2));"]); - this.x = new standard_define(new ScilabDouble([2,2]),this.model,label,this.gr_i); + this.x = new standard_define(new ScilabDouble([2,2]),this.model,new ScilabDouble(label),this.gr_i); return new BasicBlock(this.x); } MATZCONJ.prototype.details = function MATZCONJ() { diff --git a/js/MatrixOp/MATZREIM.js b/js/MatrixOp/MATZREIM.js index 681e6f8f..f58b1726 100644 --- a/js/MatrixOp/MATZREIM.js +++ b/js/MatrixOp/MATZREIM.js @@ -22,7 +22,7 @@ function MATZREIM() { this.model.dep_ut = new ScilabBoolean([true,false]); var label = sci2exp(1); this.gr_i = new ScilabString(["xstringb(orig(1),orig(2),\"MATZREIM\",sz(1),sz(2));"]); - this.x = new standard_define(new ScilabDouble([3,2]),this.model,label,this.gr_i); + this.x = new standard_define(new ScilabDouble([3,2]),this.model,new ScilabString([label]),this.gr_i); return new BasicBlock(this.x); } MATZREIM.prototype.details = function MATZREIM() { diff --git a/js/MatrixOp/RICC.js b/js/MatrixOp/RICC.js index c9a9ead0..5633712b 100644 --- a/js/MatrixOp/RICC.js +++ b/js/MatrixOp/RICC.js @@ -22,7 +22,7 @@ function RICC() { this.model.dep_ut = new ScilabBoolean([true,false]); var label = [[sci2exp(1)],[sci2exp(1)]]; this.gr_i = new ScilabString(["xstringb(orig(1),orig(2),\"RICC\",sz(1),sz(2));"]); - this.x = new standard_define(new ScilabDouble([2,2]),this.model,label,this.gr_i); + this.x = new standard_define(new ScilabDouble([2,2]),this.model,new ScilabDouble(label),this.gr_i); return new BasicBlock(this.x); } RICC.prototype.details = function RICC() { diff --git a/js/MatrixOp/ROOTCOEF.js b/js/MatrixOp/ROOTCOEF.js index f7b324dd..479c317d 100644 --- a/js/MatrixOp/ROOTCOEF.js +++ b/js/MatrixOp/ROOTCOEF.js @@ -22,7 +22,7 @@ function ROOTCOEF() { this.model.dep_ut = new ScilabBoolean([true,false]); var label = [[sci2exp(1)],[sci2exp(1)]]; this.gr_i = new ScilabString(["xstringb(orig(1),orig(2),\"ROOTCOEF\",sz(1),sz(2));"]); - this.x = new standard_define(new ScilabDouble([3,2]),this.model,label,this.gr_i); + this.x = new standard_define(new ScilabDouble([3,2]),this.model,new ScilabDouble(label),this.gr_i); return new BasicBlock(this.x); } ROOTCOEF.prototype.details = function ROOTCOEF() { diff --git a/js/MatrixOp/SQRT.js b/js/MatrixOp/SQRT.js index d9e1d94b..517f55dd 100644 --- a/js/MatrixOp/SQRT.js +++ b/js/MatrixOp/SQRT.js @@ -12,7 +12,7 @@ function SQRT() { this.model.dep_ut = new ScilabBoolean([true,false]); var label = [sci2exp(1)]; this.gr_i = new ScilabString(["xstringb(orig(1),orig(2),\"SQRT\",sz(1),sz(2));"]); - this.x = new standard_define(new ScilabDouble([2,2]),this.model,label,this.gr_i); + this.x = new standard_define(new ScilabDouble([2,2]),this.model,new ScilabString(label),this.gr_i); return new BasicBlock(this.x); } SQRT.prototype.details = function SQRT() { diff --git a/js/MatrixOp/SUBMAT.js b/js/MatrixOp/SUBMAT.js index 46612834..b02901ec 100644 --- a/js/MatrixOp/SUBMAT.js +++ b/js/MatrixOp/SUBMAT.js @@ -22,7 +22,7 @@ function SUBMAT() { this.model.dep_ut = new ScilabBoolean([true,false]); var label = [[sci2exp(1)],[sci2exp(1)],[sci2exp(1)],[sci2exp(1)],[sci2exp(1)]]; this.gr_i = new ScilabString(["xstringb(orig(1),orig(2),\"SUBMAT\",sz(1),sz(2));"]); - this.x = new standard_define(new ScilabDouble([2.5,2]),this.model,label,this.gr_i); + this.x = new standard_define(new ScilabDouble([2.5,2]),this.model,new ScilabDouble(label),this.gr_i); return new BasicBlock(this.x); } SUBMAT.prototype.details = function SUBMAT() { |