What is the proper way to call a function on each item of the vector?/
create table, one col has strings with spacesq)t:([]s:`a`b;(n:`$"dd
ee";`$"f g h"))/ function to vector-from-scalar by spacesq)f:{first "
"vs x}q)f "dd ee" "dd"/ select q) select ...
What is the correct way to create tables with date
types?q)tt:([]d:`2019.05.26`2019.05.25`2019.04.01; j:1 2 3)q)ttd
j------------2019.05.26 12019.05.25 22019.04.01 3q)meta ttc| t f a-|
-----d| s j| j q)tt:([]d:"D"$"2019.05.26" "D"$"2019.05.25"
"D"$"2...
1. Is there a better way to represent the graph as a Q object? (see
picture below)q)bgn:`1`2`3`3`4`5q)end:`3`4`4`5`6`6q)distance:1 1 1 1 1
1q)flip `src`dst`dist!(bgn;end;distance)src dst dist------------1 3 1 2
4 1 3 4 1 3 5 1 4 6 1 5 6 1 2. what is ...
Ross & Terry,if table t is assigned in a function I assume dot notation
should work in that function! foo2 results in an error and foo3, though
very similar, does not result in an errorIs there a page in the
documentation that discusses dot vs. tick ...