span class="fu">gsegmat_symb</span><span class="op">(</span><span class="fl">4</span><span class="op">)</span></span></span>
<span class="r-out co"><span class="r-pr">#&gt;</span>   0               1        2              </span>
<span class="r-out co"><span class="r-pr">#&gt;</span> 0 "a+b"           "0"      "0"            </span>
<span class="r-out co"><span class="r-pr">#&gt;</span> 1 "(1/2)a+(3/4)b" "(1/2)a" "(1/4)b"       </span>
<span class="r-out co"><span class="r-pr">#&gt;</span> 2 "(1/6)a+(1/2)b"