Re: How to parse equations
- To: mathgroup at smc.vnet.net
- Subject: [mg91631] Re: [mg91621] How to parse equations
- From: "Adriano Pascoletti" <adriano.pascoletti at gmail.com>
- Date: Sat, 30 Aug 2008 01:50:47 -0400 (EDT)
- References: <200808290825.EAA24082@smc.vnet.net>
Map[Variables , eqns] gives {{x[1], y[1], z[1]}, {u[1], x[1], z[1]}, {u[1], z[1]}, {u[1]}} Adriano Pascoletti 2008/8/29 Stuart Nettleton <Stuart.Nettleton at uts.edu.au> > Hi, > I am a bit stuck on how to convert the following set of equations to a > list of variables: > eqns = { > x[1] + y[1] + z[1], > x[1] + 3 z[1] + u[1]^2, > z[1] - u[1] - 16, > u[1] - 5}; > to give.. > {{ x[1], y[1], z[1]},{x[1], z[1], u[1]},{z[1], u[1],}, {u[1]}} > Any thoughts would be appreciated! > Thanks, > Stuart > > -- > UTS CRICOS Provider Code: 00099F > DISCLAIMER: This email message and any accompanying attachments may contain > confidential information. If you are not the intended recipient, do not > read, use, disseminate, distribute or copy this message or attachments. If > you have received this message in error, please notify the sender > immediately and delete this message. Any views expressed in this message > are those of the individual sender, except where the sender expressly, and > with authority, states them to be the views the University of Technology, > Sydney. Before opening any attachments, please check them for viruses and > defects. > >
- References:
- How to parse equations
- From: "Stuart Nettleton" <Stuart.Nettleton@uts.edu.au>
- How to parse equations