Reference/SlashColon

From Kx Wiki
Revision as of 09:12, 10 August 2017 by Stephen Taylor (Talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Contents

/: (each right)

301 Permanent move

This article is now at code.kx.com/q/ref/adverbs/#each-right

Please update your bookmark. The old wiki will remain here for a while. If you prefer it to the new format, please tell the Librarian why.

Apply the diadic function f between x and each of the elements of y in turn

Syntax

x f/: y

f is a diadic function, x is an atom or list, y is a list

Example

1,/:til 5
(1 0;1 1;1 2;1 3;1 4)
5 {x*y}/:3 5 4 1 2
15 25 20 5 10

See also

Personal tools
Namespaces
Variants
Actions
Navigation
Print/export
Toolbox