Thanks for your work below. How about a verb NP such that NP au is the appropriate left argument for p. ? At your option it could be a dyadic verb with a NP u the appropriate left argument for p. Either would serve my needs admirably. ( a and u are rows 0 and 1 of au )
Raul Miller wrote: > I think you are asking for this: > > Np=:adverb define > 'coef valu'=:m > [:+/ coef * (>:/~i.#valu) */@:^~"1 (1:,-&(}:valu)) > ) > > au=: 0 1 4 1,:0 1 3 6 > > au Np"0 i. 5 > 0 1 8 27 64 > > That said, I think I would prefer to transform the > argument so I could use p. in my derived verb. > ---------------------------------------------------------------------- For information about J forums see http://www.jsoftware.com/forums.htm
