SYNCHROTRON(3pm)
π« SYNCHROTRON π«
okay so bestie, welcome to SYNCHROTRON(3pm) β part of the User Contributed Perl Documentation crew, and like, specifically it's PDL::GSLSF::SYNCHROTRON π
β¨ NAME β¨
PDL::GSLSF::SYNCHROTRON β a 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 giving "glue code but make it iconic" β¨
π¦ FUNCTIONS π¦
gsl_sf_synchrotron_1 π
Signature, and yes you need it exactly like this:
Signature: (double x(); double [o]y(); double [o]e())
This one is the first synchrotron function, and here's the formula bestie:
synchrotron_1(x) = x Integral[ K_{5/3}(t), {t, x, Infinity}]
no cap, that integral goes from x all the way to Infinity π«Ά
heads up! gsl_sf_synchrotron_1 does not process bad values. What it will do is set the bad-value flag of all output ndarrays if the flag is set for any of the input ndarrays. so like, if one input is acting up, everybody gets flagged. main character chaos honestly π
gsl_sf_synchrotron_2 π
Signature again, verbatim:
Signature: (double x(); double [o]y(); double [o]e())
And this is the second synchroton function (yes, that's how it's spelled in the original, we do not edit the queen's spelling π):
synchrotron_2(x) = x * K_{2/3}(x)
simple, clean, ate π
same energy as above! gsl_sf_synchrotron_2 does not process bad values either. It sets the bad-value flag of all output ndarrays if the flag is set for any of the input ndarrays. periodt.
π AUTHOR π
This file is copyright (C) 1999 Christian Pellegrin <chri@infis.univ.trieste.it> β All rights reserved. There is no warranty (π fr fr, none). You are allowed to redistribute this software / documentation under certain conditions. For the deets, see 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. lowkey important, don't be that person π
Also shoutout: the GSL SF modules were written by G. Jungman. absolute legend π«Ά
cute little sign-off: this was SYNCHROTRON(3pm) from the perl corner of the world, version v5.38.2, dated 2024-04-10 πβ¨ bye bestie, go compute something gorgeous π
π¦ where this page comes from
- ubuntu noble: pdl 1:2.085-1ubuntu1 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms