sqrtm returns the same type as its input