Moodle PHP Documentation 5.1
Moodle 5.1dev (Build: 20250620) (7d9030acd6e)
Complex\Operations Class Reference

Static Public Member Functions

static add (... $complexValues)
 
static divideby (... $complexValues)
 Divides two or more complex numbers.
 
static divideinto (... $complexValues)
 Divides two or more complex numbers.
 
static multiply (... $complexValues)
 Multiplies two or more complex numbers.
 
static subtract (... $complexValues)
 Subtracts two or more complex numbers.
 

Member Function Documentation

◆ divideby()

static Complex\Operations::divideby ( ...)
static

Divides two or more complex numbers.

Parameters
arrayof string|integer|float|Complex $complexValues The numbers to divide
Return values
Complex

◆ divideinto()

static Complex\Operations::divideinto ( ...)
static

Divides two or more complex numbers.

Parameters
arrayof string|integer|float|Complex $complexValues The numbers to divide
Return values
Complex

◆ multiply()

static Complex\Operations::multiply ( ...)
static

Multiplies two or more complex numbers.

Parameters
arrayof string|integer|float|Complex $complexValues The numbers to multiply
Return values
Complex

◆ subtract()

static Complex\Operations::subtract ( ...)
static

Subtracts two or more complex numbers.

Parameters
arrayof string|integer|float|Complex $complexValues The numbers to subtract
Return values
Complex

The documentation for this class was generated from the following file: