Mathematica 9 is now available
Services & Resources / Wolfram Forums / MathGroup Archive
-----

MathGroup Archive 2009

[Date Index] [Thread Index] [Author Index]

Search the Archive

Position problem

  • To: mathgroup at smc.vnet.net
  • Subject: [mg99054] Position problem
  • From: Earl Mitchell <earl.j.mitchell at gmail.com>
  • Date: Sat, 25 Apr 2009 04:51:07 -0400 (EDT)

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] = {}



  • Prev by Date: Re: Jacobi polynomials in Mathematica
  • Next by Date: Re: Plot x to y and y to x
  • Previous by thread: Re: "formatting notebook contents" messages, why so many in
  • Next by thread: Re: Position problem