Download Help (Windows Only) |
Owning Class: boolean
Requires: MathScript RT Module
c = or(a, b)
Determines whether at least one of the corresponding elements in the input matrices is non-zero. or(a, b) is equivalent to a|b.
Name | Description |
---|---|
a | Specifies a scalar, vector, or matrix of Boolean values. |
b | Specifies a scalar, vector, or matrix of Boolean values. b must be the same size as a. |
Name | Description |
---|---|
c | Returns Boolean values, where an element in c is 1 if at least one of the corresponding elements in a and b is non-zero. Otherwise, the element is 0. c is a scalar, vector, or matrix of the same size as a. |
The following table lists the support characteristics of this function.
Supported in the LabVIEW Run-Time Engine | Yes |
Supported on RT targets | Yes |
Suitable for bounded execution times on RT | Not characterized |
A = [1, 0]
B = [1, 1]
C = or(A, B)