MathGroup Archive 2005

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

Search the Archive

Re: Union using SameTest

  • To: mathgroup at smc.vnet.net
  • Subject: [mg61206] Re: [mg61195] Union using SameTest
  • From: curtis <gardyloo at mail.wsu.edu>
  • Date: Wed, 12 Oct 2005 02:44:26 -0400 (EDT)
  • References: <200510120542.BAA09279@smc.vnet.net>
  • Sender: owner-wri-mathgroup at wolfram.com

Hi, Jack,

    I really think it was the misplaced decimal in your list. I found it
(finally) by doing

        Head/@lst

 and got something like {Real, Real, Real, ... , Real, Dot}. Whoops!
      
             C.O.

Jack Goldberg wrote:

>Hi Everyone,
>
>Thanks for all your responses.  I am grateful and somewhat  
>mystified.  The solutions
>SameTest->(Abs[#1-#2]<10^-2&)]   was the first thing I tried!  It  
>didn't work for me - in fact it gave a strange error message -  
>something involving "heads in positions 1 and 2 must be the same".
>This was the reason for my posting.  Well, I tried it again and now  
>it works.  At this point I believe that the error has to do with my  
>reusing certain names over and over with clearing them.  But I am not  
>sure and since I can't reconstruct the error - I'm letting this  
>sleeping dog lie.
>
>Thanks again fellas!
>
>Jack
>
>
>  
>

-- 
|=====
|  Curtis Osterhoudt              
|  gardyloo at mail.wsu.edu                   
|  PGP Key ID: 0x235FDED1                               
|  Please avoid sending me Word or PowerPoint attachments. 
|  http://www.gnu.org/philosophy/no-word-attachments.html 
|=====


  • Prev by Date: Re: Maximum y-value in a list of xy pairs
  • Next by Date: Re: Maximum y-value in a list of xy pairs
  • Previous by thread: Union using SameTest
  • Next by thread: Re: Union using SameTest