N,:M
9 8 7 6 5 4 3 2 1 0
9 8 7 6 5 4 3 2 1 0
6{.N(*|.)&.>&(<\)M
+--+-----+--------+-----------+--------------+-----------------+
|81|72 72|63 64 63|54 56 56 54|45 48 49 48 45|36 40 42 42 40 36|
+--+-----+--------+-----------+--------------+-----------------+
R.E. Boss
-----Oorspronkelijk bericht-----
Van: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Namens Steven Taylor
Verzonden: dinsdag 21 oktober 2008 14:48
Aan: [email protected]
Onderwerp: [Jprogramming] Re: How to Infix scan two arrays,and let one be
reversed mid-operation?
Ken & Boss,
Nice solutions.
Is it possible to make Boss' version dyadic? I've got a list of
coefficients to apply.
6{. <@(*|.)\|.i.10 NB. It looks like there is a fork being used.
Part of my original version looked a little like this:
+/ \ (|. coef) * M
Thanks,
-Steven
Internal Virus Database is out-of-date.
Checked by AVG.
Version: 7.5.526 / Virus Database: 270.8.0/1722 - Release Date: 13/10/2008
07:50
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm