Aha, Chris, that's just the thing I was after!
Thank you so much.
On Mon, 28 Oct 2019, 18:53 chris burke, wrote:
> In case this helps, the layout calculations are at
> https://code.jsoftware.com/wiki/Plot/Layout .
>
> For example:
>
>load'plot'
>plot i.5
>Gxywh_jwplot_
> 26 34 434 3
Good point Raul/Ari(RE). allsubsets is a true “brute force” set generation,
but as and as2 target the consecutive runs as per Quora.
> On 29 Oct 2019, at 6:46 am, Raul Miller wrote:
>
> Then again, since the quora problem asked for squares of consecutive
> integers, your choosing the smaller
Rather than "assigning " indices, use the actual node positions and what
is done to make a suntraction (or other) table, which is the same proplem.
In the case of all nodes being on a line at positions 0 1.5 2 2.5 3 the
matrix would be given by
dij=: |@ -/~ 0 1.5 2 2.5 3
0 1.5 2 2.5 3
1.5
Then again, since the quora problem asked for squares of consecutive
integers, your choosing the smaller set of values was the right
choice.
The current issue seems to be about naming.
"All sets" suggests the larger intermediate value.
"All prefixes of suffixes" is valid, but maybe too specific?
Notice the difference:
#L:_1(allsubsets;as;<@as2)'abcdef'
+--+--+--+
|64|21|21|
+--+--+--+
(as) and (as2) give only the (2!n+1) consecutive subsets, not all (2^n) subsets.
R.E. Boss
> -Oorspronkelijk bericht-
> Van: Programming
> Namens 'Rob Hodgkinson' via Programming
> Verzonde
In case this helps, the layout calculations are at
https://code.jsoftware.com/wiki/Plot/Layout .
For example:
load'plot'
plot i.5
Gxywh_jwplot_
26 34 434 301
On Sun, Oct 27, 2019 at 8:01 PM Arnab Chakraborty wrote:
> Yes, Boss, that is a good idea. However, I am trying to plot the
> p
The list software here filters out attachments.
FYI,
--
Raul
On Saturday, October 26, 2019, Arnab Chakraborty wrote:
> No, aspect 1 merely produces a plot that is a square, but the plotted
> region may not be a square. See the attachment.
>
> On Sat, 26 Oct 2019, 19:19 Michael Dykman, wrote: