Re: Position problem
- To: mathgroup at smc.vnet.net
- Subject: [mg99082] Re: Position problem
- From: "Sjoerd C. de Vries" <sjoerd.c.devries at gmail.com>
- Date: Sun, 26 Apr 2009 01:39:56 -0400 (EDT)
- References: <gsuisn$ds2$1@smc.vnet.net>
The middle number is 1.0 in stufflocations and 1.1 in steplist. Not
the same therfore so no match.
Cheers -- Sjoerd
On Apr 25, 10:50 am, Earl Mitchell <earl.j.mitch... at gmail.com> wrote:
> Why would this be happening? ln[2] is obviously contained in the list
> produced by ln[1], but the Position function does not find it... any
> suggestions?
>
> ln[1] = Round[stufflocations, .1]
>
> ln[2] = Round[Steplist[[400]][[1]], .1]
>
> Out[1] = {{-6.7, -5.7, 2.3}, {0.5, 8., -0.7}, {1.7, 1., 0.3}, {8.5, 4.2=
,
> -5.}, {1.5,
> 3.6, 5.4}}
>
> Out[2] = {1.7, 1.1, 0.3}
>
> ln[3] = Position[Round[stufflocations, .1], Round[Steplist[[400]][[1]],=
.1]]
>
> Out[3] = {}