Name

SPVM::Complex_2d - double complex type

Usage

my $z : Complex_2d;
$z->{re} = 1;
$z->{im} = 2;

Description

Complex_2d is double complex type.

This module is multi numeric type.

class Complex_2d : mulnum_t {
  has re : double;
  has im : double;
}

Field Methods

re

has re : double;

Real number.

im

has im : double;

Imaginary number.