Alistair Tucker wrote:
> I do wonder if I'm missing a trick with the tacit
> programming... I seem just to be replacing standard
> arguments with (0 {:: ]), (1 {:: ]) etc.
Replacing arguments with functions which produce those
arguments is pretty much the essence of tacit programming.
Conceptually, this lets you map those functions into
different domains, use them with the rank conjunction,
etc. etc.
But I'm not sure whether that kind of thing would
be useful to you here. For example, you could have A
be a matrix, with one row for each different population
size, but the size of P depends on population size,
and thus treating multiple population sizes at the same
time would require boxing the various values for P for
each of these populations.
Anyways, there's nothing wrong with using boxes, as
long as the effort spent packing and unpacking them
doesn't get in your way.
--
Raul
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm