test_class.file: jtstoolkit/src/test/java/ec/tstoolkit/data/PeriodicDummiesTest.java
test_class.identifier: PeriodicDummiesTest
test_case.body: @Test
      public void testMatrix() {
          PeriodicDummies dummies = new PeriodicDummies(5);
          for (int len = 3; len < 12; ++len) {
              Matrix matrix = dummies.matrix(len);
              for (DataBlock row : matrix.rowList()) {
                  assertTrue(row.sum() == 1);
              };
          }
      }
test_case.class_method_signature: PeriodicDummiesTest.testMatrix()
test_case.full_signature: @Test public void testMatrix()
test_case.identifier: testMatrix
test_case.invocations: matrix rowList assertTrue sum
test_case.modifiers: @Test public
test_case.parameters: ()
test_case.return: void
test_case.signature: void testMatrix()
focal_class.declarator: period
focal_class.modifier: private final
focal_class.original_string: private final int period;
focal_class.type: int
focal_class.var_name: period
focal_class.declarator: start
focal_class.modifier: private final
focal_class.original_string: private final int start;
focal_class.type: int
focal_class.var_name: start
focal_class.file: jtstoolkit/src/main/java/ec/tstoolkit/data/PeriodicDummies.java
focal_class.identifier: PeriodicDummies
focal_class.class_method_signature: PeriodicDummies.PeriodicDummies(int period)
focal_class.full_signature: public  PeriodicDummies(int period)
focal_class.identifier: PeriodicDummies
focal_class.modifiers: public
focal_class.parameters: (int period)
focal_class.signature:  PeriodicDummies(int period)
focal_class.class_method_signature: PeriodicDummies.PeriodicDummies(int period, int start)
focal_class.full_signature: public  PeriodicDummies(int period, int start)
focal_class.identifier: PeriodicDummies
focal_class.modifiers: public
focal_class.parameters: (int period, int start)
focal_class.signature:  PeriodicDummies(int period, int start)
focal_class.class_method_signature: PeriodicDummies.matrix(int len)
focal_class.full_signature: public Matrix matrix(int len)
focal_class.identifier: matrix
focal_class.modifiers: public
focal_class.parameters: (int len)
focal_class.return: Matrix
focal_class.signature: Matrix matrix(int len)
focal_method.body: public Matrix matrix(int len) {
          Matrix m = new Matrix(len, period);
          DataBlockIterator columns = m.columns();
          DataBlock col = columns.getData();
          int pos = 0;
          do {
              int beg=(pos++)-start;
              if (beg<0)
                  beg+=period;
              col.extract(beg, -1, period).set(1);
          } while (columns.next());
          return m;
      }
focal_method.class_method_signature: PeriodicDummies.matrix(int len)
focal_method.full_signature: public Matrix matrix(int len)
focal_method.identifier: matrix
focal_method.invocations: columns getData set extract next
focal_method.modifiers: public
focal_method.parameters: (int len)
focal_method.return: Matrix
focal_method.signature: Matrix matrix(int len)