|
math-php
|
Interface: ObjectArithmetic Defines the necessary arithmetic function object need to support to perfom mathematical function on the object. More...

Public Member Functions | |
| add ($object_or_scalar) | |
| Function: add Add two objects together. More... | |
| subtract ($object_or_scalar) | |
| multiply ($object_or_scalar) | |
Interface: ObjectArithmetic Defines the necessary arithmetic function object need to support to perfom mathematical function on the object.
| MathPHP\Number\ObjectArithmetic::add | ( | $object_or_scalar | ) |
Function: add Add two objects together.
| mixed | $object_or_scalar | the value to be added |
Implemented in MathPHP\Functions\Polynomial, MathPHP\Number\Complex, and MathPHP\Number\Rational.
1.8.13