efficiently testing a list
- To: mathgroup at smc.vnet.net
- Subject: [mg122514] efficiently testing a list
- From: zb <zaeem.burq at gmail.com>
- Date: Sun, 30 Oct 2011 04:25:09 -0500 (EST)
- Delivered-to: l-mathgroup@mail-archive0.wolfram.com
Consider the list of pairs:
List = Table[ {a[i],b[i]} , {i,1,N} ].
or
List = { {a[1],b[1]} , {a[2],b[2]} , {a[3],b[3]} , ... ,
{a[N],b[N]} },
and a given function f[a].
What is the quickest way of testing if all elements of List satisfy
f[a[i]] < b[i].
- Follow-Ups:
- Re: efficiently testing a list
- From: DrMajorBob <btreat1@austin.rr.com>
- Re: efficiently testing a list
- From: Bob Hanlon <hanlonr357@gmail.com>
- Re: efficiently testing a list