Negate

Description

Negate a Scalar<Event>

-Number|Event

-Scalar<Number|Event> : Scalar<Number>
-Vector<Number|Event> : Vector<Number>
-GroupedScalar<Number|Event> : GroupedScalar<Number>
-GroupedVector<Number|Event> : GroupedVector<Number>

An argument of type Scalar<Event> prefixed by a - negates the value of the Event.

If it is a Vector, GroupedScalar or GroupedVector, then the operation is performed on each value, and results in another Vector, GroupedScalar or GroupedVector.

Examples

Calculating 3 divided by 2 results in 1.5

-3

Last updated

© 2023 MOOST AG