Documentation Home Page HYPERSIM Home Page
Pour la documentation en FRANÇAIS, utilisez l'outil de traduction de votre navigateur Chrome, Edge ou Safari. Voir un exemple.

Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Next »

SIGN – [SIGN]
Outputs the sign of the input.


CATEGORY
Mathematical

DESCRIPTION
Outputs the sign of the input. Outputs 1 when input is greater than 0, -1 when input is less than 0, and 0 when input is 0.


RESULT VARIABLES AND PARAMETERS

ResultSign of input [-1, 0, 1].
SignalInput


SYNTAX

res=sign(input)


CHARACTERISTICS
Data type support
Double Floating point

EXAMPLE

  • No labels