Yes.
And I imagine it will be discussed again, when it comes up again.
Would it be better if we had a different forum, for this kind of discussion?
Thanks,
--
Raul
On Fri, Nov 14, 2014 at 6:33 PM, Jose Mario Quintana
wrote:
> This subject has been discussed many times in the forum; see, for
On Fri, Nov 14, 2014 at 6:27 PM, Jose Mario Quintana
wrote:
> Fantastically (or horridly, depending on one's point of view), the verb
> (104!:8) can effortlessly make assignments that were never envisioned,
>
>
>('v0 a1 c2 N3' k (< o (?: <'wl') ;. _1)) '`^&-:`@:>`^:`0 1 2'
?:
|spelling er
that is a cool function. Similar to Raul's
for those who had problems copying it:
applyintree =: 2 : 0
if. #n do. ((u applyintree (}.n)) L:_1 ({.n){y) ({.n)} y else. u y end.
:
NB. The rank is s,0 where s is the surplus of x-rank over y-rank. This causes
NB. the cells of y to be matched up w
This subject has been discussed many times in the forum; see, for example,
http://www.jsoftware.com/pipermail/programming/2013-August/033228.html
By the way, I am still wondering about the answer to my question in that
message.
-
In a related message,
http://www.jsoftware.com/pipermail/beta/2014-November/007756.html
Dan wrote:
> This question came up a few months ago; please read through
> http://www.jsoftware.com/pipermail/programming/2014-June/037704.html
His message is reproduced below with my interjections (and in
here is a typical way to get the bin count
(~. ,: #/.~) 5 10 20 # 100 200 300
100 200 300
5 10 20
you can obtain a "stretch factor" with e.
5 10 20 e.~ 5 * i.5
0 1 1 0 1
then apply the stretch factor with # inv
100 200 300 # inv~ 5 10 20 e.~ 5 * i.5
0 100 200 0 300
all together:
(5
That's much better, thanks.
On Fri, Nov 14, 2014 at 6:04 AM, Joe Bogner wrote:
> I would probably do this:
>
> (ys,0) {~ xs i. xGrid
>
> 0 100 200 0 300
>
>
> On Thu, Nov 13, 2014 at 11:08 AM, Johann Hibschman
> wrote:
>
>> I'm trying to figure out how best to project some values (think counts
>
I would probably do this:
(ys,0) {~ xs i. xGrid
0 100 200 0 300
On Thu, Nov 13, 2014 at 11:08 AM, Johann Hibschman
wrote:
> I'm trying to figure out how best to project some values (think counts
> for particular bins) onto a fixed grid of bins (think each bin in
> order).
>
> For example, thi