0

As the title says: I have a function where the order of parameters does not matter. An example would be ADD: ADD(1,2) and ADD(2,1) can be used interchangeably, the order of parameters does not matter. DIVIDE does not carry this property.

What is the property's name?

Janothan
  • 137

2 Answers2

2

In mathematics, it is called "symmetry". See Function of several real variables - Symmetry (Wikipedia)

For an operation, rather than a function, "commutative" would be more usual. (Thanks Noah)

If you are thinking of computing languages, which your syntax suggests, then a different term might be preferred but this is not the place to ask about that.

badjohn
  • 8,204
0

This is the commutative property.

Noah Schweber
  • 245,398