Another strange question, this time to do with extended precision numbers.
Have you ever wanted good performance out of a large array of
extended-precision integers (or, for that matter, rationals), where most of
the integers involved would not have fit in a machine integer (magnitude
approx.
It looks like you are trying to use the inverted Table format but with a
header row.
load 'tables/dsv general/misc/inverted'
({. ,: ifa@:}.) ',' readdsv 'test.csv'
┌──┬──┬──┐
│deptno│dname │location │
├──┼──┼──┤
│10│Accounting│"New York"│
│20
Yet, as I recall, some change in behavior was introduced rather recently,
NB. Fresh sessions...
9!:14''
j902/j64/windows/beta-l/commercial/www.jsoftware.com/2020-11-05T15:47:37/clang-9-0-0/SLEEF=1
x&y
x&y
9!:14''
j903/j64/windows/release-a/commercial/www.jsoftware.com/2021-12-16T1
Had a look at the 1st quadrant (0 .. 1r2p1 rad).
Worked with a vector "sweep" (origin to perimeter) for these graphs:
- unit circle
- square circumscribed unit circle
- quadric plane function x^4 + y^4= 1 ('real squircle')
- 'fake squircle'
The 'fake squircle' was constructed by tak
On Tue, Aug 16, 2022 at 11:24 PM 'Rob Hodgkinson' via Programming
wrote:
> But I noticed that since this is to the 4th power, why do you invoke +&| ?
Hmm...
Well, had I simplified that expression from some code I had written
previously where the power was an argument (and often fractional).
And,
({.,:,each/@:(,:each)@}.) ',' readdsv 'dept.csv'
┌──┬──┬──┐
│deptno│dname │location │
├──┼──┼──┤
│10│Accounting│"New York"│
│20│Research │Dallas│
│30│Sales │Chicago │
│40│Operations│Boston│
└──┴──┴──┘
Dear J enthusiasts,
Let's say I have the following csv file
$ cat dept.csv
deptno,dname,location
10,Accounting,"New York"
20,Research,Dallas
30,Sales,Chicago
40,Operations,Boston
Now I read it using dsv addon:
load 'tables/dsv'
readdsv jpath './dept.csv'
┌──┐
│deptno,dna