row(i)
public
Returns row vector number i of the
matrix as a Vector (starting at 0 like an
array). When a block is given, the elements of that vector are iterated.
Show source
def row(i)
if block_given?
for e in @rows[i]
yield e
end
else
Vector.elements(@rows[i])
end
end