Posts
 
Reputation
Joined
Last Seen
0 Reputation Points
Unknown Quality Score

No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.

0 Endorsements
~226 People Reached
Favorite Forums
Favorite Tags
Member Avatar for drone626

I have written code to compute the discriminant of a polynomial f(x) using the determinant of a sylvester matrix which for f(x)=x^5 -110*x^3 +55*x^2 +2310*x +979 looks like [CODE] [[ 1 0 -110 55 2310 979 0 0 0] [ 0 1 0 -110 55 2310 979 0 0] [ …

Member Avatar for Gribouillis
0
102
Member Avatar for drone626

I have a simple rational number class which looks roughly like: [CODE] class Rational: def __init__(self, numerator,denominator): self.numerator= numerator self.denominator= denominator more functions... [/CODE] but when I work with really large numbers such as the following example: [CODE] >>>a= Rational(2**64, 1) >>>a [/CODE] python crashes telling me Rational instance has …

Member Avatar for drone626
0
124