TRIG(3pm)
π NAME π
PDL::GSLSF::TRIG β it's the PDL interface to GSL Special Functions, and bestie, it is all about the trig β¨
πΈ DESCRIPTION πΈ
Okay so real talk: this whole thing is an interface to the Special Function package that lives inside the GNU Scientific Library. That's it. That's the vibe. GSL does the math, PDL lets you throw ndarrays at it π«Ά
π FUNCTIONS π
Every single one of these bad boys has the same energy, so listen up once and you're set forever:
Heads up, bestie: none of these functions process bad values. They will not do it. What they will do is set the bad-value flag on all the output ndarrays if that flag is set on any of the input ndarrays. That's the deal. Periodt π
π¦ gsl_sf_sin
Signature: (double x(); double [o]y(); double [o]e())
Sin(x) with GSL semantics. Classic. Iconic. The blueprint.
gsl_sf_sin does not process bad values. It will set the bad-value flag of all output ndarrays if the flag is set for any of the input ndarrays.
π¦ gsl_sf_cos
Signature: (double x(); double [o]y(); double [o]e())
Cos(x) with GSL semantics. Sin's ride-or-die fr fr.
gsl_sf_cos does not process bad values. It will set the bad-value flag of all output ndarrays if the flag is set for any of the input ndarrays.
π¦ gsl_sf_hypot
Signature: (double x(); double xx(); double [o]y(); double [o]e())
Hypot(x,xx) with GSL semantics. Two inputs, one gorgeous hypotenuse, no cap.
gsl_sf_hypot does not process bad values. It will set the bad-value flag of all output ndarrays if the flag is set for any of the input ndarrays.
π¦ gsl_sf_complex_sin
Signature: (double zr(); double zi(); double [o]x(); double [o]y(); double [o]xe(); double [o]ye())
Sin(z) for complex z. Yes bestie, complex. We're doing imaginary numbers, main character energy only πβ¨
gsl_sf_complex_sin does not process bad values. It will set the bad-value flag of all output ndarrays if the flag is set for any of the input ndarrays.
π¦ gsl_sf_complex_cos
Signature: (double zr(); double zi(); double [o]x(); double [o]y(); double [o]xe(); double [o]ye())
Cos(z) for complex z. Same shape, different letter, still slaying.
gsl_sf_complex_cos does not process bad values. It will set the bad-value flag of all output ndarrays if the flag is set for any of the input ndarrays.
π¦ gsl_sf_complex_logsin
Signature: (double zr(); double zi(); double [o]x(); double [o]y(); double [o]xe(); double [o]ye())
Log(Sin(z)) for complex z. Nesting functions like it's nothing, we love to see it π
gsl_sf_complex_logsin does not process bad values. It will set the bad-value flag of all output ndarrays if the flag is set for any of the input ndarrays.
π¦ gsl_sf_lnsinh
Signature: (double x(); double [o]y(); double [o]e())
Log(Sinh(x)) with GSL semantics. Hyperbolic and logarithmic, she contains multitudes π
gsl_sf_lnsinh does not process bad values. It will set the bad-value flag of all output ndarrays if the flag is set for any of the input ndarrays.
π¦ gsl_sf_lncosh
Signature: (double x(); double [o]y(); double [o]e())
Log(Cos(x)) with GSL semantics. (Yes, it literally says Cos right there β I'm just telling you what the page says, bestie, I don't make the rules π)
gsl_sf_lncosh does not process bad values. It will set the bad-value flag of all output ndarrays if the flag is set for any of the input ndarrays.
π¦ gsl_sf_polar_to_rect
Signature: (double r(); double t(); double [o]x(); double [o]y(); double [o]xe(); double [o]ye())
Convert polar to rectlinear coordinates. Glow-up from circles to corners π
gsl_sf_polar_to_rect does not process bad values. It will set the bad-value flag of all output ndarrays if the flag is set for any of the input ndarrays.
π¦ gsl_sf_rect_to_polar
Signature: (double x(); double y(); double [o]r(); double [o]t(); double [o]re(); double [o]te())
Convert rectlinear to polar coordinates. return argument in range [-pi, pi]. π«
gsl_sf_rect_to_polar does not process bad values. It will set the bad-value flag of all output ndarrays if the flag is set for any of the input ndarrays.
π¦ gsl_sf_angle_restrict_symm
Signature: (double [o]y())
Force an angle to lie in the range (-pi,pi]. Boundaries, babe. We're setting them β
gsl_sf_angle_restrict_symm does not process bad values. It will set the bad-value flag of all output ndarrays if the flag is set for any of the input ndarrays.
π¦ gsl_sf_angle_restrict_pos
Signature: (double [o]y())
Force an angle to lie in the range [0,2 pi). Strictly positive vibes only, we don't do negatives here π
gsl_sf_angle_restrict_pos does not process bad values. It will set the bad-value flag of all output ndarrays if the flag is set for any of the input ndarrays.
π¦ gsl_sf_sin_err
Signature: (double x(); double dx(); double [o]y(); double [o]e())
Sin(x) for a quantity with an associated error. Uncertainty is sexy, ngl π¦
gsl_sf_sin_err does not process bad values. It will set the bad-value flag of all output ndarrays if the flag is set for any of the input ndarrays.
π¦ gsl_sf_cos_err
Signature: (double x(); double dx(); double [o]y(); double [o]e())
Cos(x) for a quantity with an associated error. Same energy, the cos version, we ate π₯
gsl_sf_cos_err does not process bad values. 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. You are allowed to redistribute this software / documentation under certain conditions. For details, see the file COPYING in the PDL distribution. If this file is separated from the PDL distribution, the copyright notice should be included in the file.
The GSL SF modules were written by G. Jungman. π«Ά
okay that's the whole page bestie, go forth and trig πβ¨
perl v5.38.2 Β· 2024-04-10 Β· TRIG(3pm) β mwah, no notes, see you in the next manpage π
π¦ 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