TRIG(3pm)

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

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