MathGroup Archive 1996

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

Search the Archive

Re: More "Logical" functions?

  • To: mathgroup at smc.vnet.net
  • Subject: [mg4189] Re: [mg4144] More "Logical" functions?
  • From: Allan Hayes <hay at haystack.demon.co.uk>
  • Date: Tue, 11 Jun 1996 00:55:19 -0400
  • Sender: owner-wri-mathgroup at wolfram.com

sherod at boussinesq.Colorado.EDU (Scott Herod)
in [mg4144] More "Logical" functions?

wants to remove x->0 from
   {{ x -> 0 },  {x -> 0, y -> 5 },  {x -> 0, z -> -2}}

Scott:

DeleteCases[
   {{ x -> 0 },  {x -> 0, y -> 5 },  {x -> 0, z -> -2}},
   x->0,
   {2}
]

	{{}, {y -> 5}, {z -> -2}}
	
Allan Hayes
hay at haystack.demon.co.uk
08-06-96

==== [MESSAGE SEPARATOR] ====


  • Prev by Date: Mathematica graphics into TeX
  • Next by Date: Mathematica-Matlab
  • Previous by thread: More "Logical" functions?
  • Next by thread: Re: More "Logical" functions?