Mathematica 9 is now available
Services & Resources / Wolfram Forums
-----
 /
MathGroup Archive
2000
*January
*February
*March
*April
*May
*June
*July
*August
*September
*October
*November
*December
*Archive Index
*Ask about this page
*Print this page
*Give us feedback
*Sign up for the Wolfram Insider

MathGroup Archive 2000

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

Search the Archive

List operations

  • To: mathgroup at smc.vnet.net
  • Subject: [mg25399] List operations
  • From: "Matt Herman" <Henayni at hotmail.com>
  • Date: Fri, 29 Sep 2000 01:06:35 -0400 (EDT)
  • Sender: owner-wri-mathgroup at wolfram.com

Hi,

Suppose I have a list of ordered pairs {{a1,b1},{a2,b2},...,{an,bn}}.
What is an efficient way of pulling out all the pairs such that, if I do 
an operation on the first element in the list, and another on the 
second, and I sum them, they equal some predetermined constant?

For instance, say 3*listpart[[1]]+listpart[[2]]^2

Thanks



  • Prev by Date: NDSolve : Stopping condition
  • Next by Date: minimizing f(x,y) ???!!!!
  • Previous by thread: NDSolve : Stopping condition
  • Next by thread: minimizing f(x,y) ???!!!!