For Routine to Map Routine
- To: mathgroup at smc.vnet.net
- Subject: [mg70400] For Routine to Map Routine
- From: Benedetto Bongiorno <bbongiorno at attglobal.net>
- Date: Sun, 15 Oct 2006 00:19:53 -0400 (EDT)
Dimensions of ans01 is 2185850 by 5.
I am looking to convert my For routine to the more efficient Map routine
For[i=1, i<n, i++,
If[ans01[[i,1]] == ans01[[i+1,1]],
Map[If[#[] == #[],#]&,ans01];
But it does not work.
Prev by Date:
a fault in the Factor function for polynomials?
Next by Date:
Re: how to sum lists of unequal length?
Previous by thread:
Re: a fault in the Factor function for polynomials?
Next by thread:
Re: For Routine to Map Routine