ECF 1.5
Static Public Member Functions | List of all members
algebra::ComplexHelper Class Reference

Static Public Member Functions

static Complex one ()
 
static Complex zero ()
 
static void sq (Complex &v)
 
static Complex construct (double theta)
 
static Complex power (Complex &base, int e)
 
static Complex add (Complex &a, Complex &b)
 
static Complex subtract (Complex &a, Complex &b)
 
static Complex mult (Complex &a, Complex &b)
 
static Complex invert (Complex &a)
 

Detailed Description

Definition at line 30 of file Algebra.h.

Member Function Documentation

◆ add()

static Complex algebra::ComplexHelper::add ( Complex &  a,
Complex &  b 
)
inlinestatic

Definition at line 67 of file Algebra.h.

◆ construct()

static Complex algebra::ComplexHelper::construct ( double  theta)
inlinestatic

Definition at line 41 of file Algebra.h.

◆ invert()

static Complex algebra::ComplexHelper::invert ( Complex &  a)
inlinestatic

Definition at line 81 of file Algebra.h.

◆ mult()

static Complex algebra::ComplexHelper::mult ( Complex &  a,
Complex &  b 
)
inlinestatic

Definition at line 76 of file Algebra.h.

◆ one()

static Complex algebra::ComplexHelper::one ( )
inlinestatic

Definition at line 33 of file Algebra.h.

◆ power()

static Complex algebra::ComplexHelper::power ( Complex &  base,
int  e 
)
inlinestatic

Definition at line 47 of file Algebra.h.

◆ sq()

static void algebra::ComplexHelper::sq ( Complex &  v)
inlinestatic

Definition at line 36 of file Algebra.h.

◆ subtract()

static Complex algebra::ComplexHelper::subtract ( Complex &  a,
Complex &  b 
)
inlinestatic

Definition at line 71 of file Algebra.h.

◆ zero()

static Complex algebra::ComplexHelper::zero ( )
inlinestatic

Definition at line 34 of file Algebra.h.


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