> The problem with the code you sent is that you have to go through ALL
> your matrix elements to get a certain row or column, which takes too

Why not just write a Ruby wrapper around you C extension?