On Sat, Oct 27, 2012 at 6:09 PM, Richard Vaughan <rlvaug...@comcast.net> wrote:
> I just used a single coefficient as an example.  It was the dyadic case
> (i.e. evaluated at x) that puzzled me; it didn't seem to be working as
> advertised.

Oh, yes... you are correct.

It's pretty easy to see that the listed definition does not match the
implementation.

Here's an implementation that matches the dyadic definition:

dytay=: (1 :0) ("0)
:
  (x^y) * u t. y
)

   0 1 2 ^dytay/ 0 1 2
1 0   0
1 1 0.5
1 2   2

   0 1 2 ^t./ 0 1 2
1 1   1
_ 1 0.5
_ _   1

That said, I am not seeing why this definition is useful.

Am I missing an important concept?

-- 
Raul
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm

Reply via email to