Revisting my accelerated slog solution using Abel matrix inversion
#4
I'll attempt to post the SAGE code.  It still needs some cleanup, and I'm actually planning to redo to the OOC solver.  Please note, for smaller system sizes (i.e., systems which easily fit in RAM), the "SpaceSaver2" algorithm is probably the fastest.  (The full name of the method in the library is "Solve_System_Gauss_SpaceSaver2").  If you want to try the library and have questions, I'll try my best to answer.

Please note, I'm using this code in the Windows executable version of SAGE.  I still have an old copy of the SAGE appliance that runs on Linux in a VMWare session, but I can't get it working with the latest version of the VMWare Workstation Player.

I'll try to convert this code to pari/gp code at some point.  This will allow me to compare the performance and precision, and it will also ensure that I'll have access to the code in a second language, e.g., just in case SAGE were to stop development in the future.  If I can get access to Mathematica, I will also try to port it into that language.

My next project is to rewrite the OOC solver, so that it scales a little better, and so I can save the L matrix.  Currently I only save the U matrix.  I can do back-substitution with the U matrix.  I need the L matrix to do forward substitution.  For my current methods, I do the forward substitution during the LU decomposition phase, which is why I can get away with tossing the L matrix.  However, my next phase of research will require me to test lots of vectors, so I need the ability to perform forward substitution.  Hence I need the L matrix.


Attached Files
.sage   slog_accel_lib_e_v6.sage (Size: 12.54 KB / Downloads: 1,056)
.sage   test_ooc.sage (Size: 603 bytes / Downloads: 1,076)
.sage   test_bsub.sage (Size: 493 bytes / Downloads: 1,077)
~ Jay Daniel Fox
Reply


Messages In This Thread
RE: Revisting my accelerated slog solution using Abel matrix inversion - by jaydfox - 01/07/2019, 01:38 AM
Analysis of Jay's slog vs Kneser - by sheldonison - 01/17/2019, 06:44 PM
RE: Analysis of Jay's slog vs Kneser - by jaydfox - 01/18/2019, 06:35 AM
RE: Analysis of Jay's slog vs Kneser - by jaydfox - 01/18/2019, 06:42 AM
RE: Analysis of Jay's slog vs Kneser - by jaydfox - 01/18/2019, 06:17 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Terse Schroeder & Abel function code Daniel 1 3,792 10/16/2022, 07:03 AM
Last Post: Daniel
  Quickest way to compute the Abel function on the Shell-Thron boundary JmsNxn 0 3,766 04/21/2022, 01:52 AM
Last Post: JmsNxn
  The Promised Matrix Add On; Abel_M.gp JmsNxn 2 5,843 08/21/2021, 03:18 AM
Last Post: JmsNxn
  An incremental method to compute (Abel) matrix inverses bo198214 3 20,217 07/20/2010, 12:13 PM
Last Post: Gottfried
  A note on computation of the slog Gottfried 6 26,101 07/12/2010, 10:24 AM
Last Post: Gottfried
  Improving convergence of Andrew's slog jaydfox 19 67,492 07/02/2010, 06:59 AM
Last Post: bo198214
  intuitive slog base sqrt(2) developed between 2 and 4 bo198214 1 10,067 09/10/2009, 06:47 PM
Last Post: bo198214
  SAGE code for computing flow matrix for exp(z)-1 jaydfox 4 22,086 08/21/2009, 05:32 PM
Last Post: jaydfox
  sexp and slog at a microcalculator Kouznetsov 0 7,239 01/08/2009, 08:51 AM
Last Post: Kouznetsov
  Convergence of matrix solution for base e jaydfox 6 22,902 12/18/2007, 12:14 AM
Last Post: jaydfox



Users browsing this thread: 1 Guest(s)