DOKK / manpages / debian 12 / pdl / PDL::Overloads.3pm.en
Overloads(3pm) User Contributed Perl Documentation Overloads(3pm)

PDL::Complex::Overloads - subclass of Math::Complex with overload fallbacks

  require PDL::Complex::Overloads;
  my $same = PDL::Complex::Overloads::cplx(1, 2) eq '1+2i';

This is a subclass whose only purpose is to provide Math::Complex's overloads but with "fallback" true, mainly to allow string-comparison for backwards compatibility.

Ed J

Math::Complex

2023-04-27 perl v5.36.0