SPVM::Complex_2f - float Complex Type
use Complex_2f; my $z : Complex_2f; # Set $z->{re} = 1.5f; $z->{im} = 2.5f; # Get my $re = $z->{re}; my $im = $z->{im};
Complex_2f is a multi-numeric type to represent a float complex number.
Complex_2f
has re : float;
A real number.
has im : float;
A 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.