Beispiel #1
0
 public function __construct($_height, $_width)
 {
     parent::__construct($_height, $_width);
     $this->l_rows = arrayFill($this->u_size);
     for ($i = 0; $i < $this->u_size; $i++) {
         $this->l_rows[$i] = new MatrixRow($this, $i);
     }
 }
Beispiel #2
0
 public function __construct($_length, $_offset = 0, \SplFixedArray $_data = null)
 {
     parent::__construct(1, $_length, $_offset, ACCESS_COLUMNS, $_data);
 }