- 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 & (and/min)
Applies boolean "and" for bool arguments. Fully atomic.
Syntax: <x> & <y>
; <x> and <y>
; &[<x>; <y>]
; and[<x>; <y>]
o)10b&1b
10b
o)a:1010b
1010b
o)a&~a
0000b
o)
For number vectors, it results in calculating "min".
o)1 2 3&0 2 1
0 2 1
o)0&(-2 + til 5)
-2 -1 0 0 0
o)