- Introduction
- Platform
- Tutorial
- Language reference
- Verbs
- Iterators
- Queries
- Dynamic parsers
- Language idioms
- Standard library
- Plugins
- For Python developers
- For KDB+ developers
- Application examples
- FAQ
Dyadic | (or/max)
Applies boolean "or" for bool arguments. Fully atomic.
Syntax: <x> | <y>
; <x> or <y>
; |[<x>; <y>]
; or[<x>; <y>]
o)1b|010b
111b
o)(1>2)|2<1
0b
o)a:1010b
1010b
o)a|~a
1111b
o)
For number vectors, it results in calculating "max".
o)1 2 3|0
1 2 3
o)1 2 3|3 2 1
3 2 3
o)