Ubuntu Manpages

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