summaryrefslogtreecommitdiff
path: root/data_structures_correct/CMSCOPE.js
diff options
context:
space:
mode:
Diffstat (limited to 'data_structures_correct/CMSCOPE.js')
-rw-r--r--data_structures_correct/CMSCOPE.js41
1 files changed, 7 insertions, 34 deletions
diff --git a/data_structures_correct/CMSCOPE.js b/data_structures_correct/CMSCOPE.js
index e00ee14..701771a 100644
--- a/data_structures_correct/CMSCOPE.js
+++ b/data_structures_correct/CMSCOPE.js
@@ -38,41 +38,14 @@ function CMSCOPE() {
}
CMSCOPE.prototype.define = function CMSCOPE() {
this.win = -1;
- this.in1 = [
- [1],
- [1]
- ];
- this.wdim = [
- [-1],
- [-1]
- ];
- this.wpos = [
- [-1],
- [-1]
- ];
- this.clrs = [
- [1],
- [3],
- [5],
- [7],
- [9],
- [11],
- [13],
- [15]
- ];
+ this.in1 = [[1],[1]];
+ this.wdim = [[-1],[-1]];
+ this.wpos = [[-1],[-1]];
+ this.clrs = [[1],[3],[5],[7],[9],[11],[13],[15]];
this.N = 20;
- this.ymin = [
- [-1],
- [-5]
- ];
- this.ymax = [
- [1],
- [5]
- ];
- this.per = [
- [30],
- [30]
- ];
+ this.ymin = [[-1],[-5]];
+ this.ymax = [[1],[5]];
+ this.per = [[30],[30]];
this.yy = [...transpose(this.ymin), ...transpose(this.ymax)];
this.period = transpose(this.per);