On 10/9/07, Jacobs, Jan <[EMAIL PROTECTED]> wrote:
> mu=:(/:~.,g){(,g)mean/.,gamma
>
> Is there a nice tacit solution for these means (mu)?

I think you are asking for a tacit version of your expression for
mu, where g and gamma are parameters.

Here's one way of getting there:
   13 :'(/:~.,x){(,x)mean/.,y'
([: /: [: ~. [: , [) { ([: , [) mean/. [: , ]

To get this result to display this way, you need to have your J
session to show you verbs in linear form.

The Edit->Configure... menu option will get you there.

That said, not that this expression uses several [: operations.
Sometimes tacit expressions make more sense using @: or @
instead of [:

For example, in this case, you can eliminate some parentheses:
   /:@~.@,@[ { ,@[ mean/. ,@]

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

Reply via email to