ALTree::CUtils(3pm)

πŸ’– ALTree::CUtils πŸ’–

ok so bestie, welcome to the manual page for ALTree::CUtils, a Perl extension, straight out of the User Contributed Perl Documentation corner of your local man 3pm situation. grab a lil snack, we're doing stats-y C utility wrappers today 🌸


✨ NAME ✨

ALTree::CUtils β€” Perl extension for blah blah blah πŸ¦‹

(yes the original really says blah blah blah. we respect the lore.)


🌟 SYNOPSIS 🌟

  use ALTree::CUtils;
  blah blah blah

periodt. that's the whole flex. πŸ’…


πŸ’« DESCRIPTION πŸ’«

ok so real talk: this is the stub documentation for ALTree::CUtils, and it was created by h2xs β€” the classic autogenerated skeleton, no cap. apparently the author of the extension was negligent enough to leave the stub unedited 😭 which is honestly so real of them, but also: the docs are giving placeholder energy.

Blah blah blah. 🫢


πŸŽ€ EXPORT πŸŽ€

None by default. that's it, that's the whole section. like she's not handing anything out for free, bestie. πŸ™ˆ


🧚 Exportable functions 🧚

here's the good stuff β€” everything you can pull in if you ask nicely (iykyk):

  double bilateral(double a, double b, double c, double d)
  double critchi(double p, int df)
  double left(double a, double b, double c, double d)
  double pochisq(double x, int df)
  double right(double a, double b, double c, double d)
  hash_ref double_permutation(int nb_sample, int nb_chi2, array_ref data)
    data : array of nb_sample*nb_chi2 doubles
           chi2_0_of_sample_0, chi2_1_of_sample_0, ..., chi2_0_of_sample_1, ...
    return keys:
      pmin => double
      chi2 => array of doubles

let me break down that last one bc she's the main character here πŸ‘‘

  • double_permutation takes data as an array of nb_sample*nb_chi2 doubles, laid out like chi2_0_of_sample_0, chi2_1_of_sample_0, ..., chi2_0_of_sample_1, ... β€” sample-major, chi2-minor, so you read a whole sample's chi2 values before moving to the next sample. it hands back a hash ref with these keys:
    • pmin => double
    • chi2 => array of doubles

slay. ✨


🌈 SEE ALSO 🌈

ok so this section is where you'd normally mention other useful documentation β€” y'know, related modules, operating system docs (like man pages in UNIX), or any relevant external documentation such as RFCs or standards.

If you have a mailing list set up for your module, mention it here. πŸ“¬

If you have a web site set up for your module, mention it here. 🌐

(and no, bestie, nobody actually mentioned anything. the template said mention it here and it stayed here. πŸ’€)


πŸ‘‘ AUTHOR πŸ‘‘

Claire Bardel, <Claire.Bardel@univ-lyon1.fr> πŸ’œ


Copyright (C) 2005 by Claire Bardel

This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself, either Perl version 5.8.4 or, at your option, any later version of Perl 5 you may have available.


lowkey important: this library is free software and you can redistribute and/or modify it under the same terms as Perl itself β€” either Perl version 5.8.4, or, at your option, any later version of Perl 5 you may have available. so go forth and remix responsibly 🫢

and that's the whole page, babe β€” this was ALTree::CUtils(3pm) from perl v5.42.3, dated 2026-08-20. go be iconic with your chi2 values, mwah πŸ’…πŸŽ€βœ¨

πŸ“¦ where this page comes from