NAME

SPVM::Math::Complex - Math Functions

CAUTHION

The SPVM::Math::Complex module depends on the SPVM module. The SPVM module is yet before 1.0 released. The beta tests are doing. There will be a little reasonable changes yet.

SYNOPSYS

SPVM

use Math;

my $sin = Math->sin(Math->PI / 4);

Perl

use SPVM 'Math';

my $sin = SPVM::Math::Complex->sin(SPVM::Math::Complex->PI / 4);

DESCRIPTION

The Math class defines mathmatical functions that contains C99 math functions.

CLASS METHODS

The list of class methods of Math class.

cabs

static method cabs : double ($z : Complex_2d)

The binding to the cabs function of C language. This function is declared in complex.h.

cabsf

static method cabsf : float ($z : Complex_2f)

The binding to the cabsf function of C language. This function is declared in complex.h.

cacos

static method cacos : Complex_2d ($z : Complex_2d)

The binding to the cacos function of C language. This function is declared in complex.h.

cacosf

static method cacosf : Complex_2f ($z : Complex_2f)

The binding to the cacosf function of C language. This function is declared in complex.h.

cacosh

static method cacosh : Complex_2d ($z : Complex_2d)

The binding to the cacosh function of C language. This function is declared in complex.h.

cacoshf

static method cacoshf : Complex_2f ($z : Complex_2f)

The binding to the cacoshf function of C language. This function is declared in complex.h.

cadd

static method cadd : Complex_2d ($z1 : Complex_2d, $z2 : Complex_2d)

The binding to the cadd function of C language. This function is declared in complex.h.

caddf

static method caddf : Complex_2f ($z1 : Complex_2f, $z2 : Complex_2f)

The binding to the caddf function of C language. This function is declared in complex.h.

carg

static method carg : double ($z : Complex_2d)

The binding to the carg function of C language. This function is declared in complex.h.

cargf

static method cargf : float ($z : Complex_2f)

The binding to the cargf function of C language. This function is declared in complex.h.

casin

static method casin : Complex_2d ($z : Complex_2d)

The binding to the casin function of C language. This function is declared in complex.h.

casinf

static method casinf : Complex_2f ($z : Complex_2f)

The binding to the casinf function of C language. This function is declared in complex.h.

casinh

static method casinh : Complex_2d ($z : Complex_2d)

The binding to the casinh function of C language. This function is declared in complex.h.

casinhf

static method casinhf : Complex_2f ($z : Complex_2f)

The binding to the casinhf function of C language. This function is declared in complex.h.

catan

static method catan : Complex_2d ($z : Complex_2d)

The binding to the catan function of C language. This function is declared in complex.h.

catanf

static method catanf : Complex_2f ($z : Complex_2f)

The binding to the catanf function of C language. This function is declared in complex.h.

catanh

static method catanh : Complex_2d ($z : Complex_2d)

The binding to the catanh function of C language. This function is declared in complex.h.

catanhf

static method catanhf : Complex_2f ($z : Complex_2f)

The binding to the catanhf function of C language. This function is declared in complex.h.

cbrtf

static method cbrtf : float ($x : float)

The binding to the cbrtf function of C language. This function is declared in math.h.

ccos

static method ccos : Complex_2d ($z : Complex_2d)

The binding to the ccos function of C language. This function is declared in complex.h.

ccosf

static method ccosf : Complex_2f ($z : Complex_2f)

The binding to the ccosf function of C language. This function is declared in complex.h.

ccosh

static method ccosh : Complex_2d ($z : Complex_2d)

The binding to the ccosh function of C language. This function is declared in complex.h.

ccoshf

static method ccoshf : Complex_2f ($z : Complex_2f)

The binding to the ccoshf function of C language. This function is declared in complex.h.

cdiv

static method cdiv : Complex_2d ($z1 : Complex_2d, $z2 : Complex_2d)

double complex division.

cdivf

static method cdivf : Complex_2f ($z1 : Complex_2f, $z2 : Complex_2f)

float complex division.

cexp

static method cexp : Complex_2d ($z : Complex_2d)

The binding to the cexp function of C language. This function is declared in complex.h.

cexpf

static method cexpf : Complex_2f ($z : Complex_2f)

The binding to the cexpf function of C language. This function is declared in complex.h.

clog

static method clog : Complex_2d ($z : Complex_2d)

The binding to the clog function of C language. This function is declared in complex.h.

clogf

static method clogf : Complex_2f ($z : Complex_2f)

The binding to the clogf function of C language. This function is declared in complex.h.

cmul

static method cmul : Complex_2d ($z1 : Complex_2d, $z2 : Complex_2d)

double complex multiplication.

cmulf

static method cmulf : Complex_2f ($z1 : Complex_2f, $z2 : Complex_2f)

float complex multiplication.

complex

static method complex : Complex_2d ($x : double, $y : double)

Create double complex value. This value is defined in Complex_2d.

complexf

static method complexf : Complex_2f ($x : float, $y : float)

Create float complex value. This value is defined in Complex_2f.

conj

static method conj : Complex_2d ($z : Complex_2d)

The binding to the conj function of C language. This function is declared in complex.h.

conjf

static method conjf : Complex_2f ($z : Complex_2f)

The binding to the conjf function of C language. This function is declared in complex.h.

copysignf

static method copysignf : float ($x1 : float, $x2 : float)

The binding to the copysignf function of C language. This function is declared in math.h.

cpow

static method cpow : Complex_2d ($z1 : Complex_2d, $z2 : Complex_2d)

The binding to the cpow function of C language. This function is declared in complex.h.

cpowf

static method cpowf : Complex_2f ($z1 : Complex_2f, $z2 : Complex_2f)

The binding to the cpowf function of C language. This function is declared in complex.h.

cscamul

static method cscamul : Complex_2d ($c : double, $z : Complex_2d)

double complex scalar multiplication.

cscamulf

static method cscamulf : Complex_2f ($c : float, $z : Complex_2f)

float complex scalar multiplication.

csin

static method csin : Complex_2d ($z : Complex_2d)

The binding to the csin function of C language. This function is declared in complex.h.

csinf

static method csinf : Complex_2f ($z : Complex_2f)

The binding to the csinf function of C language. This function is declared in complex.h.

csinh

static method csinh : Complex_2d ($z : Complex_2d)

The binding to the csinh function of C language. This function is declared in complex.h.

csinhf

static method csinhf : Complex_2f ($z : Complex_2f)

The binding to the csinhf function of C language. This function is declared in complex.h.

csqrt

static method csqrt : Complex_2d ($z : Complex_2d)

The binding to the csqrt function of C language. This function is declared in complex.h.

csqrtf

static method csqrtf : Complex_2f ($z : Complex_2f)

The binding to the csqrtf function of C language. This function is declared in complex.h.

csub

static method csub : Complex_2d ($z1 : Complex_2d, $z2 : Complex_2d)

The binding to the csub function of C language. This function is declared in complex.h.

csubf

static method csubf : Complex_2f ($z1 : Complex_2f, $z2 : Complex_2f)

The binding to the csubf function of C language. This function is declared in complex.h.

ctan

static method ctan : Complex_2d ($z : Complex_2d)

The binding to the ctan function of C language. This function is declared in complex.h.

ctanf

static method ctanf : Complex_2f ($z : Complex_2f)

The binding to the ctanf function of C language. This function is declared in complex.h.

ctanh

static method ctanh : Complex_2d ($z : Complex_2d)

The binding to the ctanh function of C language. This function is declared in complex.h.

ctanhf

static method ctanhf : Complex_2f ($z : Complex_2f)

The binding to the ctanhf function of C language. This function is declared in complex.h.