DILOG(3pm)

πŸ“¦
version 2.085 Β· 4 versions
, in ubuntu noble

πŸ’– DILOG πŸ’–

okay bestie, so this is DILOG from the 3pm section β€” that's the User Contributed Perl Documentation shelf, iykyk β€” and it's living in PDL::GSLSF::DILOG. come sit with me, we're doing special functions today and honestly? it's giving math girlie. 🧚✨


✨ NAME ✨

PDL::GSLSF::DILOG β€” the PDL interface to GSL Special Functions πŸŽ€


🌸 DESCRIPTION 🌸

so basically this is an interface to the Special Function package that lives inside the GNU Scientific Library. that's it, that's the vibe. it's a whole bridge between PDL and GSL's fancy math goodies. πŸ’…


πŸ‘‘ FUNCTIONS πŸ‘‘

⭐ gsl_sf_dilog

Signature:

(double x(); double [o]y(); double [o]e())

the Real part of DiLogarithm(x), for a real argument β€” no cap. in Lewin's notation this one is Li_2(x). and the way it's defined:

Li_2(x) = - Re[ Integrate[ Log[1-s] / s, {s, 0, x}] ]
🫢 heads up bestie: gsl_sf_dilog does not process bad values. it will set the bad-value flag of all output ndarrays if that flag is set for any of the input ndarrays. so like, one bad apple, whole bunch flagged. πŸ“

🌈 gsl_sf_complex_dilog

Signature:

(double r(); double t(); double [o]re(); double [o]im(); double [o]ere(); double [o]eim())

this one is DiLogarithm(z), for a complex argument z = r Exp[i theta]. yes queen, complex. πŸ’œ

😭 same deal as before: gsl_sf_complex_dilog does not process bad values either. it will set the bad-value flag of all output ndarrays if the flag is set for any of the input ndarrays.

πŸ’€ AUTHOR πŸ’€

this file copyright (C) 1999 Christian Pellegrin <chri@infis.univ.trieste.it>. all rights reserved. there is no warranty β€” fr fr, none, zero, nada. πŸ™ˆ

you're allowed to redistribute this software / documentation under certain conditions. for the deets, go look at the file COPYING in the PDL distribution. and if this file ever gets separated from the PDL distribution, the copyright notice should be included in the file. don't be shady about it. πŸŽ€

also, the GSL SF modules were written by G. Jungman. iconic of him. πŸ‘‘


alright that's the whole page, mwah πŸ’‹ β€” this was perl v5.38.2, dated 2024-04-10, filed under DILOG(3pm), and no you cannot borrow my notes without crediting me. slay, go compute something. βœ¨πŸ¦‹

πŸ“¦ where this page comes from