Open
Description
Some examples of things that are missing:
clamp
orclip
https://stackoverflow.com/questions/55250700/is-there-a-clamp-method-sub-for-ranges-num-etc-in-perl6- “One final observation about Perl 6 and math: although Perl 6 has all the usual functions from math.h, it could certainly use a few more.” https://www.evanmiller.org/statistical-shortcomings-in-standard-math-libraries.html
double incbet(double a, double b, double x); # Regularized incomplete beta function
double incbi(double a, double b, double y); # Inverse of incomplete beta integral
double igam(double a, double x); # Regularized incomplete gamma integral
double igamc(double a, double x); # Complemented incomplete gamma integral
double igami(double a, double p); # Inverse of complemented incomplete gamma integral
double ndtr(double x); # Normal distribution function
double ndtri(double y); # Inverse of Normal distribution function
double jv(double v, double x); # Bessel function of non-integer order
prod
. It's easy to do it yourself but if we havesum
then why not haveprod
too (for example, numpy has both)mean
median
mode
?peak-to-peak
(range) – (numpy example)standard-deviation
histogram
- and so on…