Engee documentation

Bias

Page in progress.

Adds an offset to the input signal.

blockType: Bias

Path in the library:

/Basic/Math Operations/Bias

Description

Block Bias adds an offset (deviation) to the input signal according to the formula:

where

  • — block entrance;

  • — parameter value Bias;

  • — block output.

Ports

Input

# IN_1 — input signal
scalar | vector

Details

An input signal to which an offset is added.

Data types

Float16, Float32, Float64, Int8, Int16, Int32, Int64, UInt8, UInt16, UInt32, UInt64, Bool.

Complex numbers support

No

Output

# OUT_1 — output signal
scalar | vector

Details

An output signal obtained by adding an offset to an input signal.

Data types

Float64.

Complex numbers support

No

Parameters

Parameters

# Bias — offset to add to the input signal
Scalar / array of real and/or complex numbers

Details

The offset value.

Default value

0.0

Program usage name

Bias

Tunable

Yes

Evaluatable

Yes

# Saturate on integer overflow — method of action in case of overflow
Logical

Details

When this check box is selected, the value that goes beyond the type limits is reset to the maximum or minimum value that the selected data type can represent. Otherwise, overflow transfer occurs.

When this option is selected, saturation is applied to all internal operations in the block, not just to the output or result.

Default value

false (switched off)

Program usage name

SaturateOnIntegerOverflow

Tunable

No

Evaluatable

No

Additional options

C code generation: Yes