[Jprogramming] Tacit vs. Explicit
Linda Alvord
lindaalvord at verizon.net
Fri Oct 7 22:45:59 HKT 2011
Don't you really have to know what fits in the problem the poser is trying to solve before you can provide a solution?
-----Original Message-----
From: programming-bounces at jsoftware.com [mailto:programming-bounces at jsoftware.com] On Behalf Of Björn Helgason
Sent: Friday, October 07, 2011 8:35 AM
To: Programming forum
Subject: Re: [Jprogramming] Tacit vs. Explicit
mean=: 13 : '(+/y) % #y'
mean
+/ % #
I guess what we want is this:
meanexp=: 23 : mean
meanexp
3 : 0
a=. +/ y
b=. # y
a % b
)
2011/10/7 Brian Schott <schott.brian at gmail.com>
> Do you mean such as this?
>
> mean=: 13 : '(+/y) % #y'
> mean
> +/ % #
>
>
> 2011/10/7 Linda Alvord <lindaalvord at verizon.net>:
> > Is there a way to go from a tacit expression to find the correct explicit
> > expression?
> >
> > a =: 13 :'((+/ % #) * 1 + #) - +/'
> --
> (B=)
> ----------------------------------------------------------------------
> For information about J forums see http://www.jsoftware.com/forums.htm
>
--
Björn Helgason, Verkfræðingur
Fornustekkum II
781 Hornafirði,
t-póst: gosinn at gmail.com
gsm: +3546985532
twitter: @flugfiskur
http://groups.google.com/group/J-Programming
Tæknikunnátta höndlar hið flókna, sköpunargáfa er meistari einfaldleikans
góður kennari getur stigið á tær án þess að glansinn fari af skónum
/|_ .-----------------------------------.
,' .\ / | Með léttri lund verður |
,--' _,' | Dagurinn í dag |
/ / | Enn betri en gærdagurinn |
( -. | `-----------------------------------'
| ) | (\_ _/)
(`-. '--.) (='.'=) ♖♘♗♕♔♙
`. )----' (")_(") ☃☠
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm
More information about the Programming
mailing list