Technically, J's arrays are built on what in C would be rank 1
tensors. You just get have of them (one for dimensions - always type
integer, one for data) under the covers.
Presumably you are suggesting that that would be inefficient in CUDA?
Anyways... I would not worry too much about this issue
Hi Roger,
1. I'm still new to reading J. Is this basically: multiply two degree
N=2^n-1 polynomials p & q.
Brute force = N^2 ops.
Using DFT, we can evalute p(1), p(w), ..., p(w^(N-1)) in O(N log N) [***]
Thus, we get p(w^i)*q(w^i) for 0 <= i <= N in O(N log N)
Using one more O(N log N
The current presentation reflects the structure of the rank conjunction.
Basically, any presentation can be mis-interpreted, and requires a
certain amount of effort to appreciate.
Also, keep in mind that the dictionary entry for |. covers not only
Rotate, but Reverse.
Also, keep in mind that the
I imagine that this topic is of low priority to practically every J
programmer who has a mastery of the language and because they are so used
to the present notation of rank in, say, NuVoc.
For example, why is the brief definition of >. displayed as
Larger of
0 Ceiling •
Poking around
coclass 'jviewmat'
names''
Maybe changing DEFWH would be more appropriate. (untested)
On 12/31/2017 1:32 PM, Cliff Reiter wrote:
This may not be a good choice as I don't understand all the
consequences and hesitate to change values in addons authored by
others, but you might
This may not be a good choice as I don't understand all the consequences
and hesitate to change values in addons authored by others, but you
might try:
MINWH_jviewmat_=:1000 1000
or a variant suited to your device and data.
On 12/31/2017 12:17 PM, Dabrowski, Andrew John wrote:
I'm looking at
I'm looking at
http://www.jsoftware.com/docs/help602/user/script_viewmat.htm
and I don't see any way to set the image dimensions. I've got a matrix that's
about 3000x3000 and viewmat displays it as a 324x360 image, which is not at all
adequate.
-
What's "normal" and what's an "error"? (Or, for that matter, a "crash"?)
When looking for the best solution to a coding problem, we can be prisoners
of our emotive use of language. Way back in IBM in the 1980s I recall the
end-user of a bespoke app written in APL picking up the phone in fury when
Obviously nobody would ever enter
if. 0 > _.
them self. I guess if primitives never produce _. then we need not worry about
it; but in the very slight off-chance that a bug lets one slip through,
wouldn’t it be safer if an error is thrown?
Anyhow, this topic’s problem is solved; gotta stay up to