Index

iCommutativeOperator

MMO\math\interfaces · 1 symbol · generated 30 Sep 2026

interface

iCommutativeOperator

iOperator.php:29

Describe any operator that can change the order of its arguments : a [operator] b --commute--> b [operator] a

interface MMO\math\interfaces\iCommutativeOperator extends MMO\math\interfaces\iOperator
Namespace
MMO\math\interfaces
Implements
iOperator
a + b -> b + aa / b -> 1/b * a

Methods1

Inherited members (4)
MethodsDeclared byDescription
priority()iOperatorGet the priority of the operator.
toNumber($args)iOperator
units($args)iOperator
__invoke($args)iOperator