Name

SPVM::Complex_2f - float complex type

Usage

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

Description

Complex_2f is float complex type.

This module is multi numeric type.

class Complex_2f : mulnum_t {
  has re : float;
  has im : float;
}

Field Methods

re

has re : float;

Real number.

im

has im : float;

Imaginary number.