Next: , Previous: Ranges, Up: Numeric Data Types


4.3 Logical Values

— Built-in Function: true (x)
— Built-in Function: true (n, m)
— Built-in Function: true (n, m, k, ...)

Return a matrix or N-dimensional array whose elements are all logical 1. The arguments are handled the same as the arguments for eye.

— Built-in Function: false (x)
— Built-in Function: false (n, m)
— Built-in Function: false (n, m, k, ...)

Return a matrix or N-dimensional array whose elements are all logical 0. The arguments are handled the same as the arguments for eye.