Skip to content
code.kx.com V2
or
Type to start searching
Home
Learn
Reference
Interfaces
Cloud
Machine learning
Knowledge Base
White papers
About
code.kx.com V2
Home
Support
GitHub
Wiki
Learn
Learn
Get started
Q for Mortals 3
Remarks on Style
Remarks on Style
Introduction
Maxims
Names
Default arguments
Braces
Indentation
Whitespace
Parentheses
Line length
Internal assignment
Function length
Function arguments
Modularity
Communication lines
Comments
Conditionals
De-looping
Engine design
Compose out eaches
Application
Defaults
Projection
Which each?
What’s in a script?
SAM – A simple application model
New wine for old bottles
Omitted pages
Reference
Reference
Reference card
Basics
Basics
Application
Atomic functions
Casting & encoding
Comparison
Conformability
Control
Debugging
Dictionaries & tables
Enumerations
Environment
Exposed infrastructure
Function notation
Functional SQL
Internal functions
Iteration
IPC protocol
Joins
Logic
Mathematics
Metadata
Namespaces
Parallel processing
Parse trees
Precision
QSQL
Search
Selection
Sorting
Strings
Syntax
Variadic syntax
Command line
Datatypes
Errors
Iterators
Iterators
Overview
Maps
Accumulators
File system
Glossary
Keywords
Keywords
abs
aj, aj0, ajf, ajf0
all, any
and
asc, iasc, xasc
asof
attr
avg, avgs, mavg, wavg
bin, binr
ceiling
count, mcount
cols, xcol, xcols
cor
cos, acos
cov, scov
cross
csv
cut
delete
deltas
desc, idesc, xdesc
dev, mdev, sdev
differ
distinct
div
dsave
ej
ema
enlist
eval, reval
except
exec
exp, xexp
exit
fby
fills
first, last
fkeys
flip
floor
get, set
getenv, setenv
group
gtime, ltime
hcount, hdel, hopen, hclose, hsym
ij, ijf
in
insert
inter
inv
key
keys, xkey
like
lj, ljf
load, rload
log, xlog
lower
lsq
max, maxs, mmax
md5
med
meta
min, mins, mmin
mmu
mod
neg
next, prev, xprev
not
`null`
or
parse
pj
prd, prds
rand
rank
ratios
raze
read0
read1
reciprocal
reverse
rotate
save, rsave
select
show
signum
sin, asin
sqrt
ss, ssr
string
sublist
sum, sums, msum, wsum
sv
system
tables
tan, atan
til
trim, ltrim, rtrim
type
uj, ujf
union
ungroup
update
upsert
value
var, svar
view, views
vs
where
within
wj, wj1
xbar
xgroup
xrank
Operators
Operators
Overloaded glyphs
Add
Amend
Apply, Index, Trap
Cast
Coalesce
Compose
Cond
Cut
Deal, Roll, Permute
Delete
Display
Dict
Divide
Display
Dynamic Load
Drop
Enkey, Unkey
Enumerate
Enumeration
Enum-extend
Equal
Exec
File Binary
File Text
Fill
Find
Flip Splayed
Greater
Greater Than
Identity, Null
Join
Less Than
Lesser
Match
Matrix Multiply
Multiply
Not Equal
Pad
Select
Set Attribute
Simple Exec
Signal
Subtract
Take
Tok
Update
Vector Conditional
Namespaces
Namespaces
.h
.j
.Q
.z
Release notes
Release notes
Changes in 3.6
Changes in 3.5
Changes in 3.4
Changes in 3.3
Changes in 3.2
Changes in 3.1
Changes in 3.0
Changes in 2.8
Changes in 2.7
Changes in 2.6
Changes in 2.5
Changes in 2.4
Withdrawn
System commands
Interfaces
Interfaces
Index
Fusion for kdb+
Fusion for kdb+
Introduction
FFI
Java
Jupyter
Kafka
Python (embedPy)
Python (PyQ)
Python (PyQ)
Quick start
Installation
User guide
Reference
What’s new
Version history
R
From
From
C
C API reference
C#
Excel
J
JDBC
Matlab
ODBC
ODBC3
Perl
Scala
To
To
Bloomberg
C/C++ functions
GPUs
J
ODBC
Cloud
Cloud
Amazon EC2
Amazon EC2
Migrating a kdb+ HDB to Amazon EC2
A. Elastic Block Store (EBS)
B. EFS (NFS)
C. Amazon Storage Gateway
D. MapR-FS
E. Goofys
F. S3FS
G. S3QL
H. ObjectiveFS
I. WekaIO Matrix
J. Quobyte
Google CPM
Machine learning
Machine learning
Introduction
Set up
Demonstration notebooks
Toolkit
Toolkit
Overview
Utilities
FRESH
Natural language processing
embedPy
embedPy
User guide
FAQ
Reference
JupyterQ
Knowledge Base
Knowledge Base
Introduction
Alternative in-memory layouts
Authentication and access
Bulk Copy Program
Callbacks
Chained tickerplant
Client-server
Compacting HDB sym
Corporate actions
CPU affinity
Custom web server
Daemon
Deferred response
FAQ
FAQ from k4 listbox
File compression
Firewalling
Geospatial indexing
inetd, xinetd
Interprocess communication
Kdb+tick configuration
Linear programming
Linking columns
Linux production notes
Load balancing
Loading from large files
Logging
Multithreaded input
Named pipes
ODBC
Partitioning
Performance tips
Pivoting tables
Programming examples
Programming idioms
Publish and subscribe
Regular expressions
Server calling client
Splayed schema change
Splayed tables
Splaying large files
SSL/TLS
Temporal data
Timezones
Unicode
Unit tests
Using .z
Write-only RDB
WebSockets
Windows Service
White papers
White papers
Index
Bitcoin blockchains
C# GUIs
Data visualization
Disaster recovery
EmbedPy and LASSO
Exoplanets
Iterators
Java API
Market fragmentation
Multi partitions
Neural networks
Query Routing
Signal processing and q
Space weather
WebSockets
About
About
Kx technology
Search
Site news
This site
Style guide
Style guide
Introduction
Characters
Miscellaneous
Style
Typography
Terminology
License agreements
License agreements
AWS
GCP
or
¶
Greater of two values, logical OR
Greater