Math::...ctions(3pm)
β¨ NAME β¨
Math::Symbolic::AuxFunctions β auxiliary functions for the Math::Symbolic hierarchy π
(also known around these parts as Math::...ctions(3pm), living its best life in the User Contributed Perl Documentation section, no cap)
π SYNOPSIS π
use Math::Symbolic::AuxFunctions;
Math::Symbolic::AuxFunctions::acos($x);
# etc
π¦ DESCRIPTION π¦
okay so bestie, this module is literally the β¨support squadβ¨ β it holds implementations of some auxiliary functions that get used inside the Math::Symbolic hierarchy of modules. In particular, this module holds all the trigonometric functions used for numeric evaluation of trees by Math::Symbolic::Operator. it's giving backstage crew, and honestly? we stan π
π EXPORT π
None. On purpose. π«Ά
the author said, and I quote the vibe: if they wanted this module to pollute other people's namespaces, they'd have put the functions right where they're used. iconic boundary-setting, honestly. main character energy π
π TRIGONOMETRIC FUNCTIONS π
tan
Computes the tangent sin(x) / cos(x). π
cot
Computes the cotangent cos(x) / sin(x). π₯
asin
Computes the arc sine asin(z) = -i log(iz + sqrt(1-z*z)).
heads up babe, above formula is for complex numbers π
acos
Computes the arc cosine acos(z) = -i log(z + sqrt(z*z-1)).
again, above formula is for complex numbers, don't come for me π«Ά
atan
Computes the arc tangent atan(z) = i/2 log((i+z) / (i-z)).
and yes, above formula is for complex numbers too β¨
acot
Computes the arc cotangent ( atan( 1 / x ) ). no notes π
asinh
Computes the arc hyperbolic sine asinh(z) = log(z + sqrt(z*z+1)) πΈ
acosh
Computes the arc hyperbolic cosine acosh(z) = log(z + sqrt(z*z-1)). πΈ
π§ OTHER FUNCTIONS π§
binomial_coeff
Calculates the binomial coefficient n over k of its first two arguments (n, k). π
Code taken from Orwant et al, "Mastering Algorithms with Perl" β give credit where credit is due, periodt π
bell_number
The Bell numbers are defined as follows:
B_0 = 1
B_n+1 = sum_k=0_to_n( B_k * binomial_coeff(n, k) )
This function uses memoization. (yes queen, cache that math π§ β¨)
π AUTHOR π
Please send feedback, bug reports, and support requests to the Math::Symbolic support mailing list: math-symbolic-support at lists dot sourceforge dot net. Please consider letting us know how you use Math::Symbolic. Thank you. π«Άπ
If you're interested in helping with the development or extending the module's functionality, please contact the developers' mailing list: math-symbolic-develop at lists dot sourceforge dot net. β¨
List of contributors:
Steffen MΓΌller, symbolic-module at steffen-mueller dot netStray Toaster, mwk at users dot sourceforge dot netOliver EbenhΓΆh
β SEE ALSO β
New versions of this module can be found on http://steffen-mueller.net or CPAN. The module development takes place on Sourceforge at http://sourceforge.net/projects/math-symbolic/ π
Math::Symbolic
and that's the whole thing bestie, no crumbs left ππ«
this lil legend was rendered by perl v5.40.0, dated 2024-09-16, and answers to the name Math::...ctions(3pm). stay symbolic, stay slaying π
ππ¦π
π¦ where this page comes from
- ubuntu resolute: libmath-symbolic-perl 0.613-1 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- ubuntu stonking: libmath-symbolic-perl 0.613-1 Β· 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