Math_ComplexOp::add

Math_ComplexOp::add() – ふたつの複素数の和を返す: 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

成功した場合に Math_Complex 数値、それ以外の場合に PEAR_Error を返します。

Throws

No exceptions thrown.

Note

This function can be called statically.