🔍
Dyadic * (multiplication)
Multiplies scalar/vector elements. Fully atomic.
Syntax: <x> * <y>
; *[<x>; <y>]
o)2*2
4
o)2*1 2 3
2 4 6
o)1 2 3*2
2 4 6
o)1 2 3f * 1.1
1.1 2.2 3.3000000000000003
o)1 2 3*4 5 6
4 10 18
o)1 2 3*4 5 6 7
** eval error: `*`:
arguments length mismatch: [1 2 3;4 5 6 7]
Whеre x
is a dictionary and y
is a numeric vаlue, the numeric vаlues of x
are multiplied by y
:
o)`a`b`c!5 10 20f*1.1
a| 5.5
b| 11
c| 22
o)