signal/logic

Logic functions for signal processing

Source:

Methods

(static) and(a, b) → {Signal}

Returns 1 if both signals are not 0

Parameters:
Name Type Description
a Signal | Number

input signal

b Signal | Number

input signal

Source:
Returns:
Type
Signal

(static) or(a, b) → {Signal}

Returns 0 if both signals are 0, 1 otherwise

Parameters:
Name Type Description
a Signal | Number

input signal

b Signal | Number

input signal

Source:
Returns:
Type
Signal