MathGroup Archive 2007

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

Search the Archive

Re: Number of Differing Digits & Another Problem (want to see different ways it can be done)


BitD[a_, b_, n_] := Count[
     Equal @@@ Thread[IntegerDigits[#, 2, n] & /@ {a, b}], True]



  • Prev by Date: Re: Minimize[] Problem
  • Next by Date: Re: [6] LinearAlgebra`MatrixManipulation` LinearEquationsToMatrices
  • Previous by thread: Re: Number of Differing Digits & Another Problem (want to see different ways it can be done)
  • Next by thread: Re: Number of Differing Digits & Another Problem (want to see different ways it can be done)