Welcome to our Support Center

Sign

Description

Returns the sign of input.

 

Input parameters

 

Β x : class, n-dimensional tensor.

Output parameters

 

sign : class,Β returns 1 if the input value is greater than 0, returns 0 if the input value is equal to 0, and returns –1 if the input value is less than 0.

Example

All these exemples are snippets PNG, you can drop these Snippet onto the block diagram and get the depicted code added to your VI (Do not forget to install PERRINE library to run it).

Table of Contents
Index