diff options
author | Sunil Shetye | 2018-06-15 17:43:46 +0530 |
---|---|---|
committer | Sunil Shetye | 2018-06-15 17:45:03 +0530 |
commit | ac15cca9d5daa5e0c7e531d1454b436b6cca64dc (patch) | |
tree | c97bc8129401088f4b564213e8d2761e02964c5a /js/MatrixOp | |
parent | cd1c69226494b2228095aef86493ba79b5f9e6e2 (diff) | |
download | sci2js-ac15cca9d5daa5e0c7e531d1454b436b6cca64dc.tar.gz sci2js-ac15cca9d5daa5e0c7e531d1454b436b6cca64dc.tar.bz2 sci2js-ac15cca9d5daa5e0c7e531d1454b436b6cca64dc.zip |
fix syntax issues
Diffstat (limited to 'js/MatrixOp')
-rw-r--r-- | js/MatrixOp/EXTTRI.js | 2 | ||||
-rw-r--r-- | js/MatrixOp/MATBKSL.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/MATEXPM.js | 2 | ||||
-rw-r--r-- | js/MatrixOp/MATINV.js | 2 | ||||
-rw-r--r-- | js/MatrixOp/MATLU.js | 2 | ||||
-rw-r--r-- | js/MatrixOp/MATPINV.js | 2 | ||||
-rw-r--r-- | js/MatrixOp/MATRESH.js | 2 | ||||
-rw-r--r-- | js/MatrixOp/MATTRAN.js | 2 | ||||
-rw-r--r-- | js/MatrixOp/RICC.js | 2 |
12 files changed, 12 insertions, 12 deletions
diff --git a/js/MatrixOp/EXTTRI.js b/js/MatrixOp/EXTTRI.js index 3fd1deca..bcba10de 100644 --- a/js/MatrixOp/EXTTRI.js +++ b/js/MatrixOp/EXTTRI.js @@ -8,7 +8,7 @@ model=arg1.model; graphics=arg1.graphics; label=graphics.exprs; if (size(label,"*")==14) { -label[9]=[]; +label[9-1]=[]; } while (true) { [ok,typ,decomptyp,lab]=scicos_getvalue("Set EXTTRI block parameters",["Datatype(1=real double 2=Complex)","extraction type (1=lower 2=upper 3=diagonal)"],list("vec",1,"vec",1),label); diff --git a/js/MatrixOp/MATBKSL.js b/js/MatrixOp/MATBKSL.js index 38fc6deb..e9e4f4a7 100644 --- a/js/MatrixOp/MATBKSL.js +++ b/js/MatrixOp/MATBKSL.js @@ -8,7 +8,7 @@ graphics=arg1.graphics; label=graphics.exprs; model=arg1.model; if (size(label,"*")==14) { -label[9]=[]; +label[9-1]=[]; } while (true) { [ok,typ,exprs]=scicos_getvalue("Set MATBKSL Block",["Datatype (1=real double 2=Complex)"],list("vec",1),label); diff --git a/js/MatrixOp/MATDET.js b/js/MatrixOp/MATDET.js index d474a542..a27c586b 100644 --- a/js/MatrixOp/MATDET.js +++ b/js/MatrixOp/MATDET.js @@ -8,7 +8,7 @@ graphics=arg1.graphics; label=graphics.exprs; model=arg1.model; if (size(label,"*")==14) { -label[9]=[]; +label[9-1]=[]; } while (true) { [ok,typ,exprs]=scicos_getvalue("Set MATDET Block",["Datatype(1=real double 2=Complex)"],list("vec",1),label); diff --git a/js/MatrixOp/MATDIAG.js b/js/MatrixOp/MATDIAG.js index 131ed59c..8e4755b4 100644 --- a/js/MatrixOp/MATDIAG.js +++ b/js/MatrixOp/MATDIAG.js @@ -8,7 +8,7 @@ graphics=arg1.graphics; label=graphics.exprs; model=arg1.model; if (size(label,"*")==14) { -label[9]=[]; +label[9-1]=[]; } while (true) { [ok,typ,exprs]=scicos_getvalue("Set MATDIAG Block",["Datatype (1=real double 2=Complex)"],list("vec",1),label); diff --git a/js/MatrixOp/MATDIV.js b/js/MatrixOp/MATDIV.js index 1b053653..9a7fcec4 100644 --- a/js/MatrixOp/MATDIV.js +++ b/js/MatrixOp/MATDIV.js @@ -8,7 +8,7 @@ graphics=arg1.graphics; label=graphics.exprs; model=arg1.model; if (size(label,"*")==14) { -label[9]=[]; +label[9-1]=[]; } while (true) { [ok,typ,exprs]=scicos_getvalue("Set MATDIV Block",["Datatype(1=real double 2=Complex)"],list("vec",1),label); diff --git a/js/MatrixOp/MATEXPM.js b/js/MatrixOp/MATEXPM.js index 6d65a499..3a9b117f 100644 --- a/js/MatrixOp/MATEXPM.js +++ b/js/MatrixOp/MATEXPM.js @@ -8,7 +8,7 @@ graphics=arg1.graphics; label=graphics.exprs; model=arg1.model; if (size(label,"*")==14) { -label[9]=[]; +label[9-1]=[]; } while (true) { [ok,typ,exprs]=scicos_getvalue("Set EXPM Block",["Datatype(1=real double 2=Complex)"],list("vec",1),label); diff --git a/js/MatrixOp/MATINV.js b/js/MatrixOp/MATINV.js index 7ceb5342..04fc617c 100644 --- a/js/MatrixOp/MATINV.js +++ b/js/MatrixOp/MATINV.js @@ -8,7 +8,7 @@ graphics=arg1.graphics; label=graphics.exprs; model=arg1.model; if (size(label,"*")==14) { -label[9]=[]; +label[9-1]=[]; } while (true) { [ok,typ,exprs]=scicos_getvalue("Set MATINV Block",["Datatype(1=real double 2=Complex)"],list("vec",1),label); diff --git a/js/MatrixOp/MATLU.js b/js/MatrixOp/MATLU.js index 0c7a77cb..fa4425bc 100644 --- a/js/MatrixOp/MATLU.js +++ b/js/MatrixOp/MATLU.js @@ -8,7 +8,7 @@ model=arg1.model; graphics=arg1.graphics; label=graphics.exprs; if (size(label,"*")==14) { -label[9]=[]; +label[9-1]=[]; } while (true) { [ok,typ,lab]=scicos_getvalue("Set MATLU block parameters",["Datatype(1=real double 2=Complex)"],list("vec",1),label); diff --git a/js/MatrixOp/MATPINV.js b/js/MatrixOp/MATPINV.js index 573f11de..29e54589 100644 --- a/js/MatrixOp/MATPINV.js +++ b/js/MatrixOp/MATPINV.js @@ -8,7 +8,7 @@ graphics=arg1.graphics; label=graphics.exprs; model=arg1.model; if (size(label,"*")==14) { -label[9]=[]; +label[9-1]=[]; } while (true) { [ok,typ,exprs]=scicos_getvalue("Set MATPINV Block",["Datatype(1=real double 2=Complex)"],list("vec",1),label); diff --git a/js/MatrixOp/MATRESH.js b/js/MatrixOp/MATRESH.js index 1a15f8df..ea7fc79d 100644 --- a/js/MatrixOp/MATRESH.js +++ b/js/MatrixOp/MATRESH.js @@ -8,7 +8,7 @@ model=arg1.model; graphics=arg1.graphics; label=graphics.exprs; if (size(label,"*")==14) { -label[9]=[]; +label[9-1]=[]; } while (true) { [ok,typ,l1,out,lab]=scicos_getvalue("Set MATRESH block parameters",["Datatype(1=real double 2=Complex)","input size","output size desired"],list("vec",-1,"vec",-1,"vec",-1),label); diff --git a/js/MatrixOp/MATTRAN.js b/js/MatrixOp/MATTRAN.js index 970a386a..893d48f8 100644 --- a/js/MatrixOp/MATTRAN.js +++ b/js/MatrixOp/MATTRAN.js @@ -8,7 +8,7 @@ graphics=arg1.graphics; label=graphics.exprs; model=arg1.model; if (size(label,"*")==1) { -label[2]=sci2exp(1); +label[2-1]=sci2exp(1); } while (true) { [ok,typ,rule,exprs]=scicos_getvalue("Set MATTRAN Block",["Datatype(1=real double 2=Complex)","rule (1=.\' 2=\')"],list("vec",1,"vec",1),label); diff --git a/js/MatrixOp/RICC.js b/js/MatrixOp/RICC.js index d1cb1c7d..876389ca 100644 --- a/js/MatrixOp/RICC.js +++ b/js/MatrixOp/RICC.js @@ -8,7 +8,7 @@ graphics=arg1.graphics; label=graphics.exprs; model=arg1.model; if (size(label,"*")==14) { -label[9]=[]; +label[9-1]=[]; } while (true) { [ok,tpe,mod,exprs]=scicos_getvalue("Set RICC Block",["Type (1=Cont 2=Disc)","Model(1=Schr 2=sign(cont) inv(disc))"],list("vec",1,"vec",1),label); |