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

MathGroup Archive 2011

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

Search the Archive

Re: Fast matrices comparison

  • To: mathgroup at smc.vnet.net
  • Subject: [mg115919] Re: Fast matrices comparison
  • From: "Mr. Wizard" <gleam at flashmail.com>
  • Date: Tue, 25 Jan 2011 06:42:39 -0500 (EST)

JJ,

You may wish to try these.

m1 * Clip[Sign[m1 - m2], {0, 1}]

m1 * (1 - UnitStep[m2 - m1])

Paul 




  • Prev by Date: Re: Fast matrices comparison
  • Next by Date: Re: Need help with Mathematica
  • Previous by thread: Re: Fast matrices comparison
  • Next by thread: Re: Fast matrices comparison