SYNCHROTRON(3pm)

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

πŸ’« 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