Reference/prior

From Kx Wiki
Revision as of 10:44, 3 May 2011 by Attila Vrabecz (Talk)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

prior (prior function)

Apply the function f between each item of y and its predecessor.

Since 2.7 2011.03.07

Syntax

  f prior y

Examples

q)(-)prior 2 3 4 / e.g. same as deltas 2 3 4
2 1 1
Personal tools
Namespaces
Variants
Actions
Navigation
Print/export
Toolbox