uminus

Unary minus, - operator

Syntax

  • C = uminus(A)

  • C = -A

Input argument

  • A - a variable

Output argument

  • C - result of -A

Description

C = uminus(A) performs unary minus ie -A.

Example

M = 3;
-M

See also

uplus, minus.

History

VersionDescription

1.0.0

initial version

Author

Allan CORNET

Last updated