>> << Ndx Usr Pri Phr Dic Rel Voc !: wd Help Dictionary

Constant Functions | _9: to 9: _ _ _

The results are`_9` and`_8` and`_7` and so on to`9` .

For example:

       x=: 1 2 3 [ y=: 4 5 6
       2: y
    2

       x 9: y
    9

The rank conjunction`"` applies to any noun to make a constant function of specified rank. The particular constant functions illustrated above are therefore special cases of the form`i"_` .`` For example:

       2"_ y
    2

       2"0 y
    2 2 2

       2"1 i. 2 3 4
    2 2 2
    2 2 2

       2p1"0 y
    6.28319 6.28319 6.28319

       1p1 1p_1 1x1"0 y           A constant function with a vector result
    3.14159 0.3183099 2.71828
    3.14159 0.3183099 2.71828
    3.14159 0.3183099 2.71828

       0 0 0"1 y                  The zero vector in a space of three dimensions
    0 0 0

       a=:'abcdefghijklmnopqrstuvwxyz'"_
       A=:'ABCDEFGHIJKLMNOPQRSTUVWXYZ'"_
       s=: ' '"_

       f=: { a
       f 5 8 6
    fig

       g=: { a,:A
       g 1 5;0 8;0 6
    Fig

>> << Ndx Usr Pri Phr Dic Rel Voc !: wd Help Dictionary