protected function getLines(Matrix $mA)
    {
        $lines = array();
        $data = $mA->toArray();
        $rows = $mA->rows();
        $cols = $mA->columns();
        for ($row = 0; $row < $rows; $row++) {
            $line = '';
            for ($col = 0; $col < $cols; $col++) {
                $line .= $data[$row][$col];
            }
            $lines[$row] = $line;
        }

        return $lines;
    }
protected function getLines(Matrix $mA)
    {
        $lines = array();
        $data = $mA->toArray();
        $rows = $mA->rows();
        $cols = $mA->columns();
        for ($row = 0; $row < $rows; $row++) {
            $line = '';
            for ($col = 0; $col < $cols; $col++) {
                $line .= $data[$row][$col];
            }
            $lines[$row] = $line;
        }

        return $lines;
    }
protected function getLines ( Matrix $ mA ) { $ lines = array ( ) ; $ data = $ mA -> toArray ( ) ; $ rows = $ mA -> rows ( ) ; $ cols = $ mA -> columns ( ) ; for ( $ row = 0 ; $ row < $ rows ; $ row ++ ) { $ line = '' ; for ( $ col = 0 ; $ col < $ cols ; $ col ++ ) { $ line .= $ data [ $ row ] [ $ col ] ; } $ lines [ $ row ] = $ line ; } return $ lines ; }
Covert each row of matrix into a line

@param \Chippyash\Matrix\Matrix $mA
@return array
Covert each row of matrix into a line