pattern matching
- To: mathgroup at smc.vnet.net
- Subject: [mg128300] pattern matching
- From: Daniel Sanders <dnlsnd777 at gmail.com>
- Date: Fri, 5 Oct 2012 02:52:07 -0400 (EDT)
- Delivered-to: l-mathgroup@mail-archive0.wolfram.com
- Delivered-to: l-mathgroup@wolfram.com
- Delivered-to: mathgroup-newout@smc.vnet.net
- Delivered-to: mathgroup-newsend@smc.vnet.net
Consider the following code: Count[Table[ Count[Table[RandomInteger[], {n}], 1]/n, {n, 100, 1000, 10}], x_ < .5] I want to count the number of times there are occurrences less than .5 but some how I am not specifying the right pattern. Any suggestions on getting right?
- Follow-Ups:
- Re: pattern matching
- From: Bob Hanlon <hanlonr357@gmail.com>
- Re: pattern matching