SPVM::Complex_2d - Complex_2d in SPVM | double complex type
my $z : Complex_2d; $z->{re} = 1; $z->{im} = 2;
Complex_2d is double complex type.
This module is multi numeric type.
class Complex_2d : mulnum_t { has re : double; has im : double; }
has re : double;
Real number.
has im : double;
Imaginary number.
To install SPVM, copy and paste the appropriate command in to your terminal.
cpanm
cpanm SPVM
CPAN shell
perl -MCPAN -e shell install SPVM
For more information on module installation, please visit the detailed CPAN module installation guide.