diff options
author | Sunil Shetye | 2018-08-27 14:38:26 +0530 |
---|---|---|
committer | Sunil Shetye | 2018-08-27 16:43:40 +0530 |
commit | 8e6c876e5582928ab6909cf0f3529a97f622520d (patch) | |
tree | 3ce13a7e3552486771d147aec6973ff45a6024a5 /js/MatrixOp | |
parent | 5cffbe3aa309e242255b96fe954688c6f1380811 (diff) | |
download | sci2js-8e6c876e5582928ab6909cf0f3529a97f622520d.tar.gz sci2js-8e6c876e5582928ab6909cf0f3529a97f622520d.tar.bz2 sci2js-8e6c876e5582928ab6909cf0f3529a97f622520d.zip |
ignore first and last variable by index, not value
Diffstat (limited to 'js/MatrixOp')
-rw-r--r-- | js/MatrixOp/CUMSUM.js | 3 | ||||
-rw-r--r-- | js/MatrixOp/CUMSUM.pickle | 16 | ||||
-rw-r--r-- | js/MatrixOp/EXTTRI.js | 3 | ||||
-rw-r--r-- | js/MatrixOp/EXTTRI.pickle | 16 | ||||
-rw-r--r-- | js/MatrixOp/MATCATH.js | 3 | ||||
-rw-r--r-- | js/MatrixOp/MATCATH.pickle | 8 | ||||
-rw-r--r-- | js/MatrixOp/MATCATV.js | 3 | ||||
-rw-r--r-- | js/MatrixOp/MATCATV.pickle | 8 | ||||
-rw-r--r-- | js/MatrixOp/MATEIG.js | 3 | ||||
-rw-r--r-- | js/MatrixOp/MATEIG.pickle | 16 | ||||
-rw-r--r-- | js/MatrixOp/MATLU.js | 3 | ||||
-rw-r--r-- | js/MatrixOp/MATLU.pickle | 8 | ||||
-rw-r--r-- | js/MatrixOp/MATMAGPHI.js | 3 | ||||
-rw-r--r-- | js/MatrixOp/MATMAGPHI.pickle | 10 | ||||
-rw-r--r-- | js/MatrixOp/MATRESH.js | 3 | ||||
-rw-r--r-- | js/MatrixOp/MATRESH.pickle | 16 | ||||
-rw-r--r-- | js/MatrixOp/MATSING.js | 3 | ||||
-rw-r--r-- | js/MatrixOp/MATSING.pickle | 16 | ||||
-rw-r--r-- | js/MatrixOp/MATSUM.js | 3 | ||||
-rw-r--r-- | js/MatrixOp/MATSUM.pickle | 16 | ||||
-rw-r--r-- | js/MatrixOp/MATZREIM.js | 3 | ||||
-rw-r--r-- | js/MatrixOp/MATZREIM.pickle | 10 |
22 files changed, 70 insertions, 103 deletions
diff --git a/js/MatrixOp/CUMSUM.js b/js/MatrixOp/CUMSUM.js index 03ec50e1..78226e6f 100644 --- a/js/MatrixOp/CUMSUM.js +++ b/js/MatrixOp/CUMSUM.js @@ -44,11 +44,10 @@ function CUMSUM() { var ok = true; this.typ = inverse(arguments[0]["typ"]); this.decomptyp = arguments[0]["decomptyp"]; - this.lab = arguments[0]["lab"]; if (!ok) { break; } - var label = this.lab; + var label = lab; if ((this.typ==1)) { if ((this.decomptyp==0)) { var function_name = "cumsum_m"; diff --git a/js/MatrixOp/CUMSUM.pickle b/js/MatrixOp/CUMSUM.pickle index f19c81c9..4712cd50 100644 --- a/js/MatrixOp/CUMSUM.pickle +++ b/js/MatrixOp/CUMSUM.pickle @@ -2,20 +2,18 @@ c__builtin__ set p0 ((lp1 -S'lab' +S'x' p2 -aS'graphics' +aS'model' p3 -aS'x' +aS'typ' p4 -aS'model' +aS'decomptyp' p5 -aS'typ' +aS'graphics' p6 -aS'decomptyp' -p7 -atp8 -Rp9 +atp7 +Rp8 .(dp0 S'model.dstate' p1 diff --git a/js/MatrixOp/EXTTRI.js b/js/MatrixOp/EXTTRI.js index df24f063..85a819d0 100644 --- a/js/MatrixOp/EXTTRI.js +++ b/js/MatrixOp/EXTTRI.js @@ -44,11 +44,10 @@ function EXTTRI() { var ok = true; this.typ = inverse(arguments[0]["typ"]); this.decomptyp = arguments[0]["decomptyp"]; - this.lab = arguments[0]["lab"]; if (!ok) { break; } - var label = this.lab; + var label = lab; if ((this.typ==1)) { if ((this.decomptyp==1)) { var function_name = "exttril"; diff --git a/js/MatrixOp/EXTTRI.pickle b/js/MatrixOp/EXTTRI.pickle index f19c81c9..4712cd50 100644 --- a/js/MatrixOp/EXTTRI.pickle +++ b/js/MatrixOp/EXTTRI.pickle @@ -2,20 +2,18 @@ c__builtin__ set p0 ((lp1 -S'lab' +S'x' p2 -aS'graphics' +aS'model' p3 -aS'x' +aS'typ' p4 -aS'model' +aS'decomptyp' p5 -aS'typ' +aS'graphics' p6 -aS'decomptyp' -p7 -atp8 -Rp9 +atp7 +Rp8 .(dp0 S'model.dstate' p1 diff --git a/js/MatrixOp/MATCATH.js b/js/MatrixOp/MATCATH.js index 55a27301..3507a94e 100644 --- a/js/MatrixOp/MATCATH.js +++ b/js/MatrixOp/MATCATH.js @@ -42,11 +42,10 @@ function MATCATH() { while (true) { var ok = true; this.nin = arguments[0]["nin"]; - this.lab = arguments[0]["lab"]; if (!ok) { break; } - var label = this.lab; + var label = lab; var in1 = [-1*(ones(this.nin,1)),-(transpose([2:this.nin+1]))]; var out = [-1,0]; var it = -1*(ones(this.nin,1)); diff --git a/js/MatrixOp/MATCATH.pickle b/js/MatrixOp/MATCATH.pickle index 068b089c..7dc7758b 100644 --- a/js/MatrixOp/MATCATH.pickle +++ b/js/MatrixOp/MATCATH.pickle @@ -8,12 +8,10 @@ aS'model' p3 aS'nin' p4 -aS'lab' -p5 aS'graphics' -p6 -atp7 -Rp8 +p5 +atp6 +Rp7 .(dp0 S'model.dstate' p1 diff --git a/js/MatrixOp/MATCATV.js b/js/MatrixOp/MATCATV.js index 522372e5..df60f3c2 100644 --- a/js/MatrixOp/MATCATV.js +++ b/js/MatrixOp/MATCATV.js @@ -43,11 +43,10 @@ function MATCATV() { while (true) { var ok = true; this.nin = arguments[0]["nin"]; - this.lab = arguments[0]["lab"]; if (!ok) { break; } - var label = this.lab; + var label = lab; var in1 = [-(transpose([2:this.nin+1])),-ones(this.nin,1)]; var it = -ones(this.nin,1); var ot = -1; diff --git a/js/MatrixOp/MATCATV.pickle b/js/MatrixOp/MATCATV.pickle index d8deaec0..96900b28 100644 --- a/js/MatrixOp/MATCATV.pickle +++ b/js/MatrixOp/MATCATV.pickle @@ -8,12 +8,10 @@ aS'model' p3 aS'nin' p4 -aS'lab' -p5 aS'graphics' -p6 -atp7 -Rp8 +p5 +atp6 +Rp7 .(dp0 S'model.dstate' p1 diff --git a/js/MatrixOp/MATEIG.js b/js/MatrixOp/MATEIG.js index 7c6d68d7..87b8452b 100644 --- a/js/MatrixOp/MATEIG.js +++ b/js/MatrixOp/MATEIG.js @@ -44,11 +44,10 @@ function MATEIG() { var ok = true; this.typ = inverse(arguments[0]["typ"]); this.decomptyp = arguments[0]["decomptyp"]; - this.lab = arguments[0]["lab"]; if (!ok) { break; } - var label = this.lab; + var label = lab; if ((this.typ==1)) { if ((this.decomptyp==1)) { var function_name = "mat_vps"; diff --git a/js/MatrixOp/MATEIG.pickle b/js/MatrixOp/MATEIG.pickle index 3e10a26a..6f234289 100644 --- a/js/MatrixOp/MATEIG.pickle +++ b/js/MatrixOp/MATEIG.pickle @@ -2,20 +2,18 @@ c__builtin__ set p0 ((lp1 -S'lab' +S'x' p2 -aS'graphics' +aS'model' p3 -aS'x' +aS'typ' p4 -aS'model' +aS'decomptyp' p5 -aS'typ' +aS'graphics' p6 -aS'decomptyp' -p7 -atp8 -Rp9 +atp7 +Rp8 .(dp0 S'model.dstate' p1 diff --git a/js/MatrixOp/MATLU.js b/js/MatrixOp/MATLU.js index 8088fb82..95f1fde6 100644 --- a/js/MatrixOp/MATLU.js +++ b/js/MatrixOp/MATLU.js @@ -42,7 +42,6 @@ function MATLU() { while (true) { var ok = true; this.typ = inverse(arguments[0]["typ"]); - this.lab = arguments[0]["lab"]; if (!ok) { break; } @@ -68,7 +67,7 @@ function MATLU() { if (ok) { var funtyp = 4; this.model.sim = list(new ScilabString([function_name]), new ScilabDouble([funtyp])); - this.graphics.exprs = new ScilabDouble([this.lab]); + this.graphics.exprs = new ScilabDouble([lab]); this.x.graphics = this.graphics; this.x.model = this.model; break; diff --git a/js/MatrixOp/MATLU.pickle b/js/MatrixOp/MATLU.pickle index 5a0336fa..1a809c0f 100644 --- a/js/MatrixOp/MATLU.pickle +++ b/js/MatrixOp/MATLU.pickle @@ -8,12 +8,10 @@ aS'model' p3 aS'typ' p4 -aS'lab' -p5 aS'graphics' -p6 -atp7 -Rp8 +p5 +atp6 +Rp7 .(dp0 S'model.dstate' p1 diff --git a/js/MatrixOp/MATMAGPHI.js b/js/MatrixOp/MATMAGPHI.js index a854f312..b512cfad 100644 --- a/js/MatrixOp/MATMAGPHI.js +++ b/js/MatrixOp/MATMAGPHI.js @@ -42,11 +42,10 @@ function MATMAGPHI() { while (true) { var ok = true; this.decomptyp = arguments[0]["decomptyp"]; - this.lab = arguments[0]["lab"]; if (!ok) { break; } - var label = this.lab; + var label = lab; if ((this.decomptyp==1)) { var function_name = "matz_abs"; var in1 = [-1,-2]; diff --git a/js/MatrixOp/MATMAGPHI.pickle b/js/MatrixOp/MATMAGPHI.pickle index 0c3d145e..d422de93 100644 --- a/js/MatrixOp/MATMAGPHI.pickle +++ b/js/MatrixOp/MATMAGPHI.pickle @@ -6,14 +6,12 @@ S'x' p2 aS'model' p3 -aS'lab' -p4 aS'decomptyp' -p5 +p4 aS'graphics' -p6 -atp7 -Rp8 +p5 +atp6 +Rp7 .(dp0 S'model.dstate' p1 diff --git a/js/MatrixOp/MATRESH.js b/js/MatrixOp/MATRESH.js index 74c9e6ce..b6360c47 100644 --- a/js/MatrixOp/MATRESH.js +++ b/js/MatrixOp/MATRESH.js @@ -46,7 +46,6 @@ function MATRESH() { this.typ = inverse(arguments[0]["typ"]); this.l1 = arguments[0]["l1"]; this.out = arguments[0]["out"]; - this.lab = arguments[0]["lab"]; if (!ok) { break; } @@ -93,7 +92,7 @@ function MATRESH() { var ok = false; } if (ok) { - var label = this.lab; + var label = lab; var tmpvar0 = set_io(this.model,this.graphics,list(this.l1,it),list(this.out,ot),[],[]); this.model = tmpvar0[0]; this.graphics = tmpvar0[1]; diff --git a/js/MatrixOp/MATRESH.pickle b/js/MatrixOp/MATRESH.pickle index bfab0438..2ed9e410 100644 --- a/js/MatrixOp/MATRESH.pickle +++ b/js/MatrixOp/MATRESH.pickle @@ -4,20 +4,18 @@ p0 ((lp1 S'graphics' p2 -aS'lab' -p3 aS'l1' -p4 +p3 aS'x' -p5 +p4 aS'model' -p6 +p5 aS'typ' -p7 +p6 aS'out' -p8 -atp9 -Rp10 +p7 +atp8 +Rp9 .(dp0 S'model.dstate' p1 diff --git a/js/MatrixOp/MATSING.js b/js/MatrixOp/MATSING.js index 5b33e0e7..4ea35388 100644 --- a/js/MatrixOp/MATSING.js +++ b/js/MatrixOp/MATSING.js @@ -44,11 +44,10 @@ function MATSING() { var ok = true; this.typ = inverse(arguments[0]["typ"]); this.decomptyp = arguments[0]["decomptyp"]; - this.lab = arguments[0]["lab"]; if (!ok) { break; } - var label = this.lab; + var label = lab; if ((this.typ==1)) { if ((this.decomptyp==1)) { var function_name = "mat_sing"; diff --git a/js/MatrixOp/MATSING.pickle b/js/MatrixOp/MATSING.pickle index 3e10a26a..6f234289 100644 --- a/js/MatrixOp/MATSING.pickle +++ b/js/MatrixOp/MATSING.pickle @@ -2,20 +2,18 @@ c__builtin__ set p0 ((lp1 -S'lab' +S'x' p2 -aS'graphics' +aS'model' p3 -aS'x' +aS'typ' p4 -aS'model' +aS'decomptyp' p5 -aS'typ' +aS'graphics' p6 -aS'decomptyp' -p7 -atp8 -Rp9 +atp7 +Rp8 .(dp0 S'model.dstate' p1 diff --git a/js/MatrixOp/MATSUM.js b/js/MatrixOp/MATSUM.js index efa7a21f..8a48fd1f 100644 --- a/js/MatrixOp/MATSUM.js +++ b/js/MatrixOp/MATSUM.js @@ -44,11 +44,10 @@ function MATSUM() { var ok = true; this.typ = inverse(arguments[0]["typ"]); this.decomptyp = arguments[0]["decomptyp"]; - this.lab = arguments[0]["lab"]; if (!ok) { break; } - var label = this.lab; + var label = lab; if ((this.typ==1)) { if ((this.decomptyp==0)) { var function_name = "mat_sum"; diff --git a/js/MatrixOp/MATSUM.pickle b/js/MatrixOp/MATSUM.pickle index f19c81c9..4712cd50 100644 --- a/js/MatrixOp/MATSUM.pickle +++ b/js/MatrixOp/MATSUM.pickle @@ -2,20 +2,18 @@ c__builtin__ set p0 ((lp1 -S'lab' +S'x' p2 -aS'graphics' +aS'model' p3 -aS'x' +aS'typ' p4 -aS'model' +aS'decomptyp' p5 -aS'typ' +aS'graphics' p6 -aS'decomptyp' -p7 -atp8 -Rp9 +atp7 +Rp8 .(dp0 S'model.dstate' p1 diff --git a/js/MatrixOp/MATZREIM.js b/js/MatrixOp/MATZREIM.js index 3a9bdb58..1bd5c35d 100644 --- a/js/MatrixOp/MATZREIM.js +++ b/js/MatrixOp/MATZREIM.js @@ -42,11 +42,10 @@ function MATZREIM() { while (true) { var ok = true; this.decomptyp = arguments[0]["decomptyp"]; - this.lab = arguments[0]["lab"]; if (!ok) { break; } - var label = this.lab; + var label = lab; if ((this.decomptyp==1)) { var function_name = "matz_reim"; var in1 = [-1,-2]; diff --git a/js/MatrixOp/MATZREIM.pickle b/js/MatrixOp/MATZREIM.pickle index 27ed69f0..9f7c8561 100644 --- a/js/MatrixOp/MATZREIM.pickle +++ b/js/MatrixOp/MATZREIM.pickle @@ -6,14 +6,12 @@ S'x' p2 aS'model' p3 -aS'lab' -p4 aS'decomptyp' -p5 +p4 aS'graphics' -p6 -atp7 -Rp8 +p5 +atp6 +Rp7 .(dp0 S'model.dstate' p1 |