Services & Resources / Wolfram Forums
MathGroup Archive
*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
  • Subject: [mg25399] List operations
  • From: "Matt Herman" <Henayni at>
  • Date: Fri, 29 Sep 2000 01:06:35 -0400 (EDT)
  • Sender: owner-wri-mathgroup at


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


  • 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) ???!!!!