There is not much you can do about that. As you noted, the sqrt function does not work for Rational since in general the square root of a rational number is not rational. The only thing you could would use a Vector<Float> instead. You could then translate into Vector<Rational>, at the end, but then,...