axiom-developer
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Axiom-developer] [Enhanced Fraction Domain]


From: anonymous
Subject: [Axiom-developer] [Enhanced Fraction Domain]
Date: Sat, 14 May 2005 07:30:48 -0500

Changes 
http://page.axiom-developer.org/zope/mathaction/EnhancedFractionDomain/diff
--

??changed:
-This patch is just a code optimization and not a mathematical optimization 
(algorithm)
-matrix(FRAC INT,50,50) * matrix(FRAC INT,50,50):
This patch is just a code optimization (same algorithm is used).
<br>

??changed:
-before: 3.17 sec
-after:  0.83 sec
  a:=matrix [[j^1/(j-i) for i in  1..50] for j in 51..100];
  a*a;
  before:    2.10 sec
  after:     0.53 sec
  factor: 0.25

  a:=matrix [[j^1/(j-i) for i in  1..50] for j in 1000000001..1000000050];
  a*a;
  before:    3.69
  after:     1.56
  factor: 0.42

??changed:
-Factor: 3.8192771084
-Check it, test it and enhance it, Have fun and regards
-
Cheers

++added:


--
forwarded from http://page.axiom-developer.org/zope/mathaction/address@hidden




reply via email to

[Prev in Thread] Current Thread [Next in Thread]