Statis...omplex(3pm)
β¨ NAME β¨
Statistics::R::REXP::Complex β an R numeric vector, but make it complex π
(it's a Perl module manpage, section 3pm, if you're keeping track, bestie π)
πΈ VERSION πΈ
version 1.0002
π¦ SYNOPSIS π¦
use Statistics::R::REXP::Complex;
use Math::Complex ();
my $vec = Statistics::R::REXP::Complex->new([
1, cplx(4, 2), 'foo', 42
]);
print $vec->elements;
π DESCRIPTION π
okay so, an object of this class is literally the Perl-side glow-up of an R complex vector, and its SEXPTYPE is "CPLXSXP". no cap. π§
π METHODS π
Statistics::R::REXP:Complex inherits from Statistics::R::REXP::Vector, and it adds one extra rule on top: its elements have to be complex numbers. the way that anything which isn't a number just gets the value undef, and so do elements whose R value is NA. lowkey iconic, highkey important. π«Ά
sexptype
the SEXPTYPE of complex vectors is CPLXSXP. that's the whole vibe check. β
π BUGS AND LIMITATIONS π
classes in the REXP hierarchy are intended to be immutable. bestie, please do not try to change their value or attributes. that's not the move. π
there are no known bugs in this module. for bug reporting, go look at Statistics::R::IO. fr fr. π
π SUPPORT π
see Statistics::R::IO for support and contact information. iykyk π
π AUTHOR π
Davor Cubranic <cubranic@stat.ubc.ca> β main character energy, honestly. π
π COPYRIGHT AND LICENSE π
this software is Copyright (c) 2017 by University of British Columbia. π«
this is free software, licensed under:
The GNU General Public License, Version 3, June 2007
and that's a wrap, bestie π¦ this page was served up by perl v5.34.0, dated 2022-02-10 β slay, periodt β¨π
π¦ where this page comes from
- debian bookworm: libstatistics-r-io-perl 1.0002-2 Β· GPL-3.0-only
- debian trixie: libstatistics-r-io-perl 1.0002-2 Β· GPL-3.0-only
- ubuntu jammy: libstatistics-r-io-perl 1.0002-2 Β· GPL-3.0-only
- ubuntu noble: libstatistics-r-io-perl 1.0002-2 Β· GPL-3.0-only
- ubuntu resolute: libstatistics-r-io-perl 1.0002-2 Β· GPL-3.0-only
- ubuntu stonking: libstatistics-r-io-perl 1.0002-2 Β· GPL-3.0-only
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms