Math_ComplexOp::add()

Math_ComplexOp::add()  -- Returns the sum of two complex numbers: z = c1 + c2

Synopsis

require_once '/ComplexOp.php';

Math_Complex |PEAR_Error & Math_ComplexOp::add (Math_Complex &$c1, Math_Complex &$c2)

Description

This package is not documented yet.

Parameter

Math_Complex &$c1

Math_Complex &$c2

Return value

returns A valid Math_Complex number on success, PEAR_Error otherwise

Throws

No exceptions thrown.

Note

This function can be called statically.