How can I insert a polylogarithm function to FORTRAN?

  • Context: Fortran 
  • Thread starter Thread starter bulash
  • Start date Start date
  • Tags Tags
    Function
Join the discussion
Registration is free. Ask a follow-up in this thread, or start your own.
3 replies · 8K views
bulash
Messages
4
Reaction score
0
Hi everyone,

Anyone knows how can I insert a polylogarithm function to FORTRAN? I am trying to put Li_2(z) polylogarithm function to my equation.

Thank you in advance.

bulash.
 
Physics news on Phys.org
You'd have to write the function, if you do not have it in a library of functions.
If you need help with the definition of the function, check the following site:
http://en.wikipedia.org/wiki/Polylogarithm
If you have difficulties with writing the function, you can post what you've got, and we will then know how we can help.
 
OK. Thank you very much!
 
A good reference for a polylogarithm function algorithm is the following:
Note on fast polylogarithm computation
File Format: PDF/Adobe Acrobat - View as HTML
Abstract: The polylogarithm function Li ... assumed that −π < arg z ≤ π, whence the analytic continuation with proper branch cut ...
people.reed.edu/~crandall/papers/Polylog.pdf - Similar pages
by RE Crandall -

If you are interested please send me an email (rashore1@yahoo.com) and I will then send you copies of the FORTRAN codes I wrote to calculate the dilogarithm and trilogarithm functions of complex argument based on Crandall's algorithm. I've checked them using Mathematica and they work quite well.